Dear ERPGulf Support Team,
I am experiencing connection issues with the ZATCA integration in our ERPNext system. This integration was working perfectly until recently, but has suddenly stopped working without any configuration changes on our end.
System Details:
- ERPNext Version: 14.33.1
- ZATCA ERPGulf App Version: Latest
- Environment: Self-hosted on VPS (Hostinger)
Current Issue:
We are consistently receiving timeout errors when:
- Submitting invoices to ZATCA
- Creating CSR
- Any attempt to connect to ZATCA servers
Error Message:
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='gw-fatoora.zatca.gov.sa', port=443): Max retries exceeded with url: /e-invoicing/core/compliance (Caused by ConnectTimeoutError(, 'Connection to gw-fatoora.zatca.gov.sa timed out. (connect timeout=30)'))
Troubleshooting Steps Attempted:
-
Network Diagnostics:
- DNS resolution works correctly (resolves to 185.117.128.50 and 185.117.129.50)
- Can reach ZATCA’s server (gets 405 error in browser)
- Traceroute shows the connection path
-
System Level:
- Cleared DNS cache
- Flushed IP and routing tables
- Restarted all services
- Verified no firewall issues
-
Application Level:
- Completely uninstalled and reinstalled the ZATCA app
- Verified all settings are correct
- Confirmed no recent configuration changes
- Tested with different timeout values
Important Notes:
- The issue occurs consistently across all attempts
- The same error happens from both our VPS and local machines
- Other HTTPS services work fine
- No changes were made to our configuration before this started
- This is blocking our entire invoicing process
Our team urgently needs this resolved as it’s blocking our business operations. Any assistance or guidance would be greatly appreciated.
Additional Details:
- Tax Number (TIN): 302259322100003
- Company Name: Elite Resources Center
- Previously working configuration remains unchanged
Please let me know if you need any additional information or logs to assist with troubleshooting this issue.
Best Regards,
Sarib Arshad Khan.