m8schmit / ecovacs-stack

A complete stack including backend server and frontend interface, to manage a Deebot T9.
GNU General Public License v3.0
27 stars 6 forks source link

Getting stuck, backend flooding with code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' #9

Open whalelinguni opened 6 months ago

whalelinguni commented 6 months ago

Running docker on Alpine 3.19.1

After pulling the docker up, seems to start fine, but then the backend is flooding the console with

backend-1 | error Error: unable to verify the first certificate backend-1 | at TLSSocket.onConnectSecure (node:_tls_wrap:1674:34) backend-1 | at TLSSocket.emit (node:events:518:28) backend-1 | at TLSSocket._finishInit (node:_tls_wrap:1085:8) backend-1 | at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:871:12) { backend-1 | code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE' backend-1 | }

Trying to access the page on 4200 just sits at 'connection to websocket server in progress'

I've tried all I can on my own, but getting stuck here. Would love to get this going.

log: https://pastebin.com/raw/QryLXTyH

lis6502 commented 5 months ago

hi, i've created pull request to fix these backend errors. But still for some reason react frontend connects to websocket endlessly