-
Notifications
You must be signed in to change notification settings - Fork 38
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
Error "UNK" whan adding an account #181
Comments
@JeromeSi interesting error, at least you give me the golang error it's fine |
It seems it can be due to your local certificate. Seems java client accept it but not the golang http client which is stricter. I'm looking for a workaround to permit it in insecure configurations Your certificate doesn't have any IP:192.168.1.253 field |
In this log, you find the golang error... I'm learning about it. |
@JeromeSi i'm trying to reproduce the problem |
can you give me the public certificate of your server by mail (contact at unix-experience.fr) i will analyse the SSL issue on it |
wait a minute |
For your usecase with SSL, regenerate a proper certificate with proper SANs (IP/DNS names) First generate the following openssl.cnf file
Replace DNS entries with yours if you have it, and IP with yours. (if you have 3 IPs, add IP.3 = A.B.C.D) Next regenerate a private key
And generate a signing request
Last generate the certificate
If all succeed, verify the certificate with the following command
You must have the following entry: X509v3 Subject Alternative Name:, containing your IPs or DNS names If it's good, replace certificates of your nextcloud/owncloud instance |
I've got new certificate... |
i also just released 2.0.2 to show the SSL issue properly in android |
mmh. I replace my old certificate by new in my configuration, I reboot my server and no access to my owncloud... |
Just check your apache/nginx logs it should show you a SSL issue on the startup i think, maybe you inverted key and cert |
ok. You're right. |
I don't know the line command to update my git repository on my hard disk...I'm searching |
Different issue but error |
at least 2.0.2 really permits to show the certificate error, i should look at this issue asap but i'm tired :) |
With app 2.02 on emulated device android 6.0 |
But "work" (don't crash when click o Sign in) on other emulated device |
I'm getting same error as JeromeSi for unknown authority. Is it possible to add option to ignore this issue. Other apps (eg, Davdroid, Nextcloud) don't complaining about the certificate. |
Can you not add the option to allow less secure certs? Like foldersync |
Steps to reproduce
1.write URL / Login / Password
2.click Sign in
3.error "UNK"
Expected behaviour
I can't connect the 2.0.1 with my nextcoud
Nextcloud SMS 1.2.4 work fine
Actual behaviour
I have the message error "UNK" when i try to add an account
Server configuration
Nextcloud version: 11.0.6
PHP version: 5.6.33
Webserver: apache2
HTTPS: 2.4.10
Client configuration
Android version: 8.0.0 or 6.0 or 7.1.2
Phone: XZ1 compact / emulated / Moto G 4G peregrine
Nextcloud SMS app version: 2.0.1
Logs
E/Surface: getSlotFromBufferLocked: unknown buffer: 0xae477d00
![capture](https://user-images.githubusercontent.com/13288010/36111322-080ffdf2-1026-11e8-8508-70684c4fdc08.png)
E/Surface: getSlotFromBufferLocked: unknown buffer: 0xae477f80
I/fr.unix_experience.owncloud_sms.activities.LoginActivity.UserLoginTask: _serverURL = https://192.168.1.253:4433
I/GoLog: Get https://192.168.1.253:4433/index.php/apps/ocsms/get/apiversion?format=json: x509: cannot validate certificate for 192.168.1.253 because it doesn't contain any IP SANs
D/EGL_emulation: eglMakeCurrent: 0xaa9efe40: ver 2 0 (tinfo 0xafead090)
D/EGL_emulation: eglMakeCurrent: 0xaa9efe40: ver 2 0 (tinfo 0xafead090)
D/EGL_emulation: eglMakeCurrent: 0xaa9efe40: ver 2 0 (tinfo 0xafead090)
D/EGL_emulation: eglMakeCurrent: 0xaa9efe40: ver 2 0 (tinfo 0xafead090)
D/EGL_emulation: eglMakeCurrent: 0xaa9efe40: ver 2 0 (tinfo 0xafead090)
D/EGL_emulation: eglMakeCurrent: 0xaa9efe40: ver 2 0 (tinfo 0xafead090)
D/EGL_emulation: eglMakeCurrent: 0xaa9efe40: ver 2 0 (tinfo 0xafead090)
E/Surface: getSlotFromBufferLocked: unknown buffer: 0xae476e00
E/Surface: getSlotFromBufferLocked: unknown buffer: 0xae477d00
The text was updated successfully, but these errors were encountered: