question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HueEmulation binding not working with Docker

See original GitHub issue

Seems that the way this binding was thought, is not going to work with Docker. I’m getting the following log messages:

23:13:16.069 [TRACE] [tion.internal.HueEmulationUpnpServer] - Got SSDP Discovery packet from 172.17.0.3:50883
23:13:16.070 [TRACE] [tion.internal.HueEmulationUpnpServer] - Sending to 172.17.0.3 : HTTP/1.1 200 OK
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://172.17.0.3:8080/api/discovery.xml
SERVER: FreeRTOS/7.4.2 UPnP/1.0 IpBridge/1.10.0
ST: urn:schemas-upnp-org:device:basic:1
USN: uuid:601df881-c2ed-476e-a741-1fa0313d9b39::urn:Belkin:device:**

Even after setting the property discoveryIp, the binding is assigning an internal docker ip which is obviously not exposed and thus it will never going to be reach out by the Amazon Echo.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:17 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jrbloemhofcommented, Mar 28, 2017

I didn’t have a chance to really look at this in-depth, but I would assume it’s the same issue as was recently solved for Sonos Controller (see https://github.com/SoCo/SoCo/pull/444 ) - if the Hue Emulator is auto-detecting it’s own IP address, it will be sending out the Docker container’s local IP address rather than the host’s ethernet IP, so it gets broadcast messages from devices, but then points the device to connect to a wrong / unreachable IP.

0reactions
bradleyscottcommented, Feb 16, 2017

I’m also finding the same problem. I was previously running Home Assistant in docker and had some issues but resolved them when I found Hue was looking to find the emulator on port 80. Has anyone resolved this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to get Hue emulation working inside a docker container?
It seems like the Hue emulation binding is having problems with this setup though. Any ideas how to get it working? 4. 4...
Read more >
HueEmulation announces wrong IP when run in Docker ...
I recently ran into issues with my Hue lamps and deleted from for troubleshooting from the Alexa App and wanted them to get...
Read more >
[hueemulation] Could not send UPNP response - Bindings
I have started to play around with Hue emulation. Mainly because I found some nice features I want to use in my entire...
Read more >
Docker Emulated Hue UPNP not working - Configuration
Looks like UPNP may bind to random address at system start. At least that is what happens in other software. This maybe why...
Read more >
Docker port binding not working as expected - Stack Overflow
This is not an answer to this specific question. It is a possible answer to "port mapping doesn't work". I've been caught by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found