client login failed
hi guys, for me some clients do not work with the self hosted server.
- running on ARMv8 architecture - RaspberryPi 3
- [x] working: win10 client, ios app
- [ ] not working: web app, android app
Is it due to missing ssl encryption?
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
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.
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.
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.
- webApp: The webApp shows an error without even making a request. When I use the
unsecureflag like @adv4ncr I am able to log in - for android app I might have some insights: On android 9, there are by default no unsecure sources allowed anymore. So to make this possible, you have to build the app yourself and add the host IP as unsecure source in the AndroidManifest.xml. Google
CLEARTEXT communication to xxx not permitted by network security policy