Skip to content

Bluebubbles-iMessage bridge repeatedly closing websockets connection with unexpected EOF #53

@ELLIOTTCABLE

Description

@ELLIOTTCABLE

Noticed this wile investigating another issue: the logs are full of noise like this; it looks like the connection is dropping every couple minutes.

Any ideas what could be causing this?

       sh-imessage: 2025-02-02T15:45:31-06:00 DBG Pinging appservice websocket
       sh-imessage: 2025-02-02T15:45:31-06:00 DBG Websocket ping returned success duration=139.941957 req_duration=156.701 resp_duration=-16.761
       sh-imessage: 2025-02-02T15:45:43-06:00 ERR Error polling messages from WebSocket error="websocket: close 1006 (abnormal closure): unexpected EOF" component=bluebubbles
              main: [2025-02-02 15:45:43.075][info] [HttpService] Client disconnected (Total Clients: 0)
              main: [2025-02-02 15:45:43.076][info] [SocketRoutes] Client MassIFAsfLmG6104AAGj disconnected! Reason: transport close
       sh-imessage: 2025-02-02T15:45:43-06:00 INF Attempting to reconnect to BlueBubbles WebSocket... component=bluebubbles
       sh-imessage: 2025-02-02T15:45:43-06:00 INF Sleeping specified duration before retrying... component=bluebubbles sleepTime=200
       sh-imessage: 2025-02-02T15:45:43-06:00 INF Successfully reconnected to BlueBubbles websocket. component=bluebubbles
              main: [2025-02-02 15:45:43.664][info] [HttpService] Client Authenticated Successfully (Total Clients: 1)
       sh-imessage: 2025-02-02T15:46:43-06:00 ERR Error polling messages from WebSocket error="websocket: close 1006 (abnormal closure): unexpected EOF" component=bluebubbles
              main: [2025-02-02 15:46:43.546][info] [HttpService] Client disconnected (Total Clients: 0)
              main: [2025-02-02 15:46:43.547][info] [SocketRoutes] Client cxvS78HKwTPrpsqkAAGl disconnected! Reason: transport close
       sh-imessage: 2025-02-02T15:46:43-06:00 INF Attempting to reconnect to BlueBubbles WebSocket... component=bluebubbles
       sh-imessage: 2025-02-02T15:46:43-06:00 INF Sleeping specified duration before retrying... component=bluebubbles sleepTime=200
       sh-imessage: 2025-02-02T15:46:43-06:00 INF Successfully reconnected to BlueBubbles websocket. component=bluebubbles
              main: [2025-02-02 15:46:44.000][info] [HttpService] Client Authenticated Successfully (Total Clients: 1)
              main: [2025-02-02 15:47:43.883][info] [HttpService] Client disconnected (Total Clients: 0)
              main: [2025-02-02 15:47:43.884][info] [SocketRoutes] Client SvjLhHYpaaJr5xPRAAGn disconnected! Reason: transport close
       sh-imessage: 2025-02-02T15:47:43-06:00 ERR Error polling messages from WebSocket error="websocket: close 1006 (abnormal closure): unexpected EOF" component=bluebubbles
       sh-imessage: 2025-02-02T15:47:43-06:00 INF Attempting to reconnect to BlueBubbles WebSocket... component=bluebubbles
       sh-imessage: 2025-02-02T15:47:43-06:00 INF Sleeping specified duration before retrying... component=bluebubbles sleepTime=200
       sh-imessage: 2025-02-02T15:47:44-06:00 INF Successfully reconnected to BlueBubbles websocket. component=bluebubbles
              main: [2025-02-02 15:47:44.347][info] [HttpService] Client Authenticated Successfully (Total Clients: 1)
       sh-imessage: 2025-02-02T15:48:31-06:00 DBG Pinging appservice websocket
       sh-imessage: 2025-02-02T15:48:31-06:00 DBG Websocket ping returned success duration=142.606954 req_duration=169.388 resp_duration=-26.784
       sh-imessage: 2025-02-02T15:48:44-06:00 ERR Error polling messages from WebSocket error="websocket: close 1006 (abnormal closure): unexpected EOF" component=bluebubbles
              main: [2025-02-02 15:48:44.284][info] [HttpService] Client disconnected (Total Clients: 0)
              main: [2025-02-02 15:48:44.285][info] [SocketRoutes] Client 13zeEUbu5_qiU8dRAAGp disconnected! Reason: transport close
       sh-imessage: 2025-02-02T15:48:44-06:00 INF Attempting to reconnect to BlueBubbles WebSocket... component=bluebubbles
       sh-imessage: 2025-02-02T15:48:44-06:00 INF Sleeping specified duration before retrying... component=bluebubbles sleepTime=200
       sh-imessage: 2025-02-02T15:48:44-06:00 INF Successfully reconnected to BlueBubbles websocket. component=bluebubbles
              main: [2025-02-02 15:48:44.811][info] [HttpService] Client Authenticated Successfully (Total Clients: 1)
       sh-imessage: 2025-02-02T15:49:44-06:00 ERR Error polling messages from WebSocket error="websocket: close 1006 (abnormal closure): unexpected EOF" component=bluebubbles
              main: [2025-02-02 15:49:44.621][info] [HttpService] Client disconnected (Total Clients: 0)
              main: [2025-02-02 15:49:44.622][info] [SocketRoutes] Client NzQ8R6dwI6a63SDIAAGr disconnected! Reason: transport close
       sh-imessage: 2025-02-02T15:49:44-06:00 INF Attempting to reconnect to BlueBubbles WebSocket... component=bluebubbles
       sh-imessage: 2025-02-02T15:49:44-06:00 INF Sleeping specified duration before retrying... component=bluebubbles sleepTime=200
       sh-imessage: 2025-02-02T15:49:45-06:00 INF Successfully reconnected to BlueBubbles websocket. component=bluebubbles
              main: [2025-02-02 15:49:45.081][info] [HttpService] Client Authenticated Successfully (Total Clients: 1)
       sh-imessage: 2025-02-02T15:50:44-06:00 ERR Error polling messages from WebSocket error="websocket: close 1006 (abnormal closure): unexpected EOF" component=bluebubbles
              main: [2025-02-02 15:50:44.967][info] [HttpService] Client disconnected (Total Clients: 0)
              main: [2025-02-02 15:50:44.967][info] [SocketRoutes] Client xxZdxQfSx50JPrbNAAGt disconnected! Reason: transport close
       sh-imessage: 2025-02-02T15:50:44-06:00 INF Attempting to reconnect to BlueBubbles WebSocket... component=bluebubbles
       sh-imessage: 2025-02-02T15:50:45-06:00 INF Sleeping specified duration before retrying... component=bluebubbles sleepTime=200
       sh-imessage: 2025-02-02T15:50:45-06:00 INF Successfully reconnected to BlueBubbles websocket. component=bluebubbles
              main: [2025-02-02 15:50:45.473][info] [HttpService] Client Authenticated Successfully (Total Clients: 1)
       sh-imessage: 2025-02-02T15:51:31-06:00 DBG Pinging appservice websocket
       sh-imessage: 2025-02-02T15:51:31-06:00 DBG Websocket ping returned success duration=157.980483 req_duration=195.087 resp_duration=-37.109
       sh-imessage: 2025-02-02T15:51:45-06:00 ERR Error polling messages from WebSocket error="websocket: close 1006 (abnormal closure): unexpected EOF" component=bluebubbles
              main: [2025-02-02 15:51:45.352][info] [HttpService] Client disconnected (Total Clients: 0)
              main: [2025-02-02 15:51:45.352][info] [SocketRoutes] Client TZ43Fqv2sHXrZDQjAAGv disconnected! Reason: transport close
       sh-imessage: 2025-02-02T15:51:45-06:00 INF Attempting to reconnect to BlueBubbles WebSocket... component=bluebubbles
       sh-imessage: 2025-02-02T15:51:45-06:00 INF Sleeping specified duration before retrying... component=bluebubbles sleepTime=200
       sh-imessage: 2025-02-02T15:51:45-06:00 INF Successfully reconnected to BlueBubbles websocket. component=bluebubbles
              main: [2025-02-02 15:51:45.812][info] [HttpService] Client Authenticated Successfully (Total Clients: 1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions