airmessage / airmessage-android

AirMessage for Android phones, tablets, and laptops
Apache License 2.0
162 stars 20 forks source link

Cannot connect to AirMessage Server on Android 12 devices #24

Open razordynamics opened 2 years ago

razordynamics commented 2 years ago

Hello, I can't connect to Airmessage Server from several Android 12 devices. I get a "Your Server Couldn't Be Reached, An Internal error Occurred" screen. I'm using Automatic setup with Google account.

I'm running the server on a M1 Mac mini (latest Apple Silicon version 3.4.1) that remains always-on and always-connected. I have the following Android devices, all running AirMessage 3.3.6 from the Google Play Store:

  1. OnePlus 7 Pro, running OxygenOS 11, based on Android 11. AirMessage works fine and connects to my server via Google account. Can send and receive messages, business as usual, nothing wrong.
  2. Samsung Galaxy S20 5G, running OneUI 4.0, based on Android 12. I run the app, log in with my Google account, and receive the aforementioned Server Couldn't Be Reached error screen. I've tried reinstalling the app, clearing storage, restarting my phone, etc. No joy.
  3. Google Pixel 4a 5G, running Android 12. Same issues as the S20, same error screen.

Please let me know what additional data you might need. Thank you in advance!

tagavari commented 2 years ago

Thank you for opening this issue!

Unfortunately, I can't seem to recreate this problem. I don't have the same range of devices as you do, but signing in to AirMessage on a Pixel 5 with Android 12 and Google's Android 12 emulator works.

Recently, I have noticed an uptick in Firebase connection issues. Maybe this is what you're experiencing?

Non-fatal Exception: com.google.firebase.FirebaseNetworkException: A network error (such as timeout, interrupted connection or unreachable host) has occurred.

I'm going to be releasing an update later today to the Android app to 3.3.8 that contains updates to Firebase and GMS dependencies, so please let me know if it works for you.