rand256 / valetudo

Valetudo RE - experimental vacuum software, cloud free
Apache License 2.0
666 stars 73 forks source link

Several issues after firmware update #433

Closed T-Bone90 closed 3 years ago

T-Bone90 commented 3 years ago

After I update Firmware to 2034 and Valetudo RE to 0.10.7 I get several Errors. First in Webinterface I get "Loading interface configuration has failed. Continue anyway?"

Than my Map is gone...

Than in Log i get: 2021-05-27T06:06:48.465Z No response for message: {"id":166316399,"prop":"ota_state","params":{"ota_state":"idle","ts":1622095608}} 2021-05-27T06:06:48.463Z Unknown cloud message received: {"id":166316399,"prop":"ota_state","params":{"ota_state":"idle","ts":1622095608}} 2021-05-27T06:06:46.532Z Probed last id = 1001 using get_status (65 retries) 2021-05-27T06:06:46.433Z No response for message: {"id":115721025,"prop":"ota_state","params":{"ota_state":"idle","ts":1622095544}} 2021-05-27T06:06:46.432Z Unknown cloud message received: {"id":115721025,"prop":"ota_state","params":{"ota_state":"idle","ts":1622095544}} 2021-05-27T06:06:46.420Z Timesync packet received 2021-05-27T06:06:46.416Z Robot connected 2021-05-27T06:06:36.345Z Failed to get handshake for message: get_status [] { retries: 0, retriesHS: 100 } 2021-05-27T06:06:24.889Z Failed to get handshake for message: get_status [] { retries: 0, retriesHS: 100 } 2021-05-27T06:06:20.806Z Failed to get handshake for message: get_status [] { retries: 0, retriesHS: 100 } 2021-05-27T06:06:15.317Z tgBot: probeV6 finished with: v4 2021-05-27T06:06:04.923Z Webserver is running on port 80 (http) 2021-05-27T06:06:04.918Z Dummycloud is spoofing 203.0.113.1:8053 on 127.0.0.1:8053 2021-05-27T06:06:04.837Z No ssl key found. Expected path: /mnt/data/valetudo/key.pem 2021-05-27T06:06:04.836Z No ssl cert found. Expected path: /mnt/data/valetudo/cert.pem 2021-05-27T06:06:04.625Z timesync: ntpd: setting time to 2021-05-27 08:06:04.593785 (offset +0.495554s) 2021-05-27T06:06:01.866Z Loading configuration file: /mnt/data/valetudo/config.json

I've already restarted. I can restore the map via backup.

rand256 commented 3 years ago

All this looks like firmware didn't connected to valetudo (yet), thus you have missing interface configuration issue and unavailable map. Sometimes it takes time for it to connect. Unknown ota state cloud message warning does not really matter.

T-Bone90 commented 3 years ago

Unfortunately, that doesn't help me much. The firmware was updated a few days ago. In the meantime the connection should have been ready. I am now trying a factory reset again and reloading the firmware.

T-Bone90 commented 3 years ago

So after I reset and reloaded the firmware, unfortunately everything is unchanged. But everything works out so far. Only the errors remain in the log

pidator commented 3 years ago

What errors are you referring to? The ssl ones? These are normal as long as you didn't use this feature...

T-Bone90 commented 3 years ago

The "Unknown cloud message received" The "Failed to get handshake for message"

rand256 commented 3 years ago

The first message is there because there's no handler in dummycloud for cloud message sent when the update was installed - and if it appeared it anyway would do just nothing. Like saying "Yup" in response. The second one appears cause it takes some time for manufacturer's low-level apps to start and initialize after device boot, so when valetudo launches during that time it may try to run some commands immediately, and they fail cause the system isn't ready yet, but they will be re-sent again and again later until succeed.

T-Bone90 commented 3 years ago

Thank you for response!