Closed r4m3u5 closed 5 years ago
Same here. My wired-gateway is not connected after the upgrade.
Then please check the content of /var/log/messages
and see which reason it outputs for restarting hs485d.
A bit more detail from /var/log/messages:
# cat /var/log/messages | grep hs485
May 11 18:19:24 homematic-ccu2-2 user.err monit[911]: 'hs485d' failed protocol test [DEFAULT] at [localhost]:32000 [TCP/IP] -- Connection refused
May 11 18:19:24 homematic-ccu2-2 user.info monit[911]: 'hs485d' trying to restart
May 11 18:19:24 homematic-ccu2-2 user.info monit[911]: 'hs485d' restart: '/etc/init.d/S60hs485d restart'
May 11 18:19:24 homematic-ccu2-2 user.info hs485d: Using configuration file: /var/etc/hs485d.conf
May 11 18:19:26 homematic-ccu2-2 user.err hs485d: UnifiedLanCommController::connect(): Could not connect.
May 11 18:19:27 homematic-ccu2-2 user.crit hs485d: Could not connect to HomeMatic Lan Gateway with IP Address 192.168.222.171
May 11 18:19:42 homematic-ccu2-2 user.err monit[911]: 'hs485d' service restarted 1 times within 1 cycles(s) - exec
May 11 18:19:42 homematic-ccu2-2 user.info monit[911]: 'hs485d' exec: '/bin/triggerAlarm.tcl hs485d restarted WatchDog-Alarm'
May 11 18:19:42 homematic-ccu2-2 user.info monit[911]: 'hs485d' process is running after previous restart timeout (manually recovered?)
May 11 18:20:00 homematic-ccu2-2 user.err monit[911]: 'hs485d' failed protocol test [DEFAULT] at [localhost]:32000 [TCP/IP] -- Connection refused
May 11 18:20:00 homematic-ccu2-2 user.info monit[911]: 'hs485d' trying to restart
May 11 18:20:00 homematic-ccu2-2 user.info monit[911]: 'hs485d' restart: '/etc/init.d/S60hs485d restart'
May 11 18:20:00 homematic-ccu2-2 user.info hs485d: Using configuration file: /var/etc/hs485d.conf
May 11 18:20:02 homematic-ccu2-2 user.err hs485d: UnifiedLanCommController::connect(): Could not connect.
May 11 18:20:03 homematic-ccu2-2 user.crit hs485d: Could not connect to HomeMatic Lan Gateway with IP Address 192.168.222.171
May 11 18:20:18 homematic-ccu2-2 user.err monit[911]: 'hs485d' service restarted 1 times within 1 cycles(s) - exec
May 11 18:20:18 homematic-ccu2-2 user.info monit[911]: 'hs485d' exec: '/bin/triggerAlarm.tcl hs485d restarted WatchDog-Alarm'
May 11 18:20:18 homematic-ccu2-2 user.info monit[911]: 'hs485d' process is running after previous restart timeout (manually recovered?)
Well, obviously hs485d cannot connect to your LAN gateway with the IP 192.168.222.171
@jens-maus
Pretty sure I'm having a Déjà-vu here ...didn't we have the same problem a few versions in the past as well? I can't remember what the fix was though ... darn ...
Yeah well, no issue with v3.45.7.20190504 and I've got it on 2 different RPIs with different gateways.
same here, works after a downgrade. tested on 2 different systems
# cat /var/log/messages | grep hs485
May 11 19:07:50 RPI3-CCU-2 user.info monit[911]: 'hs485d' process is running after previous restart timeout (manually recovered?)
May 11 19:08:08 RPI3-CCU-2 user.err monit[911]: 'hs485d' failed protocol test [DEFAULT] at [localhost]:32000 [TCP/IP] -- Connection refused
May 11 19:08:08 RPI3-CCU-2 user.info monit[911]: 'hs485d' trying to restart
May 11 19:08:08 RPI3-CCU-2 user.info monit[911]: 'hs485d' restart: '/etc/init.d/S60hs485d restart'
May 11 19:08:12 RPI3-CCU-2 user.err hs485d: UnifiedLanCommController::connect(): Could not connect.
May 11 19:08:13 RPI3-CCU-2 user.crit hs485d: Could not connect to HomeMatic Lan Gateway with IP Address 10.0.6.21
May 11 19:08:26 RPI3-CCU-2 user.err monit[911]: 'hs485d' service restarted 1 times within 1 cycles(s) - exec
May 11 19:08:26 RPI3-CCU-2 user.info monit[911]: 'hs485d' exec: '/bin/triggerAlarm.tcl hs485d restarted WatchDog-Alarm'
May 11 19:08:26 RPI3-CCU-2 user.info monit[911]: 'hs485d' process is running after previous restart timeout (manually recovered?)
May 11 19:08:44 RPI3-CCU-2 user.err monit[911]: 'hs485d' failed protocol test [DEFAULT] at [localhost]:32000 [TCP/IP] -- Connection refused
May 11 19:08:44 RPI3-CCU-2 user.info monit[911]: 'hs485d' trying to restart
May 11 19:08:44 RPI3-CCU-2 user.info monit[911]: 'hs485d' restart: '/etc/init.d/S60hs485d restart'
May 11 19:08:48 RPI3-CCU-2 user.err hs485d: UnifiedLanCommController::connect(): Could not connect.
May 11 19:08:49 RPI3-CCU-2 user.crit hs485d: Could not connect to HomeMatic Lan Gateway with IP Address 10.0.6.21
May 11 19:09:02 RPI3-CCU-2 user.err monit[911]: 'hs485d' service restarted 1 times within 1 cycles(s) - exec
May 11 19:09:02 RPI3-CCU-2 user.info monit[911]: 'hs485d' exec: '/bin/triggerAlarm.tcl hs485d restarted WatchDog-Alarm'
May 11 19:09:02 RPI3-CCU-2 user.info monit[911]: 'hs485d' process is running after previous restart timeout (manually recovered?)
May 11 19:09:20 RPI3-CCU-2 user.err monit[911]: 'hs485d' failed protocol test [DEFAULT] at [localhost]:32000 [TCP/IP] -- Connection refused
May 11 19:09:20 RPI3-CCU-2 user.info monit[911]: 'hs485d' trying to restart
May 11 19:09:20 RPI3-CCU-2 user.info monit[911]: 'hs485d' restart: '/etc/init.d/S60hs485d restart'
May 11 19:09:24 RPI3-CCU-2 user.err hs485d: UnifiedLanCommController::connect(): Could not connect.
May 11 19:09:25 RPI3-CCU-2 user.crit hs485d: Could not connect to HomeMatic Lan Gateway with IP Address 10.0.6.21
Please state which Pi Models you use for your tests.
I tested with an Raspberry Pi 3B (non plus)
In my case it is a rpi3B ( non +).
Ok, then this could be the issue. Already building a version with a downgraded kernel for you guys to test. I will send you the link for the test, so please keep tuned so that you can test it quickly and give feedback accordingly so that I can replace the current rpi3 image.
Both of them RPi2ModB
Ok, so please try the following alternative *-rpi3.zip
archive potentially fixing the issue:
This version is working! Thank you very much for this testing release!
Ok, thanks for the tests. I just replaced the official -rpi3.zip
file so that this version should work again:
Just make sure that the file has the following sha256 checksum: 8a03c490b39f6ade0d04d706b14083b2975ede1320f8ea21bdf35e20ed08f29a
Can confirm that it works well with the fix version.
Thanks Jens! Have a good one.
9321d5b9bd0d45091468a3b4c5170cac8bb0cc8e fixes the issue.
Describe the bug hsd485d constantly restarts
To Reproduce Steps to reproduce the behavior:
Expected behavior stable hs485d
Screenshots
System information (please complete the following information):
Additional context Downgrade to an earlier version doesn't seem to be possible in that state.