Did you find this article helpful?
Proxy Auto Detect not working when changing networks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Plan
Premium
Country
US
Device
PC
Operating System
Windows 10
My Question or Issue
Between the home network and work, the proxy setting has to be changed. I have a powershell script that updates proxy settings before putting the PC to sleep to travel to or from the office. When the PC wakes, all Proxy aware applications (browsers, Windows Store apps, etc.) all work properly with the updated settings except for Spotify. I have to restart Spotify for it to notice the proxy configuration change even though Spotify is configured for Auto Detect. It would seem that Spotify only checks this on initial launch and not when the network is changed or the PC wakes from sleep. It would seem that the Mac side of the house has the same problem https://community.spotify.com/t5/Desktop-Mac/Mac-Proxy-set-manually-works-only-after-program-relaunc...
Windows provides a hookable event for return from sleep. You already have a function to restart Spotify when the proxy settings are changed (which is kind of silly, no reason this can't be dynamically handled like most other proxy aware applications), how about using your existing restart as the handler for a return event? Or even better, if you determine you are offline (which the app already does), if Auto Detect is configured, recheck the proxy config in the registry and have the app handle that?
Just my $0.02 worth... I write a bit of code for work, this part isn't rocket science...
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page