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:
-
Platform: Supabase Edge Functions (hosted in Europe)
-
Integration ID: 21834
-
Test Mode: Yes
-
API Endpoint: https://www.paynow.co.zw/interface/remotetransaction
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:
-
API calls work fine from my local machine (Zimbabwe) -
Authentication is working (no 401 errors) -
Function deployment is successful
What Doesn’t Work:
-
API calls from Supabase Edge Functions (Europe) -
Connection gets reset immediately
Questions:
-
Are there any geographic restrictions on the Paynow API?
-
Do you have any firewall rules that might block European IP ranges?
-
Are there any specific headers or User-Agent requirements?
-
Has anyone else experienced similar issues with cloud functions?