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

Error when starting with websockets #1093

Open
rosshigh opened this issue Dec 28, 2018 · 3 comments
Open

Error when starting with websockets #1093

rosshigh opened this issue Dec 28, 2018 · 3 comments

Comments

@rosshigh
Copy link

I've installed the mosquitto broker on windows server 2012 and I'm able to run and test it successfully with the default config. However, if I put the following two lines in the config file:

listener 8080
protocol websockets

I get the following error (?) that repeats continuously and the server refuses connections:

1546018788: Error in poll: No error.

Any suggestions would be appreciated,

Ross

@ralight
Copy link
Contributor

ralight commented Feb 13, 2019

Sorry for the lack of earlier reply, are you able to try the 1.5.6 version instead?

@gguerreromx
Copy link

gguerreromx commented Feb 22, 2019

Installed version 1.5.7 in Windows 10 v1810.

Using "log_type all" shows the described message every cycle upon starting.

After a successful ws connection, the message stops. Disconnecting and leaving 0 connected devices, the message starts again.

@ralight
Copy link
Contributor

ralight commented Sep 5, 2019

I've finally figured out the cause of this, but there is no solution yet. If you define a second listener that is not websockets the problem disappears.

This will do that, and make the new listener only accessible on localhost:

listener 1883 127.0.0.1

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

3 participants