none
Azure Storage Blob : https://(storageAccountName).blob.core.windows.net/vhd?restype=container&comp=list not working using proxy

    Question

  • For getting the blob container details we are using the below mentioned REST API. Vhd is the blob container name.

    https://(storageAccountName).blob.core.windows.net/vhd?restype=container&comp=list

    When we use proxy server details (example:SQUID Proxy) to access the storage REST API calls, we are getting the below mentioned error.

    HttpResponse for Blobs:: 

    ResourceNotFoundThe specified resource does not exist. RequestId:6dc7e6f2-0001-000d-30f9-d56eb3000xxx

    If we access the same rest api without proxy server, we are getting the valid response and it's working.

    help me on how to troubleshoot this.

    With Proxy it's not working and without proxy it's working.


    Tuesday, July 5, 2016 3:46 AM

All replies

  • Hi,

    Thank you for posting here!

    In Azure Storage SDK for Java version setting http proxy is not provided directly by the API.

    It looks like the only way you can specify the proxy is by setting the Java System properties:

    For more information, refer below link:

    https://github.com/Azure/azure-storage-java/issues/48

    Regards,

    Vikranth S.

    -----------------------------------------------------------------------------------------------------------------------Please remember to click "Mark as Answer" on the post that helps you, this can be beneficial to other community members reading the thread. And Vote as Helpful.


    Tuesday, July 5, 2016 1:45 PM
    Moderator
  • Hi

    we are not using java sdk which is provided by azure.

    We are using apache async libraries for connecting via proxy. Here proxy is working for all the other REST API Calls.

    For example, for the below mentioned rest api, it's working but only for container/blog it's not working

     https://management.azure.com/subscriptions/subscriptionId/resourceGroups/v2_network_resource_group/providers/Microsoft.Storage/storageAccounts/ektestresource/listkeys?api-version=2015-06-15

    NOT Working : 

    https://{storageAccountName}.blob.core.windows.net/system?restype=container&comp=list

    Tuesday, July 5, 2016 2:45 PM