none
Occasional 401s when attempting to read Azure based storage

    Question

  • Perhaps a couple of times a week and this has been going on for a long time, I receive this error:

    The remote server returned an error: (401) Unauthorized.

    The application is a desktop Windows Service that inserts, updates, and deletes entries from Azure Storage. The application runs behind a corporate firewall.  Note: This application is making these storage calls virtually every minute, but then... I start getting these errors.

    My current solution is to terminate the local Windows Service and simply reconnect. This generally fixes the problem.

    Regardless of having a workaround, these disconnects I'm forced to use disruptive to what we need. We can have 10,000 successful transactions in a row but then, 401s. 

    Why?

    Saturday, April 30, 2016 1:49 PM

All replies

  • Hi,

    Thank you for posting in here.
    We are currently researching on this and will keep you posted with the findings.
    We appreciate your patience.

    Regards,
    Malar.

    Sunday, May 1, 2016 6:00 AM
  • Hi,

    Have you enable Azure Storage Analytics?
    If yes, the logs would be able to help us isolate the issue and troubleshoot it further.
    Also, a fiddler trace would help.
    Fiddler is a useful tool for analyzing the HTTP and HTTPS traffic between your client application and the Azure storage service you are using.

    Regards,
    Malar.

    Tuesday, May 3, 2016 8:27 AM