Azure Maps give error: ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host

Edward Blinov 1 Reputation point
2020-08-12T23:54:49.86+00:00

I have an intermittent problem with connection to my Azure Maps (https://atlas.microsoft.com/). When I run my script (python or c#) making get requests to Azure Maps - 0-5 connections may be ok - but others -give error: "ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host."
If I run the same code from my computer through vpn (another IP) - all is ok.
If I run the same code from another computers in my home (same IP) - all is ok.
I reinstalled my comp totally from factory settings - nothing changed.
Edward

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
737 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 34,861 Reputation points
    2020-08-13T08:17:41.4+00:00

    @Edward Blinov Welcome to Q&A forum!
    It doesn't look like an issue from Azure Maps. Looking into this error, it appears to be a common reason for it is closing the connection before the response has been completely read. As you have mentioned, it is working with vpn. Could you please confirm, if there is any proxy configuration enabled and you are trying this from inside a firewalled corporate network?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.