ncsms-android
ncsms-android copied to clipboard
Problem creating an account nextcloud sms
Hi
I need help on how to setup an account. I have nextcloud on my raspberry pi only available locally when logging into nextcloud i usually type in ip address 192.XXX.X.XXX. im able to synch this with davdroid and nextcloud app fine but not sure why nextcloud sms app is having trouble.
i have both nextcloud sms on the nextcloud and the app android phone
Steps to reproduce
- open nextcloud sms
- click on add an account
- choose nextcloud sms
- type in 192.XXX.X.XXX/ (using https option but i didnt write https in the field)
- enter admin
- enter password for admin
- click sign in
Expected behaviour
Nextcloud admin account will be added
Actual behaviour
error in the server address field. Unable to perform a http connection. please ensure there is a web server
Server configuration
Nextcloud version: 12 PHP version:
Webserver:
HTTPS:
Client configuration
Android version: 6.0.1 Phone: Galaxy J7 Prime Nextcloud SMS app version: 1.3.4
Logs
Insert your log here
Screenshots
did you install ocsms server app ?
@nerzhul I install phone sync app on the nextcloud server. Is that the same as what you said or is ocsms server app a different app?
it's ocsms app
@nerzhul in nextcloud its name is Phone Sync. I followed this link which is found on the nextcloud ocsms page in github https://github.com/nextcloud/ocsms
then i click on the link below which directs me to the nextcloud app which has the name phone sync https://apps.nextcloud.com/apps/ocsms
nice. Can you retry with the version 2.0.1 please, the HTTP part has been rewritten in golang and should be more interesting
@nerzhul here is the error i receive Low level error: Get https://XXX.XXX.X.XXX/index.php/apps/ocsms/get/apiversion?format=json:x509: cannot validate certificate for XXX.XXX.X.XXX because it doesnt contain any IP SANs
I am receiving the same error at first I thought it was because I was using a self-signed certificate but than I acquired one from Let's Encrypt. I am running Android 8.1.0 with Nextcloud SMS 2.0.3, My server is nginx-1.12.2-2, nextcloud-13.0.0-1, and Phone Sync 1.12.2 (ocsms). My installation is in a webroot directory as well. https://test.example.org/nextcloud
hello @mich04 here it seems your phone is not connected or cannot resolve the server address, ensure your DNS name is correctly configured (use the android web browser to test it)
@nerzhul
I just recently updated and got this error Low level error: Get https://192.XXX.X.XXX/index.php/apps/ocsms/get/apiversion?format=json:x509: cannot validate certificate for 192.XXX.X.XXX because it doesnt contain any IP SANs
what does that mean
@nerzhul or anyone know what my error i posted earlier mean?
@JunkyardCat : I had the same problem and solve it using a fork of ncsms-android by @cpu20 (thank you so much :+1: and thanks to @K73SK for the hint) available on this page : https://gitlab.com/cpu20/ownCloud-SMS-App-Fork/-/releases, now it works like a charm ! This fork allows you to "Disable secure connection checks" as you can see on screenshot below. This is perfect for a self-hosted IP instance of Nextcloud (such as NextCloudPi).
