After azure deployment A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Palanisamy, Deepak 0 Reputation points
2024-03-20T11:25:34.8633333+00:00

I am consuming the third party Api and local its working fine. After azure deployment getting A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

Whether I need to do any configuration in azure portal

Verified firewall and networking side all good so far

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,902 questions
{count} votes

3 answers

Sort by: Most helpful
  1. hossein jalilian 2,915 Reputation points
    2024-03-20T23:55:48.86+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    I believe that following one of these steps can help resolve the issue:

    1. Enable detailed logging for API calls to identify any issues with the URI or request parameters.
    2. Verify DNS resolution to ensure the correct mapping of the API hostname to its IP address.
    3. Check for any API access limitations, such as IP-based restrictions, and address them accordingly.

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful


  2. Daudau_HN 1 Reputation point
    2024-03-21T03:59:27.1433333+00:00
    1. verify that you whitelisted the outbound IP of the web app on the party endpoint
    2. verify the you can tcpping from kudu to the endpoint
    3. check if any SNAT port
    4. thread starvation
    0 comments No comments

  3. Palanisamy, Deepak 0 Reputation points
    2024-04-15T11:51:33.9666667+00:00

    Hi Team,

    Could you please schedule the call to discuss further on the above mentioned issue?

    Thanks