remootio / remootio-api-documentation

Documentation of the Remootio websocket API
9 stars 1 forks source link

coudn't has connection after broken #1

Open showstop opened 1 year ago

showstop commented 1 year ago

Hi there.

I made a simple app such as collect door event using your nodejs sdk. but I have unsolved issue about connection.

When app launched first time. it had no problem. but try reconnect always failed after the app said "No response for PING message in 30000ms. Connection is broken".

below is app log. please let me know how to solve this.

environment : Windows 11 / nodejs 18


Message : {
  type: 'SERVER_HELLO',
  apiVersion: 3,
  message: 'This is the Remootio Websocket API',
  serialNumber: '80646ff97b00wgumxrkw',
  remootioVersion: 'remootio-3'
}
Message : { type: 'PONG' }
send ping to Garage
Message : { type: 'PONG' }
Message : { type: 'PONG' }
send ping to Garage
Message : { type: 'PONG' }
send ping to Garage
disconnected.
Error  No response for PING message in 30000 ms. Connection is broken.
disconnected.
disconnected.
The websocket client is not connected
send ping to Garage
disconnected.
disconnected.
disconnected.
The websocket client is not connected
send ping to Garage
disconnected.
disconnected.```
remootio commented 9 months ago

Hello,

It seems like it could be a Wi-Fi signal issue. Could you check the Wi-Fi RSSI? You can find it in the Remootio app: Settings menu->Wi-Fi submenu