Skip to content

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