Azure Function App getting ConnectionResetError when connecting to Zendesk API | The place for Zendesk users to come together and share
Skip to main content
Newcomer
August 27, 2026
Question

Azure Function App getting ConnectionResetError when connecting to Zendesk API

  • August 27, 2026
  • 0 replies
  • 13 views

Our Azure Function App fails to connect to Zendesk with the following error:

ConnectionResetError(104, 'Connection reset by peer')

This happens on every request to our Zendesk subdomain — including a simple unauthenticated GET request:

requests.get("https://{subdomain}.zendesk.com/api/v2/tickets.json", timeout=10)

 

  • The same code with the same credentials works fine locally
  • Our Azure NSG allows all outbound internet traffic
  • No IP Restrictions are configured in Zendesk Admin Center (confirmed by our Zendesk admin)
  • Our Zendesk admin confirmed OAuth is configured correctly and tokens can be generated
  • Other third-party APIs (e.g. ZOHO) work perfectly from the same Azure environment using the same requests library
  • Even a basic unauthenticated GET to Zendesk fails — ruling out any OAuth or credential issue

Has anyone experienced this before? Is there a known solution or a way to get Azure datacenter IPs whitelisted on Zendesk's infrastructure level?