-
Notifications
You must be signed in to change notification settings - Fork 5
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
network issue talking to lights (after discovery) #2
Comments
Oh. My resolv.conf actually does have |
@vvuk huh that's ✨ weird ✨ - I'm tempted to spin up an Ubuntu VM to test this (because I haven't ran into issues on NixOS or macOS), and I'm wondering if it's potentially a Go issue. |
If you're using the pre-compiled binary, I'm wondering if the problem might be with CGO being disabled and something related to network configuration being ignored. |
Could be -- if Go is ignoring libc (like it might) and going straight to DNS, because the port 53 DNS proxy server seems to behave differently. Would it be possible as a workaround to add a command line flag to let you explicitly specify the IP address of the light to communicate with? |
Yeah that would be a pretty ok workaround - and would be a nice performance benefit to avoid multiple discovery steps if automating stuff |
Going to cut a release with #3 and some support for providing an IP as a fallback hopefully today - Sorry for the delay I was swamped at work. |
@vvuk |
same problem as vvuk has with version 0.0.3 192.168.1.100 is the fixed IP address of the light |
FWIW I ran into something similar to this on PopOS! the other day, bc .local resolution is somewhat broken on my network (my ISP provided fritzbox maps everything to *.fritz.box). My nixos machine has functional .local by other means though. |
You might consider looking at how your
|
I have this same issue, not sure what ended up fixing this for other users? Manjaro default install.
|
@jyavorska - what does |
I can discover my light via discovery, but I'm not quite sure what's going on when actually trying to manipulate:
Note that I can ping
elgato-key-light-air-9240.local.
without problems from the machine (with IP192.168.50.52
); I can also open the URL given by the error and get a json doc in my browser.(Thanks for building this!)
The text was updated successfully, but these errors were encountered: