If the following doesn't help you, do feel free to
file an issue. If you include the output of
make logs
in your issue description, that would be very helpful.
If the Molly app stops receiving push notifications, there could be a number of reasons:
Try restarting the server with make deploy
.
Signal only allows 5 linked devices per account. MollySocket counts as 1 linked device, so if you've linked more than 4 other devices, you risk MollySocket being bumped off and it will never reconnect again.
To see if this is the case, go into the Molly Android app settings and select Linked devices. You should see your current Android device in the list, MollySocket, and up to 4 other devices.
If you don't see MollySocket in the list, you know MollySocket has been disconnected. Try these steps:
- If you see 5 or more linked devices in your list, remove one of them by tapping on it.
- Login to your server with
make ssh
- Run
mollysocket connection list
. It should output something like this:[src/cli/connection.rs:109:13] &connection = Connection { uuid: "....", device_id: ..., password: "...", endpoint: "...", forbidden: true, last_registration: OptTime( None, ), }
- Run
mollysocket connection remove <the uuid displayed above>
- Type
exit
and thenmake restart
to restart the server. - Re-add the connection as described in the setup instructions.
- Restart the server again
After your server is up and running again, you should see MollySocket in your list of linked devices.
Double-check that battery optimization for both the UnifiedPush distributor AND Molly is disabled. If you have already disabled battery optimization, and you're not running some custom Android ROM on your phone, check out dontkillmyapp.com to see if there are additional hoops you need to jump through to prevent your phone from killing apps.
If you chose to use a UnifiedPush distributor other than ntfy
, it very well
may stop working. Try
switching to ntfy
(at least temporarily) to see if it resolves the problem.