|
|
Re: mosquitto refuses connection sometimes [message #1838474 is a reply to message #1838437] |
Thu, 25 February 2021 19:12 |
Sven Schwarz Messages: 2 Registered: February 2021 |
Junior Member |
|
|
Roger Light wrote on Thu, 25 February 2021 00:00Hi Sven,
It's a bit difficult to say anything without more details. What version of Mosquitto are you using, and on what platform (Windows/Linux/...)? Does the problem go away by itself, or do you have to restart Mosquitto? Are the clients on a different computer to the broker? Is there anything interesting about the networking which could be causing the problem?
Regards,
Roger
Hi Roger,
thanks for your interest on my problem.
I know it's not much information by now so here more:
I run mosquitto on a raspberry pi running arch linux.
The problem goes away and comes back without any pattern.
I tried to set the shortest republish interval to something bigger than one or two minutes, since I was afraid the there where too much publishes from this node but that did not change anything.
It is possible that 8 of 10 messages work an 2 are denied, but also 8 of 10 denials are possible.
I tried to set the log type to debug to see more in the mosquitto log file. But there is nothing about the refused connections. I can see this only from the client side.
The client is connected via wifi to the network. I cannot see any problems there. My ssh connection to the client from my notebook is stable.
All my shelly devices work fine and I can't see any similar behavior there.
I use node-red to control all devices and this also is working without outages.
What's confusing me is, that I cannot reproduce these "refused connections" sending the same mosquitto_pub messages from my notebook. So it has to be a problem of this one client.
If the wifi connection was bad, I would expect to see a timeout before an error but the denial comes
immediately.
I'm running a bit out of ideas what else to try to analyse the problem.
Regards
Sven
|
|
|
Powered by
FUDForum. Page generated in 0.03052 seconds