-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Isssue with config.json #67
Comments
Try `mqtt://127.0.0.1` for the host.
…On June 12, 2017 at 4:50:26 PM, fa505305 ***@***.***) wrote:
Hello everybody,
My hub was not found and i am trying to force it with "hub_ip".
but this is still not working, could somebody check the config.json and
help?
here it is: config.json
{
"hub_ip": "10.10.10.11", "mqtt_host": "http://127.0.0.1",
"mqtt_options": {
"port": 1883,
"username": "someuser",
"password": "somepassword",
"rejectUnauthorized": false,
"hub_ip": "10.10.10.11"
}
}
is this ok? if yes then i do not know where to search. the hub is
reachable from the container
thank you in advance
cheers
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#67>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAABBFeCFcvgkxxtDugOowt0H44U0MtDks5sDaSSgaJpZM4N3qqg>
.
|
Hi, thank you in advance |
Oh if you're running Harmony API in Docker, you have to use host networking for discovery to work. Manually setting the hub host doesn't work. |
host network is bridged so host IP and container IP are the same. access to different services via different ports. |
Oh so even the host is on a different subnet from the harmony hub? Yeah that's going to be an issue. UPnP won't work across subnets. I can try to get manual hub IP settings back in there, but I can't make any promises of when. |
yes correct and this is due to the nature of the hub that does not have an ethernet connection. I have different vlan for different services ... even at home and WIFI is separated ;-) |
It would be very nice if we could get manual hub IP. |
I have the same problem, but in the same network. With Docker and i use host networking (--net=host) but the Hub are not discover. |
Work for me with this docker : https://hub.docker.com/r/jawilson/harmony-api/ and config like that : |
Hello everybody,
My hub was not found and i am trying to force it with "hub_ip".
but this is still not working, could somebody check the config.json and help?
here it is: config.json
{
"hub_ip": "10.10.10.11", "mqtt_host": "http://127.0.0.1",
"mqtt_options": {
"port": 1883,
"username": "someuser",
"password": "somepassword",
"rejectUnauthorized": false,
"hub_ip": "10.10.10.11"
}
}
is this ok? if yes then i do not know where to search. the hub is reachable from the container
thank you in advance
cheers
The text was updated successfully, but these errors were encountered: