Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable HTTP proxy #173

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

benbucksch
Copy link

@benbucksch benbucksch commented May 22, 2020

Fixes #171

As shown in Bug #171, the HTTP proxy support is a) only completely broken, and b) makes no sense in this case. The proxy should not be used to contact a device on the local network. And the Hue bridge won't use a proxy to contact the Hue server, so neither should we, to be consistent.

This disables the proxy when making requests to the local bridge and the Hue server.

This fixes the code for me. Without this fix, everything simply fails when a proxy is configured for HTTPS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Discovery and bridge access fail with 501 when using a HTTP proxy
1 participant