ualex73 / docker-s0pcm-reader

S0PCM-Reader
Apache License 2.0
4 stars 2 forks source link

S0PCM Reader fails with message: ERROR: MQTT failed to connect to broker 'Connection Refused: unacceptable protocol version.', retrying. #7

Closed RSHKwee closed 1 year ago

RSHKwee commented 1 year ago

Since 11 februari 2023 the s0pcm-reader fails to work. I have performed a restart of HA and this is the logging:

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/config.sh cont-init: info: /etc/cont-init.d/config.sh exited 0 s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started 2023-02-15 11:28:35,142 ERROR: MQTT failed to connect to broker 'Connection Refused: unacceptable protocol version.', retrying. 2023-02-15 11:29:34,267 ERROR: MQTT failed to connect to broker 'Connection Refused: unacceptable protocol version.', retrying. 2023-02-15 11:32:54,783 ERROR: MQTT failed to connect to broker 'Connection Refused: unacceptable protocol version.', retrying. 2023-02-15 12:16:19,643 ERROR: MQTT failed to connect to broker 'Connection Refused: unacceptable protocol version.', retrying.

How can I solve this? I have performed a Rollback to the state of 10 feb 2023. This is the logging I get:

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/config.sh cont-init: info: /etc/cont-init.d/config.sh exited 0 s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service legacy-services: starting s6-rc: info: service legacy-services successfully started

And it works now....

With kind regards,

René Kwee

ualex73 commented 1 year ago

What did you upgrade on the 10/11-Feb? Seems an issue with your MQTT broker and/or version?

I upgrade the docker version to use paho-mqtt 1.6.1 (i was using 1.5.1 before). I am not sure it will help, but it will not hurt anyway.

RSHKwee commented 1 year ago

It is solved now, Darkrain has given me the crucial tip. I updated HA to the newest version.

Thanks for the follow-up. I did not update a thing…. But I was experimenting with Homey - HA connection.. (Which is also working now)