SignalK / SensESP

Universal Signal K sensor framework for the ESP32 platform
https://signalk.org/SensESP/
Apache License 2.0
146 stars 80 forks source link

Trying to connect to SignalK from SensESP #643

Closed avanlievenoogen closed 1 year ago

avanlievenoogen commented 1 year ago

I am getting the logging below in VSC. I hardcoded the ip-adress and port. In the signal K server, I don't see any access request.

The getting started says something about Avahi being correctly configured. Don't know if that is the case here.

Anyone suggestion what I am doing wrong?

(connect)(C0) Initiating websocket connection with server... (connect)(C0) Websocket is connecting to Signal K server on address 192.168.88.250:80 (connect)(C1) No prior authorization token present. (send_access_request)(C1) Preparing a new access request (save_configuration)(C0) Saving configuration path /System/Signal K Settings to file /7NAVR03_FL3ag9_pt1mBQlpDmeM= (send_access_request)(C0) Access request: {"clientId":"708439a8-5320-d2ce-8f32-7efd34022b8f","description":"SensESP device: my-sensesp-project","permissions":"readwrite"} (send_access_request)(C1) Access request url: http://192.168.88.250:80/signalk/v1/access/requests [ 20563][E][WiFiClient.cpp:268] connect(): socket error on fd 48, errno: 104, "Connection reset by peer" (send_access_request)(C0) Can't handle response -1 to access request.

avanlievenoogen commented 1 year ago

never mind. Changed the port to 3000 and now it works