ncsms-android icon indicating copy to clipboard operation
ncsms-android copied to clipboard

Problem creating an account nextcloud sms

Open JunkyardCat opened this issue 7 years ago • 11 comments

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

  1. open nextcloud sms
  2. click on add an account
  3. choose nextcloud sms
  4. type in 192.XXX.X.XXX/ (using https option but i didnt write https in the field)
  5. enter admin
  6. enter password for admin
  7. 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

JunkyardCat avatar Jan 16 '18 16:01 JunkyardCat

did you install ocsms server app ?

nerzhul avatar Jan 17 '18 23:01 nerzhul

@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?

JunkyardCat avatar Jan 29 '18 15:01 JunkyardCat

it's ocsms app

nerzhul avatar Jan 29 '18 15:01 nerzhul

@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

JunkyardCat avatar Jan 29 '18 16:01 JunkyardCat

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 avatar Feb 12 '18 21:02 nerzhul

@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

JunkyardCat avatar Feb 16 '18 15:02 JunkyardCat

phonesyncerror

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

mich04 avatar Mar 08 '18 12:03 mich04

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 avatar Mar 08 '18 13:03 nerzhul

@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

JunkyardCat avatar Mar 26 '18 13:03 JunkyardCat

@nerzhul or anyone know what my error i posted earlier mean?

JunkyardCat avatar Apr 06 '18 08:04 JunkyardCat

@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).

alexdevos avatar Feb 29 '20 20:02 alexdevos