standardnotes / syncing-server

[Deprecated: Use our new Node server: https://github.com/standardnotes/syncing-server-js]
https://standardnotes.org
GNU Affero General Public License v3.0
209 stars 48 forks source link

client login failed #7

Open adv4ncr opened 4 years ago

adv4ncr commented 4 years ago

hi guys, for me some clients do not work with the self hosted server.

Is it due to missing ssl encryption?

bryvin commented 4 years ago

What URL/IP are you using to try and connect through from the mobile and web app? Just your local IP?

Also which method are you using to start the server; just rails s ? If so try this: rails s -b 0.0.0.0

moughxyz commented 4 years ago

If the web app is behind https://, then any requests it makes must also be behind https://. All browsers enforce this I believe.

So if you're using our official web app, your self-hosted server will require an SSL cert.

adv4ncr commented 4 years ago

Hi, im using the local assigned device ip. My startup command is rails server -b=192.168.0.180 or with ssl rails server -b 'ssl://192.168.0.180:3000?key=cert/localhost.key&cert=cert/localhost.crt' For Win10 and IOS works http://192.168.0.180:3000/ as sync server domain. For the browser app http works as well with unsecure sources allowed.

With https and a self signed certificate only the browser app works after adding the cert.

creatvty commented 4 years ago

I'm facing the same issues. I can't connect to the server via webApp or linux app. With the standardfile server is used to work.