Mark
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
Needed a couple months break after running into this frustrating wall last time I tried to set up Immich. But using a different CA was a good idea, thank you! I got some time to try again today, switched to using ZeroSSL, and my phone was able to connect without issues 🎉
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
I did a bit more reading and found that there are a several other issues with using the default HTTP client in Dart on Android (https://github.com/dart-lang/sdk/issues/48056, https://github.com/dart-lang/sdk/issues/50434, https://github.com/dart-lang/sdk/issues/50435). It looks like the recommended action in Dart moving forward will be deprecate
HttpClient
in the dart:io
package and they will recommend using package:http
, package:cupertino_http
, and package:cronet_http
moving forward instead (see this in-progress design doc: https://docs.google.com/document/d/1Qw6hrvufQuA5V8ZQ1vXzVgBPFrKMQzmxNiie6_HwB90). The new packages use the native HTTP client implementations, which should solve all the above mentioned issues.
Not sure if there's any action to be taken at the moment, but I just thought I'd share what I learned58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
Looks like the error is also reproducible using the Android emulator if anyone took pity on me and wants to look into it haha. I understand it's a pretty obscure error from an out-of-support Android version though. I can look into using a different certificate if needed, thanks for the link I wouldn't have thought to try that!
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
I found a couple workaround in the dart repo as well. Not sure if any of these are feasible or different than the ones from Stack Overflow:
https://github.com/dart-lang/io/issues/83#issuecomment-936130566
https://github.com/dart-lang/io/issues/83#issuecomment-940617222
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
Yeah oof :/
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
This may be relevant: https://stackoverflow.com/a/69511058/1988326
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
I still use it as my daily driver though. I don't usually run into issues like this
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
Which I guess is an out-of-support Android version
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
It's running Android 7 (Nougat)
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
Okay, I tested it on an iPhone and it works. My Android phone it doesn't work on is a Samsung Galaxy S5 Neo
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
Dang :/ Maybe I'll try with a different phone
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
Perfect, just sent you a message
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
Yeah, I think they are equivalent
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
If it would help, I can DM you the actual domain name then you can test connecting with the mobile app yourself
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
Here is the relevant portion of the Caddy config (with sensitive info removed)
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
I've tried clicking the 'Next' button many times, but get the same error every time
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
To clarify, I do not get to the password login screen, the error appears on the very first server endpoint URL screen
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
Okay, I disabled OAuth login and re-enabled password login, but still got the same error
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
Okay, I'll try that
58 replies
IImmich
•Created by Mark on 5/19/2023 in #help-desk-support
Cannot connect from Android app: "TLS/SSL communication failed: POST /oauth/config"
Yes, and I have password login disabled
58 replies