Rocket.chat: Android App Doesn't connect to my newly created rocketchat server

Created on 25 Apr 2016  路  12Comments  路  Source: RocketChat/Rocket.Chat

Rocket.Chat version: 0.26.0
Android app version: 2.3.1
I've installed the RocketChat server on my RPi2 arch arm distribution following this guide https://volumelabs.net/rocket-chat-raspberry-pi-2/
I configured apache with reverse proxy so I can access the server through https. By now, I had it working on firefox, windows desktop app and android web browsers. The problem is when I try to connect to the server through the android app, it refuses to load the server page and reply with 'Failed to connect to server: abort. abort'. I'm using self signed certificate for Let's Encrypt requires my public IP to be registered with a domain name and mine is not.
Because I'm using a self signed certificate, I must be asked to authenticate it manually when the server is requested from any application, all my browsers worked fine because they have been instructed to add an exception to that certificate. My android app hasn't even been offered this option and I guess this is where my problem lies. I can't connect to the server because it is not trusted by the app.
Is there a way to fix this guys?

Most helpful comment

I'm having the same issue with proper certs. My two cents, "let's encrypt!" should also be supported.

Can the app give a more meaningful error message or a way to fix the certs? I can login. Then it says "Connecting in x second". Channels show, they can be opened and show current messages after you open them.

this was the solution:
https://rocket.chat/docs/installation/manual-installation/configuring-ssl-reverse-proxy/

All 12 comments

The problem is your self-signed certs ... ;)

same probleme with Android with Let's Encrypt certificate.

We do not support self-signed certs. Please re-open if you have full cert and still have problem.

I m sorry. But with my full certif not working on android.
Failed to connect to server abort.

@yoimbert that's a different problem. Someone can help you if you come over to https://demo.rocket.chat/channel/support

And can you tell us why you don't support self-signed certs with android app and do support them with browsers?

I think the self signed there is no CA Intermediate. But I could be wrong. ( let's encrypt for example )

But they could program the app to work the same as the browsers. If they don't fix the android app to work with self-signed certs, I will have no interest in RocketChat since the android app is all I need.

But they could program the app to work the same as the browsers. If they don't fix the android app to work with self-signed certs, I will have no interest in RocketChat since the android app is all I need.

I'm having the same issue with proper certs. My two cents, "let's encrypt!" should also be supported.

Can the app give a more meaningful error message or a way to fix the certs? I can login. Then it says "Connecting in x second". Channels show, they can be opened and show current messages after you open them.

this was the solution:
https://rocket.chat/docs/installation/manual-installation/configuring-ssl-reverse-proxy/

The proxy_set settings within location fixed it. Also with Let's encrypt.

We do not support self-signed certs. Please re-open if you have full cert and still have problem.

That's not very open source friendly! It takes few minutes to add a "use at your own risk" option. But if this is still the case in 2020 i'm just gonna switch to another app.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lunitic picture lunitic  路  3Comments

royalaid picture royalaid  路  3Comments

karlprieb picture karlprieb  路  3Comments

neha1deshmukh picture neha1deshmukh  路  3Comments

mddvul22 picture mddvul22  路  3Comments