Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-Google Play device experiences broadcast receiver exception. #8402

Closed
greyson-signal opened this issue Nov 27, 2018 · 5 comments
Closed
Labels

Comments

@greyson-signal
Copy link
Contributor

Creating on behalf of @scytho via #8365.

Bug description

Device fails to send messages, likely due to an issue with RealtimeSleepTimer$AlarmReceiver not being registered.

2018-11-27 11:12:45.322 MEZ W WebSocketConnection: java.lang.IllegalArgumentException: Receiver not registered: org.whispersystems.signalservice.api.util.RealtimeSleepTimer$AlarmReceiver@b334c6e
	at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1193)
	at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1449)
	at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:645)
	at org.whispersystems.signalservice.api.util.RealtimeSleepTimer.sleep(RealtimeSleepTimer.java:51)
	at org.whispersystems.signalservice.internal.websocket.WebSocketConnection$KeepAliveSender.run(WebSocketConnection.java:320)

Device info

Device: Sony Xperia Z1 Compact (D5503)
Android: 8.1.0 (3485e188fa, aicp_amami-userdebug 8.1.0 OPM2.171026.006.H1 3485e188fa test-keys)
App: Signal 4.30.7

Link to debug log

https://debuglogs.org/f9d5b29e5e3ffaec5d28ddf354f21f5d0b4a1d4896dcc61eb71cd42830d4cf64

@scytho
Copy link

scytho commented Nov 28, 2018

I just disabled AFWall+, now sending a message worked right away. See this post, too:
#8365 (comment)

@greyson-signal greyson-signal changed the title Non-Google Play device fails to send messages. Non-Google Play device experiences broadcast receiver exception. Dec 1, 2018
@greyson-signal
Copy link
Contributor Author

Same root bug, but here it looks to be possibly causing battery issues:
#8217 (comment)

@floogit
Copy link

floogit commented Mar 6, 2019

Just a short notice to confirm that the battery drainage continues to be a problem on the latest 4.34.8 version of signal (Lineageos 14.1, Android 7.1.2, no GAPPS, still throwing a WebSocketConnection exception).

@five-c-d
Copy link

five-c-d commented Mar 8, 2019

Forum thread, if people that are running LineageOS or other non-GApps builds are interested in trying to test and correct the "Receiver not registered" error-message that is linked to heavy battery drain: https://community.signalusers.org/t/very-high-battery-drain-on-4-34-8-without-google-play-services/6536

@stale
Copy link

stale bot commented Jan 28, 2022

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the wontfix label Jan 28, 2022
@stale stale bot closed this as completed Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants