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

Version 1.6.2 websockets error in Windows: "Error in poll: No such file or directory. " #1300

Closed
gcser opened this issue May 30, 2019 · 5 comments

Comments

@gcser
Copy link

gcser commented May 30, 2019

Hi!

I downloaded and installed the 1.6.2 x64 version (binaries). After enabling the websockets, the log file fills up with the error message: "Error in poll: No such file or directory. ". In a few seconds a thousands of error messages logged.
If I comment out the websockets support, this error does not happens.
What could be wrong?

@ralight
Copy link
Contributor

ralight commented May 31, 2019

I'm not sure, and I can't get access to a Windows machine to test it for about a week I'm afraid.

@corelgott
Copy link

+1 - same here!

@corelgott
Copy link

After testing around quite alot, I think I've figured a configuration that works:

port 1883
protocol mqtt
socket_domain ipv4

listener 9001
protocol websockets
socket_domain ipv4

If I remove the protocol mqtt part, it breaks again. So for some reason there needs to be both. I'm not 100% sure if the socket_domain part really is necessary, but for my usecase it surfices.

@gcser
Copy link
Author

gcser commented Jun 6, 2019

corelgott: thanks for the solution, I've tested it, and it works! :)

@gcser gcser closed this as completed Jun 6, 2019
@gemignani
Copy link

Same works for me by adding socket_domain ipv4.
Just for future reference, I had a working eclipse-mosquitto docker image in my ubuntu server 18.04 LTS until I removed ipv6, so seems like the docker can't listen to ipv6 sockets and just fails.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants