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

EHOSTUNREACH from Docker container on Windows #35

Open
robross0606 opened this issue Nov 30, 2020 · 2 comments
Open

EHOSTUNREACH from Docker container on Windows #35

robross0606 opened this issue Nov 30, 2020 · 2 comments

Comments

@robross0606
Copy link

robross0606 commented Nov 30, 2020

I followed all the instructions as indicated on the README and DOCKER.md files. My container starts up and clearly receives both configuration messages from the MBS SmartApp, as well as from the MQTT server. However, it appears to attempt to change a device in Smartthings and get a bounceback due to EHOSTUNREACH:

2020-11-30 02:10:03 AM info: MQTT --> ST - Topic: [smartthings/Side Door/contact/cmd][closed] [Side Door][contact][closed]
2020-11-30 02:10:05 AM error: Error from SmartThings Hub: Error: connect EHOSTUNREACH 172.18.10.3:39500
2020-11-30 02:10:05 AM error: {
"errno": -113,
"code": "EHOSTUNREACH",
"syscall": "connect",
"address": "172.18.10.3",
"port": 39500
}
2020-11-30 02:10:05 AM error: undefined

This set of messages happens once each time a device status is attempted to set on Smartthings hub (172.18.10.3). I double-checked the firewall rule setup in Windows and even tried disabling the firewall completely. This feels like a routing issue in Docker Desktop and WSL2, but you have instructions for using it this way so I'm not sure what is wrong.

@sgupta999
Copy link
Owner

sgupta999 commented Nov 30, 2020 via email

@robross0606
Copy link
Author

I can't find where you mention that. If you happen to find the URL, I really appreciate it.

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

No branches or pull requests

2 participants