[GH-ISSUE #27] Implement more aggressive lost connection detection #25

Closed
opened 2026-03-02 23:33:05 +03:00 by kerem · 2 comments
Owner

Originally created by @tagavari on GitHub (Aug 4, 2022).
Original GitHub issue: https://github.com/airmessage/airmessage-server/issues/27

Originally assigned to: @tagavari on GitHub.

When the server loses connection to AirMessage Connect, it may take a while for it to pick up on the fact that the connection has been severed and re-establish it. The server should check the health of the connection more frequently.

This can easily be recreated on laptops by running the server, then closing the lid for a few minutes. When the laptop is reopened, the server will still think it is connected, but no clients will be able to connect to it.

Reported by Avibee and others on Discord: https://discord.com/channels/992925221256450068/992929582439202908/1004535441212571769

This may be a duplicate of #13.

Originally created by @tagavari on GitHub (Aug 4, 2022). Original GitHub issue: https://github.com/airmessage/airmessage-server/issues/27 Originally assigned to: @tagavari on GitHub. When the server loses connection to AirMessage Connect, it may take a while for it to pick up on the fact that the connection has been severed and re-establish it. The server should check the health of the connection more frequently. This can easily be recreated on laptops by running the server, then closing the lid for a few minutes. When the laptop is reopened, the server will still think it is connected, but no clients will be able to connect to it. Reported by Avibee and others on Discord: https://discord.com/channels/992925221256450068/992929582439202908/1004535441212571769 This may be a duplicate of #13.
kerem closed this issue 2026-03-02 23:33:05 +03:00
Author
Owner

@aviavi123 commented on GitHub (Aug 5, 2022):

Here's a screenshot of server disconnection "no clients running" even though the preferences show I'm connected via my gmail account. The client log is blank, btw. However, sometimes opening AirMessage Android makes the server reconnect with the client.
Screen Shot 2022-08-04 at 10 14 50 PM

<!-- gh-comment-id:1205983076 --> @aviavi123 commented on GitHub (Aug 5, 2022): Here's a screenshot of server disconnection "no clients running" even though the preferences show I'm connected via my gmail account. The client log is blank, btw. However, sometimes opening AirMessage Android makes the server reconnect with the client. <img width="356" alt="Screen Shot 2022-08-04 at 10 14 50 PM" src="https://user-images.githubusercontent.com/16562812/182990923-690ef623-058b-478b-9484-8c0aa7dfca0f.png">
Author
Owner

@tagavari commented on GitHub (Aug 6, 2022):

Duplicate of #13

<!-- gh-comment-id:1207287460 --> @tagavari commented on GitHub (Aug 6, 2022): Duplicate of #13
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/airmessage-server#25
No description provided.