Connection Reset Error from Supabase Edge Functions


#1

Hi Paynow team,

I’m experiencing a “Connection reset by peer (os error 104)” error when trying to call the Paynow API from a Supabase Edge Function. Here are the details:

Environment:

Error Details:
error sending request for url (https://www.paynow.co.zw/interface/remotetransaction): client error (Connect): Connection reset by peer (os error 104)

What Works:

  • :white_check_mark: API calls work fine from my local machine (Zimbabwe)

  • :white_check_mark: Authentication is working (no 401 errors)

  • :white_check_mark: Function deployment is successful

What Doesn’t Work:

  • :x: API calls from Supabase Edge Functions (Europe)

  • :x: Connection gets reset immediately

Questions:

  1. Are there any geographic restrictions on the Paynow API?

  2. Do you have any firewall rules that might block European IP ranges?

  3. Are there any specific headers or User-Agent requirements?

  4. Has anyone else experienced similar issues with cloud functions?


#2

Good morning @mukudzei

Paynow does not block any IPs by default. We only restrict access if there has been abuse from a particular IP.

May you kindly inbox your IP address so we can check further?