-
Notifications
You must be signed in to change notification settings - Fork 30
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
Network error :( #13
Comments
@vincegre is that the url you entered to the app? If so, it's not a fully quallified domain name, and the phone can't resolve it. |
no no it was just not to reveal real url but sure my server is publicly avalaible on internet and with a full FQDN and SSL protection ! |
Is nextcloud installed in a subdirectory? |
nope but SSL is done with a Let's encrypt certificate and I know some old apps don't like much these certificates ! Maybe it's the problem ? |
Denepnding on your android version and your server ssl configuration this could be an issue. @brantje we need an issue template for this project too |
Same here: android 7.1.1 App works with https://demo.passman.cc/ |
Would need more info to debug this out.
|
Sure:
|
Here are details requested: Server port is on standard SSL 443 (only SSL, if it tries http it's automatically redirected to https Apache 2 with TLS 1.2 NextCloud installed at root of web server Android 7.1.1 (One Plus 3) Passman version on Android: 0.12-NIGHTLY NextCloud 11.0.3 Passman app: 2.1.2 For logs not sure what you need as logs files are so big :( No problem to connect with official NextCloud app and some other apps that goes with NextCloud. I use TOTP but I generate a specific distinct password for each app that needs to connect to NextCloud. |
Hi, Is it possible for you to try? |
Maybe it's an issue with old android versions and ssl SNI. I will have to further investigate this and see if the lib we use for http/s requests has a workaround for this. |
@florianaudon not relevant as I'm in latest version of Android so it has no problem with SNI ! Side note your explanation about your problem looks like your SSL chains were incomplete on your webserver which can cunfuse some browsers ! |
It's also possible that some cyphers are not supported by Android and thus giving problem.
|
Hi, I have the same issue on an old phone.
|
please, refer to this table as of android support for ssl cyphers: |
Can it be a lack of TLS 1.2 support if I can access the very same url on the stock browser, nextcloud and davdroid application ? |
hmmm maybe the CA from letsencrypt is not included by default in android? |
Just found this link: https://community.letsencrypt.org/t/android-doesnt-trust-the-certificate/16498 |
@animalillo If you are using Android 4.4.2 with SNI on your web server it won't work as that version of Android was not compatible with SNI protocol so either update the very outdated Droid or move your server to a dedicated IP for the virtual server.... |
@vincegre I suppose you wanted to talk to me as I was the one with a 4.4.2 Android. |
some apps have implemented workarounds for android flaws, some have not, we have not, we let a library handle that |
I see, I can’t afford a new IP right now and there’s no update above KitKat for my phone. |
@nado yep it was for you ;) Did you check that your Nextcloud instance has a complete SSL chain with sslabs ?? as it's often a problem if CA certificate is missing ! Full cert chain as you can see below: |
@nado looks like your only solution now is to change your phone :( |
i could check if it's an app problem if you crate me an account and i can try the app on your server from my phone pm me on telegram |
I am not on telegram, I still use mails (nado@edited), irc (nado on freenode) :) |
@nado i sent you an email from marcos@[domain].es |
Confirmed that android 4.4.2 seems to have issues with some ssl configurations, think on making a workaround or a more descriptive message |
didn't got any telegram at WolFi |
now maybe? |
Yes, now i notice you sent it on a private message which i don't get on the desktop app xD |
same here, passman webextension, and the website frontend works fine. however i believe this is just because i am running it on very very low hardware and it just gets timeout if you care to test my server also the url is home.nicman23.tk i shall make a test:test acount |
I have published a new alpha release. It seems to fix network issues on some devices and it has more descriptive network errors. Please, tell me if the new version released on the store fix this problem. |
my issue seemed to be a missing chain cert from apache. |
Works like a charm with the new release. Thx! |
I can also connect now to my server. 👍 |
Hello, I have a Nexus 6p which just got upgraded to Android O. The app was working before the upgrade from 7.1.2. I am on the latest nightly but am getting 'Settings incorrect' Any ideas? |
probably wrong username/password. double check url, user and password are correct. I would need more info to help you @AnisKhanUK. |
You were right - I needed to use my APP password as I had setup 2nd factor authentication. Brilliant. |
After watching it for a few days, I think it's safe to close this issue! If anyone finds any trouble with this, i will try my best to help them debug it! Closing! :D |
We got reports of @jzielke-nli having trouble, reopening. (Ref #49) |
@animalillo Thanks for offering that. I'll send you some credentials and keep the communication up here as requested by @brantje in #49 . |
@animalillo Any progress on your debugging efforts? |
didn't have time to check it out yet! will try to this week or at least this weekend! Sorry for the delay, i have recently moved to a new home and things are a little fuzzy yet |
I made some debugging today and seems like the server is not returning an expected field for the vault once you click it to open, is this the same behaviour you are getting @jzielke-nli? Vault fails to open? For what i've seen is that the server is returning a different json format in which favicon field seems to be renamed to icon and the app can't find the required favicon field. @brantje is favicon no longer a valid field? if so the bug would be on es.wolfi.passman.API.Credential line 241 |
@animalillo How can I debug this on my android device? |
@jzielke-nli google for adb logcat ;) In nextcloud-android on the startsite there is a small description ;) |
Confirmed on my device:
|
yeah, seems that @brantje changed the field name on the api response on the version you have and that's the problem, if I have time on what is left of the week I will try to release a fix and maybe add a server version check. |
@animalillo Is the favicon really necessary? I can't remember having seen it in any part of the app. So why not removing this one rather than implementing a fallback routine? |
with the new version 1.0.0 a lot of code has changed. |
I'm closing it as I don't use passman since few years and no one else has reported same issue ;) |
Hi
Installed Passman on my OnePlus 3 (Android 7.1.1) from Play Store. I get a network error when I try to connect at my NextCloud account !
If I don't put https in front it complains incorrect url so I putted https://monserveur and my credentials but I always get a Network error !
Tested with cellphone connected to Wifi !
Something to try or test ?
Thanks
The text was updated successfully, but these errors were encountered: