microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
372 stars 85 forks source link

Azure Storage Explorer uses proxy connection when i disabled it. #8089

Open purpler3m opened 1 month ago

purpler3m commented 1 month ago

Preflight Checklist

Storage Explorer Version

1.34.0

Regression From

No response

Architecture

x64

Storage Explorer Build Number

No response

Platform

Windows

OS Version

Windows 11

Bug Description

I am trying to use storage explorer to download some files from a blob. I have disable my OS proxy settings, i have disable proxy settings via registry key as well, Under the settings of storage explorer i have it setup to do not use proxy. Also under settings -> proxy -> i have it with do not use proxy. Yet the connection fails due a failed connection "proxyconnect tcp"

Steps to Reproduce

  1. Launch explorer
  2. Sign in to account
  3. Disable proxy settings to use do not use proxy
  4. Under settings proxy setup to not use proxy
  5. OS proxy settings turned off
  6. registry settings proxy settings set to 0

Actual Experience

I am unable to download anything because the connection fails due to trying to use the proxy settings.

Expected Experience

I want storage explorer to not use proxy settings.

Additional Context

No response

craxal commented 1 month ago

Does the problem persist if you close and relaunch Storage Explorer after changing to "Do not use proxy"?

Does the problem persist if you change it to "Use system proxy" and your OS proxy is disabled?

Can you share your app logs here?

purpler3m commented 1 month ago

Yes, I tried closing and relaunching after changing do not use proxy and the problem persist.
I just tried using "use system proxy" and my OS proxy disable but when i check the logs .azcopy logs i can see it is still attempting to go through proxy.

MRayermannMSFT commented 1 month ago

@purpler3m unfortunately there is a disconnect between how Storage Explorer handles proxies and how AzCopy handles proxies due to the two tools being implemented using different technologies. If you have successfully disabled Storage Explorer from using proxy, but you still see the AzCopy operations using proxy, then look for and check the "Disable AzCopy Proxy Usage" setting:

Image

purpler3m commented 1 month ago

You are correct. That fix my issues. Disabling the AZCopy from using proxy worked. I left Storage Explorer Proxy settings with auto manage with use system proxy, even though my system doesnt have any proxy. Thank you.

craxal commented 1 week ago

Let's discuss whether it makes sense to merge this setting with the rest of Storage Explorer's proxy settings.