Skip to content

Hangouts #72

Closed
Closed

Description

@flacks

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.

Activity

  1. mar-v-in commented on Jan 11, 2016

    @mar-v-in
    Member

    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.

  2. lbdroid commented on Jan 21, 2016

    @lbdroid
  3. funkypc commented on Jan 29, 2016

    @funkypc

    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.

  4. Lanchon commented on Dec 21, 2016

    @Lanchon

    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.

  5. Lanchon commented on Dec 21, 2016

    @Lanchon

    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.

  6. Lanchon commented on Dec 21, 2016

    @Lanchon

    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...
    
  7. changed the title [-]Hangouts[/-] [+]Hangouts [$5][/+] on Jan 3, 2017
  8. LjLies commented on Jan 3, 2017

    @LjLies

    @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? ;-)

  9. changed the title [-]Hangouts [$5][/-] [+]Hangouts [$15][/+] on Mar 31, 2017
  10. ilikenwf commented on Apr 21, 2017

    @ilikenwf

    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)

  11. ilikenwf commented on Apr 22, 2017

    @ilikenwf

    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?

  12. dokranke commented on Apr 22, 2017

    @dokranke

    There is a xposed module to prevent the update popups.

  13. ilikenwf commented on Apr 22, 2017

    @ilikenwf
  14. 21 remaining items

  15. voidstarstar commented on Sep 26, 2018

    @voidstarstar
    Contributor

    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:

    1. Latency/lag causing both parties to accidentally talk over each other
    2. A delayed echo of my own voice (but using earbuds helps)
    3. 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.

  16. ASerbinski commented on Sep 26, 2018

    @ASerbinski

    @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.

  17. voidstarstar commented on Sep 26, 2018

    @voidstarstar
    Contributor

    @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.

  18. voidstarstar commented on Oct 7, 2018

    @voidstarstar
    Contributor

    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), ]
    
  19. trousev commented on Jan 8, 2019

    @trousev

    How can I increase bounty for this issue? Where should I pay?

  20. mathew2214 commented on Apr 8, 2019

    @mathew2214

    FYI, from terminal (as root):

    pm disable com.google.android.talk/com.google.android.apps.hangouts.service.NetworkConnectionCheckingService    
    

    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)

  21. voidstarstar commented on Apr 8, 2019

    @voidstarstar
    Contributor

    @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.)

  22. changed the title [-]Hangouts [$25][/-] [+]Hangouts [$35][/+] on Jun 13, 2019
  23. fillwithjoy1 commented on Nov 22, 2022

    @fillwithjoy1

    welp, this app is dead now

  24. ale5000-git commented on Dec 14, 2022

    @ale5000-git
    Member

    This issue was already fixed and in addition Hangouts is died.

  25. changed the title [-]Hangouts [$35][/-] [+]Hangouts[/+] on Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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