You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, what is likely needed in order for Hangouts to work reliably? Hangouts used to sometimes allow for calls and messages, but as of late seems to not even open anymore.
Hangouts and Google Plus apps are the ones most problematically as they use undocumented APIs in Play Services a lot (Google does not want to leak contact info and stuff like that to third parties, so these APIs were made private). I guess that the problems with Hangouts are related to the missing contact sync feature in microG.
Hangouts messaging works fine up to version 2.1.100. (No dialer support though)
Hangouts dialer seems to work well using 4.0.100406486 (and other versions). I haven't used it enough to fully test it though, as I rely on hangouts messaging.
I agree that hangouts dialer has the best voip quality and reliability and would love if it could work along with messaging.
i have google's own contact and calendar sync apps. hangouts FCs after opening, but i am briefly able to see that it has synced the hangout chats. it dies with this exception:
12-21 04:08:15.582 12741 12741 E AndroidRuntime: FATAL EXCEPTION: IntentService[com.google.android.apps.hangouts.service.NetworkConnectionCheckingService]
12-21 04:08:15.582 12741 12741 E AndroidRuntime: Process: com.google.android.talk, PID: 12741
12-21 04:08:15.582 12741 12741 E AndroidRuntime: Theme: themes:{}
12-21 04:08:15.582 12741 12741 E AndroidRuntime: java.lang.RuntimeException: Unable to find a default SSL provider.
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.google.android.libraries.stitch.sslguard.SslGuardSocketFactory.a(SourceFile:132)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.google.android.libraries.stitch.sslguard.SslGuardSocketFactory.createSocket(SourceFile:161)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.android.okhttp.internal.http.SocketConnector.connectTls(SocketConnector.java:89)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.android.okhttp.Connection.connect(Connection.java:143)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:185)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.android.okhttp.OkHttpClient$1.connectAndSetOwner(OkHttpClient.java:128)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.android.okhttp.internal.http.HttpEngine.nextConnection(HttpEngine.java:341)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:330)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:248)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:437)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:388)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getInputStream(HttpURLConnectionImpl.java:231)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getInputStream(DelegatingHttpsURLConnection.java:210)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.google.android.apps.hangouts.service.NetworkConnectionCheckingService.a(SourceFile:133)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at com.google.android.apps.hangouts.service.NetworkConnectionCheckingService.onHandleIntent(SourceFile:1104)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:66)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
12-21 04:08:15.582 12741 12741 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:61)
12-21 04:08:15.582 3304 3568 I ActivityManager: Displayed com.google.android.talk/.SigningInActivity: +917ms (total +53s352ms)
12-21 04:08:15.585 3304 3825 W ActivityManager: Force finishing activity com.google.android.talk/.SigningInActivity
i don't really care about the hangout chats, i just want to use the dialer for google voice IP calls.
i'm using hangouts 12. after a few hours voice support started working. the problem is that the app dies quickly after opening it up.
while the app is open, there is a very high volume spamming of logcat, adb logcat is not able to keep up with the spam even if you >/dev/null the output. the log looks like this:
12-21 16:49:11.831 621 743 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.832 621 655 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.833 621 808 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.834 621 767 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.834 621 797 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.834 621 655 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.836 621 743 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.836 621 767 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.838 621 655 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.838 621 797 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.839 621 808 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.840 621 743 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.840 621 767 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.840 621 797 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.841 621 655 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.843 621 743 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.844 621 767 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.844 621 655 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.845 621 808 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.845 621 797 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.847 621 767 D ProviderInstallerImpl: yep, i should do something with Security here...
12-21 16:49:11.847 621 655 D ProviderInstallerImpl: yep, i should do something with Security here...
@mar-v-in when you say "Google does not want to leak contact info and stuff like that to third parties", I assume you mean they don't want to leak your personal info to other third parties? ;-)
Version 12 would work if it werent for the forced upgrade nag screen. A guy on XDA managed to remove that from an older version, anyone here know how to do it with this one?
Interestingly push messages still come in and can be acted on, but the nag screen is there preventing one from editing settings or creating new conversations. A smali edit may be in order...what tools are used for that sort of thing nowadays?
Hangouts has now been added to the wiki with the NetworkConnectionCheckingService workaround.
It may be a coincidence, but I had to send/receive a chat message before incoming calls would work. For some reason it took up to a few hours to receive the first message (which sounds similar to this), but after that, receiving both calls and chat messages seemed to work. Was the NetworkConnectionCheckingService important for this? (This was using microG 0.2.4-105-gf289a13.)
I now notice the following issues with calls:
Latency/lag causing both parties to accidentally talk over each other
A delayed echo of my own voice (but using earbuds helps)
Sometimes the phone will not ring or it will ring late (but this might be an unrelated connection issue)
I'm not sure if these are even microG specific issues or if it's just bugs in the app itself. While these issues are a bit annoying, it makes the app "good enough" for me.
@voidstarstar : Those audio issues could be (probably are) related to the audio infrastructure of the underlying operating system. Have you checked if those issues are present in a completely different device? Preferably something running a proper AOSP like a Nexus or Pixel, which are more likely to have a correct audio implementation than a community build.
@ASerbinski Thanks. Unfortunately, I don't have access to another device to test it on at the moment, but I think you're right. These are likely issues with the OS (LineageOS for microG 14.1), rather than Hangouts. Sorry about the false alarm.
I think the NetworkConnectionCheckingService workaround may actually be pretty bad for security and may not even work indefinitely. When google drops support for old versions of SSL/TLS, I suspect the app will stop working. Related to #504.
Edit: For reference, line 116 produces the following logcat output on an unofficial CM13 build I used for testing:
[Ssl_Guard version 1.01(true), AndroidKeyStoreBCWorkaround version 1.0(false), AndroidOpenSSL version 1.0(true), BC version 1.52(false), Crypto version 1.0(false), HarmonyJSSE version 1.0(false), AndroidKeyStore version 1.0(false), ]
i tried that. doesnt work. my shell outputs:
Exception occurred while executing:
java.lang.IllegalArgumentException: Component class com.google.android.apps.hangouts.service.NetworkConnectionCheckingService does not exist in com.google.android.talk
at com.android.server.pm.PackageManagerService.setEnabledSetting(PackageManagerService.java:21079)
at com.android.server.pm.PackageManagerService.setComponentEnabledSetting(PackageManagerService.java:20850)
at com.android.server.pm.PackageManagerShellCommand.runSetEnabledSetting(PackageManagerShellCommand.java:1617)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:199)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21471)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3922)
at android.os.Binder.execTransact(Binder.java:731)
@trousev You can increase the bounty on bountysource (now died). However, for full disclosure, please note that I already created a patch that I think fixes this issue. It will be included in the next release of microG.
@mathew2214 You probably need to run an older version of Hangouts as well. In this issue some users reported versions that do and don't work. (And again, in the next release of microG, this problem should be fixed and Hangouts should work out of the box without needing this workaround.)
Activity
mar-v-in commentedon Jan 11, 2016
Hangouts and Google Plus apps are the ones most problematically as they use undocumented APIs in Play Services a lot (Google does not want to leak contact info and stuff like that to third parties, so these APIs were made private). I guess that the problems with Hangouts are related to the missing contact sync feature in microG.
lbdroid commentedon Jan 21, 2016
Could potentially be useful hints in https://github.com/tdryer/hangups
funkypc commentedon Jan 29, 2016
Hangouts messaging works fine up to version 2.1.100. (No dialer support though)
Hangouts dialer seems to work well using 4.0.100406486 (and other versions). I haven't used it enough to fully test it though, as I rely on hangouts messaging.
I agree that hangouts dialer has the best voip quality and reliability and would love if it could work along with messaging.
Lanchon commentedon Dec 21, 2016
i have google's own contact and calendar sync apps. hangouts FCs after opening, but i am briefly able to see that it has synced the hangout chats. it dies with this exception:
i don't really care about the hangout chats, i just want to use the dialer for google voice IP calls.
Lanchon commentedon Dec 21, 2016
i've installed hangouts 4.0.100406486 but a message saying "update required" pops up when you try to open it.
hangouts < 13 doesn't load the conversations and doesn't provide voice support even when the dialer is installed.
hangouts >= 13 fails with the above exception.
is there any way to have VoIP with google voice and microg? this is a deal breaker fro me, i need to have voip support to be able to work.
Lanchon commentedon Dec 21, 2016
i'm using hangouts 12. after a few hours voice support started working. the problem is that the app dies quickly after opening it up.
while the app is open, there is a very high volume spamming of logcat, adb logcat is not able to keep up with the spam even if you
>/dev/nullthe output. the log looks like this:Lanchon commentedon Dec 21, 2016
regarding #72 (comment) i couldn't find anything...
http://pastebin.com/e5dZjTti
[-]Hangouts[/-][+]Hangouts [$5][/+]LjLies commentedon Jan 3, 2017
@mar-v-in when you say "Google does not want to leak contact info and stuff like that to third parties", I assume you mean they don't want to leak your personal info to other third parties? ;-)
[-]Hangouts [$5][/-][+]Hangouts [$15][/+]ilikenwf commentedon Apr 21, 2017
Version 12 would work if it werent for the forced upgrade nag screen. A guy on XDA managed to remove that from an older version, anyone here know how to do it with this one?
https://hangouts.en.uptodown.com/android/old
https://hangouts.en.uptodown.com/android/download/983345 (starts download)
ilikenwf commentedon Apr 22, 2017
Interestingly push messages still come in and can be acted on, but the nag screen is there preventing one from editing settings or creating new conversations. A smali edit may be in order...what tools are used for that sort of thing nowadays?
dokranke commentedon Apr 22, 2017
There is a xposed module to prevent the update popups.
ilikenwf commentedon Apr 22, 2017
21 remaining items
voidstarstar commentedon Sep 26, 2018
Hangouts has now been added to the wiki with the NetworkConnectionCheckingService workaround.
It may be a coincidence, but I had to send/receive a chat message before incoming calls would work. For some reason it took up to a few hours to receive the first message (which sounds similar to this), but after that, receiving both calls and chat messages seemed to work. Was the NetworkConnectionCheckingService important for this? (This was using microG 0.2.4-105-gf289a13.)
I now notice the following issues with calls:
I'm not sure if these are even microG specific issues or if it's just bugs in the app itself. While these issues are a bit annoying, it makes the app "good enough" for me.
ASerbinski commentedon Sep 26, 2018
@voidstarstar : Those audio issues could be (probably are) related to the audio infrastructure of the underlying operating system. Have you checked if those issues are present in a completely different device? Preferably something running a proper AOSP like a Nexus or Pixel, which are more likely to have a correct audio implementation than a community build.
voidstarstar commentedon Sep 26, 2018
@ASerbinski Thanks. Unfortunately, I don't have access to another device to test it on at the moment, but I think you're right. These are likely issues with the OS (LineageOS for microG 14.1), rather than Hangouts. Sorry about the false alarm.
voidstarstar commentedon Oct 7, 2018
I think the NetworkConnectionCheckingService workaround may actually be pretty bad for security and may not even work indefinitely. When google drops support for old versions of SSL/TLS, I suspect the app will stop working. Related to #504.
Edit: For reference, line 116 produces the following logcat output on an unofficial CM13 build I used for testing:
trousev commentedon Jan 8, 2019
How can I increase bounty for this issue? Where should I pay?
mathew2214 commentedon Apr 8, 2019
i tried that. doesnt work. my shell outputs:
Exception occurred while executing:
java.lang.IllegalArgumentException: Component class com.google.android.apps.hangouts.service.NetworkConnectionCheckingService does not exist in com.google.android.talk
at com.android.server.pm.PackageManagerService.setEnabledSetting(PackageManagerService.java:21079)
at com.android.server.pm.PackageManagerService.setComponentEnabledSetting(PackageManagerService.java:20850)
at com.android.server.pm.PackageManagerShellCommand.runSetEnabledSetting(PackageManagerShellCommand.java:1617)
at com.android.server.pm.PackageManagerShellCommand.onCommand(PackageManagerShellCommand.java:199)
at android.os.ShellCommand.exec(ShellCommand.java:103)
at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:21471)
at android.os.Binder.shellCommand(Binder.java:634)
at android.os.Binder.onTransact(Binder.java:532)
at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2821)
at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3922)
at android.os.Binder.execTransact(Binder.java:731)
voidstarstar commentedon Apr 8, 2019
@trousev You can increase the bounty on bountysource (now died). However, for full disclosure, please note that I already created a patch that I think fixes this issue. It will be included in the next release of microG.
@mathew2214 You probably need to run an older version of Hangouts as well. In this issue some users reported versions that do and don't work. (And again, in the next release of microG, this problem should be fixed and Hangouts should work out of the box without needing this workaround.)
[-]Hangouts [$25][/-][+]Hangouts [$35][/+]fillwithjoy1 commentedon Nov 22, 2022
welp, this app is dead now
ale5000-git commentedon Dec 14, 2022
This issue was already fixed and in addition Hangouts is died.
[-]Hangouts [$35][/-][+]Hangouts[/+]