AzureStorageExplorer icon indicating copy to clipboard operation
AzureStorageExplorer copied to clipboard

Azure Storage Explorer uses proxy connection when i disabled it.

Open purpler3m opened this issue 1 year ago • 5 comments
trafficstars

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

purpler3m avatar Aug 02 '24 17:08 purpler3m

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?

craxal avatar Aug 02 '24 17:08 craxal

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.

purpler3m avatar Aug 02 '24 17:08 purpler3m

@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

MRayermannMSFT avatar Aug 02 '24 22:08 MRayermannMSFT

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.

purpler3m avatar Aug 02 '24 23:08 purpler3m

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

craxal avatar Sep 18 '24 21:09 craxal

Investigate to find a viable solution, then revisit for further plans. Start this early.

craxal avatar Mar 20 '25 23:03 craxal

Easy to update. The Node process that launches AzCopy already has certain environment variables set with the app's proxy settings, so the code just needs to ignore the AzCopy sepcific variable and copy the environment variables to the AzCopy process.

craxal avatar May 22 '25 18:05 craxal