Skip to content
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

Problem creating an account nextcloud sms #176

Open
JunkyardCat opened this issue Jan 16, 2018 · 11 comments
Open

Problem creating an account nextcloud sms #176

JunkyardCat opened this issue Jan 16, 2018 · 11 comments

Comments

@JunkyardCat
Copy link

JunkyardCat commented Jan 16, 2018

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

@nerzhul
Copy link
Owner

nerzhul commented Jan 17, 2018

did you install ocsms server app ?

@JunkyardCat
Copy link
Author

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

@nerzhul
Copy link
Owner

nerzhul commented Jan 29, 2018

it's ocsms app

@JunkyardCat
Copy link
Author

@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

@nerzhul
Copy link
Owner

nerzhul commented Feb 12, 2018

nice. Can you retry with the version 2.0.1 please, the HTTP part has been rewritten in golang and should be more interesting

@JunkyardCat
Copy link
Author

@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

@mich04
Copy link

mich04 commented Mar 8, 2018

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

@nerzhul
Copy link
Owner

nerzhul commented Mar 8, 2018

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)

@JunkyardCat
Copy link
Author

@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
Copy link
Author

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

@alexdevos
Copy link

alexdevos commented Feb 29, 2020

@JunkyardCat : I had the same problem and solve it using a fork of ncsms-android by @cpu20 (thank you so much 👍 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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants