[core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
Zixwater
Posts: 35
Joined: 06 Sep 2014 21:31

[core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK

Post by Zixwater »

This problem has become more and more frequent. Since z-way itself does not use SSL/TLS to my knowledge(i admit, i have not followed it lately) but this is becoming more and more of a frequent problem. This has now happened twice this past week. Im out of my leauge here as i do not know were to start to looking? What SSL/TLS request is the core wanting to make?

The only logical as i can see in my network is communication back and forth node-red which is what i use as middle layer for controlling scenes/individual devices. NODE-Red is updated with a valid certificate from lets encrypt and used by node-red, mosquitto, nas file storage and firewall and those services are working within normal parameters.

This error causes the razberry webserver to crash or unable to handle requests(webpage not available) though the raspberry pi itself is working fine.

I did a couple of searches on the forum without success finding this kind of problem and the ssl problem is logged several times each second so its no wonder the webserver cannot keep up... Please advice.

Code: Select all

[2021-09-13 09:03:36.376] [I] [zway] Adding job: Wakeup Sleep
[2021-09-13 09:03:36.376] [D] [zway] SENDING (cb 0x98): ( 01 09 00 13 15 02 84 08 05 98 E3 )
[2021-09-13 09:03:36.382] [D] [zway] RECEIVED ACK
[2021-09-13 09:03:36.382] [D] [zway] RECEIVED: ( 01 04 01 13 01 E8 )
[2021-09-13 09:03:36.382] [D] [zway] SENT ACK
[2021-09-13 09:03:36.382] [D] [zway] Delivered to Z-Wave stack
[2021-09-13 09:03:36.402] [D] [zway] RECEIVED: ( 01 18 00 13 98 00 00 02 00 B1 7F 7F 7F 7F 01 01 03 00 00 00 00 02 01 00 00 DF )
[2021-09-13 09:03:36.403] [D] [zway] SENT ACK
[2021-09-13 09:03:36.403] [I] [zway] Job 0x13 (Wakeup Sleep): Delivered
[2021-09-13 09:03:36.403] [D] [zway] SendData Response with callback 0x98 received: received by recipient
[2021-09-13 09:03:36.403] [D] [zway] SETDATA devices.21.data.lastSendInternal = **********
[2021-09-13 09:03:36.403] [D] [zway] SETDATA devices.21.data.lastSend = 5579844 (0x00552444)
[2021-09-13 09:03:36.403] [D] [zway] Job 0x13 (Wakeup Sleep): success
[2021-09-13 09:03:36.403] [D] [zway] SETDATA devices.21.data.isAwake = False
[2021-09-13 09:03:36.404] [D] [zway] Sending the queue for node 21 into sleep
[2021-09-13 09:03:36.404] [I] [zway] Removing job: Wakeup Sleep
[2021-09-13 09:03:38.371] [I] [core] Can not make request: Timeout was reached
[2021-09-13 09:03:43.401] [I] [core] Can not make request: Timeout was reached
[2021-09-13 09:03:44.882] [D] [zway] Job 0x3b: deleted from queue
[2021-09-13 09:03:48.435] [I] [core] Can not make request: Timeout was reached
[2021-09-13 09:03:52.230] [D] [zway] Job 0x13: deleted from queue
[2021-09-13 09:03:53.468] [I] [core] Can not make request: Timeout was reached
[2021-09-13 09:03:54.535] [I] [zway] Adding job: Get background noise level
[2021-09-13 09:03:54.544] [D] [zway] SENDING: ( 01 03 00 3B C7 )
[2021-09-13 09:03:54.545] [D] [zway] RECEIVED ACK
[2021-09-13 09:03:54.546] [D] [zway] RECEIVED: ( 01 05 01 3B AA AA C0 )
[2021-09-13 09:03:54.546] [D] [zway] SENT ACK
[2021-09-13 09:03:54.546] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel1 = 170 (0x000000aa)
[2021-09-13 09:03:54.546] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel2 = 170 (0x000000aa)
[2021-09-13 09:03:54.546] [D] [zway] SETDATA controller.data.statistics.backgroundRSSI.channel3 = 127 (0x0000007f)
[2021-09-13 09:03:54.547] [I] [zway] Job 0x3b (Get background noise level): RSSI Ch#1: -86 dBm, Ch#2: -86 dBm, Ch#3: invalid
[2021-09-13 09:03:54.547] [D] [zway] Job 0x3b (Get background noise level): success
[2021-09-13 09:03:54.547] [I] [zway] Removing job: Get background noise level
[2021-09-13 09:03:56.625] [D] [zway] Job 0x13: deleted from queue
[2021-09-13 09:03:58.502] [I] [core] Can not make request: Timeout was reached
[2021-09-13 09:04:03.535] [I] [core] Can not make request: Timeout was reached
[2021-09-13 09:04:08.575] [I] [core] Can not make request: Timeout was reached
[2021-09-13 09:04:13.600] [I] [core] Can not make request: Timeout was reached
[2021-09-13 09:04:14.764] [D] [zway] Job 0x3b: deleted from queue
[2021-09-13 09:04:18.528] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:04:18.528] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:04:18.564] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:04:18.564] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:04:18.590] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:04:18.590] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:04:18.616] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:04:18.616] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:04:18.645] [I] [core] Can not make request: Timeout was reached
[2021-09-13 09:04:18.646] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:04:18.646] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:04:18.671] [I] [core] Can not make request (requestDevice

Code: Select all


[2021-09-13 09:05:17.171] [I] [core] Retry requestSensorUpdate
[2021-09-13 09:05:17.177] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.177] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:05:17.204] [I] [core] Can not make request (requestSensorUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.204] [I] [core] Retry requestSensorUpdate
[2021-09-13 09:05:17.209] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.210] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:05:17.236] [I] [core] Can not make request (requestSensorUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.236] [I] [core] Retry requestSensorUpdate
[2021-09-13 09:05:17.241] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.242] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:05:17.267] [I] [core] Can not make request (requestSensorUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.268] [I] [core] Retry requestSensorUpdate
[2021-09-13 09:05:17.273] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.273] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:05:17.299] [I] [core] Can not make request (requestSensorUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.299] [I] [core] Retry requestSensorUpdate
[2021-09-13 09:05:17.304] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.305] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:05:17.330] [I] [core] Can not make request (requestSensorUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.331] [I] [core] Retry requestSensorUpdate
[2021-09-13 09:05:17.336] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.337] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:05:17.363] [I] [core] Can not make request (requestSensorUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.363] [I] [core] Retry requestSensorUpdate
[2021-09-13 09:05:17.369] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.369] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:05:17.395] [I] [core] Can not make request (requestSensorUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.395] [I] [core] Retry requestSensorUpdate
[2021-09-13 09:05:17.401] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.401] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:05:17.428] [I] [core] Can not make request (requestSensorUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.428] [I] [core] Retry requestSensorUpdate
[2021-09-13 09:05:17.433] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.434] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:05:17.460] [I] [core] Can not make request (requestSensorUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.460] [I] [core] Retry requestSensorUpdate
[2021-09-13 09:05:17.487] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.487] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:05:17.492] [I] [core] Can not make request (requestSensorUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.493] [I] [core] Retry requestSensorUpdate
[2021-09-13 09:05:17.519] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.519] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:05:17.525] [I] [core] Can not make request (requestSensorUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.525] [I] [core] Retry requestSensorUpdate
[2021-09-13 09:05:17.551] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.552] [I] [core] Retry requestDeviceUpdate
[2021-09-13 09:05:17.557] [I] [core] Can not make request (requestSensorUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 09:05:17.557] [I] [core] Retry requestSensorUpdate
[2021-09-13 09:05:17.584] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
And final entry in log

Code: Select all

[2021-09-13 14:36:20.741] [I] [core] Retry requestSensorUpdate
[2021-09-13 14:36:20.745] [I] [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 14:36:20.745] [I] [core] Retry requestDeviceUpdate
[2021-09-13 14:36:20.829] [D] [zway] RECEIVED: ( 01 0F 00 04 00 15 06 43 03 01 42 05 DC B5 00 00 88 )
[2021-09-13 14:36:20.829] [D] [zway] SENT ACK
[2021-09-13 14:36:20.829] [D] [zway] SETDATA devices.21.data.lastReceived = 0 (0x00000000)
[2021-09-13 14:36:20.832] [D] [zway] SETDATA devices.21.instances.0.commandClasses.67.data.1.size = **********
[2021-09-13 14:36:20.832] [D] [zway] SETDATA devices.21.instances.0.commandClasses.67.data.1.precision = **********
[2021-09-13 14:36:20.832] [D] [zway] SETDATA devices.21.instances.0.commandClasses.67.data.1.deviceScale = 0 (0x00000000)
[2021-09-13 14:36:20.832] [D] [zway] SETDATA devices.21.instances.0.commandClasses.67.data.1.deviceScaleString = "°C"
[2021-09-13 14:36:20.832] [D] [zway] SETDATA devices.21.instances.0.commandClasses.67.data.1.val = 15.000000
[2021-09-13 14:36:20.832] [D] [zway] SETDATA devices.21.instances.0.commandClasses.67.data.1.setVal = 15.000000
[2021-09-13 14:36:20.832] [D] [zway] SETDATA devices.21.instances.0.commandClasses.67.data.1 = Empty
[2021-09-13 14:36:20.849] [D] [zway] RECEIVED: ( 01 0D 00 04 00 15 04 46 08 00 7F B6 00 00 60 )
[2021-09-13 14:36:20.852] [D] [zway] SENT ACK
[2021-09-13 14:36:20.853] [D] [zway] SETDATA devices.21.data.lastReceived = 0 (0x00000000)
[2021-09-13 14:36:20.869] [D] [zway] RECEIVED: ( 01 0B 00 04 00 15 02 84 07 B0 00 00 D4 )
[2021-09-13 14:36:20.869] [D] [zway] SENT ACK
[2021-09-13 14:36:20.869] [D] [zway] SETDATA devices.21.data.lastReceived = 0 (0x00000000)
[2021-09-13 14:36:20.869] [I] [zway] Node 21:0 CC Wakeup: Wakeup notification
[2021-09-13 14:36:20.869] [D] [zway] SETDATA devices.21.instances.0.commandClasses.132.data.lastWakeup = 1631536580 (0x613f45c4)
[2021-09-13 14:36:20.869] [D] [zway] SETDATA devices.21.data.isAwake = True
[2021-09-13 14:36:20.869] [D] [zway] SETDATA devices.21.data.lastSendInternal = **********
[2021-09-13 14:36:20.869] [D] [zway] SETDATA devices.21.data.lastNonceGet = 7528748 (0x0072e12c)
[2021-09-13 14:36:20.869] [D] [zway] Running wakeup handler for node 21
[2021-09-13 14:36:20.870] [D] [zway] SETDATA devices.21.instances.0.commandClasses.132.data.lastSleep = 1631536580 (0x613f45c4)
[2021-09-13 14:36:20.870] [I] [zway] Node 21:0 CC Wakeup: Send node to sleep
[2021-09-13 14:36:20.870] [I] [zway] Adding job: Wakeup Sleep
[2021-09-13 14:36:20.870] [D] [zway] SENDING (cb 0xb0): ( 01 09 00 13 15 02 84 08 05 B0 CB )
[2021-09-13 14:36:20.870] [I] [core] Can not make request (requestSensorUpdate): SSL peer certificate or SSH remote key was not OK
[2021-09-13 14:36:20.870] [I] [core] Retry requestSensorUpdate
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK

Post by PoltoS »

Looks like some additional module is doing this.

Please do:
cd /opt/z-way-server/automation
grep -r requestDeviceUpdate

We will see who is this.
Zixwater
Posts: 35
Joined: 06 Sep 2014 21:31

Re: [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK

Post by Zixwater »

I forgot about this after an reinstallation but a similiar problem is now occuring instead with the same symptoms. This keeps hammering in the logs:

Code: Select all

[2021-11-07 19:41:46.793] [I] [core] Can not make request: Unauthorized
[2021-11-07 19:41:47.793] [I] [core] Can not make request: Unauthorized
[2021-11-07 19:41:49.184] [I] [core] Can not make request: Unauthorized
[2021-11-07 19:41:50.195] [I] [core] Can not make request: Unauthorized
[2021-11-07 19:41:51.221] [I] [core] Can not make request: Unauthorized
[2021-11-07 19:41:52.129] [I] [core] Can not make request: Unauthorized
[2021-11-07 19:41:53.160] [I] [core] Can not make request: Unauthorized
[2021-11-07 19:41:54.165] [I] [core] Can not make request: Unauthorized
[2021-11-07 19:41:55.167] [I] [core] Can not make request: Unauthorized
This keeps going on and on and on.. Until the whole z-way server process just dies and restart is the only thing that restarts it but that also restart the problem. How should i troubleshoot this? I have paused the module i think i was and removed another completely(atleast its configuration) Do i need to restart the server for removed modules to be truly gone?

These kinds of problem are getting really frustrating and not being able to have the z-way running =/ Please advice.
Zixwater
Posts: 35
Joined: 06 Sep 2014 21:31

Re: [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK

Post by Zixwater »

Most strange. I had the "link to another z-way" that resides on my network via vpn. I did check the credentials and at first they were wrong so i checked an updated to the correct credentials on the remote z-way and i did a positive response from the remote z-way and import of remote devices was correct but in the z-way log it still said unauthorized. But after a reboot that error message is now gone..
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: [core] Can not make request (requestDeviceUpdate): SSL peer certificate or SSH remote key was not OK

Post by PoltoS »

Looks like something went wrong during the module stop and polling thread continued. Should not happen now once you have correct credentials
Post Reply