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

Can't connect to custom deployed using Desktop or mobile apps #1736

Closed
dinhtungdu opened this issue Dec 23, 2015 · 3 comments
Closed

Can't connect to custom deployed using Desktop or mobile apps #1736

dinhtungdu opened this issue Dec 23, 2015 · 3 comments

Comments

@dinhtungdu
Copy link

I deployed another one using docker as comment bellow.
Hi,
I deployed Rocket.Chat on a Digital Ocean VPS, Ubuntu 14.04, I'm using upstart to manage rocketchat. I followed this tutorial and had successful use rocket.chat via web browser. But not for desktop and mobile app.
I used self signed ssl. VPS Ubuntu 512MB ram. Nginx.
After searching, I see some comments that say: RC desktop/mobile app won't work if the RC server deployed with port other than 3000. So I changed my RC on VPS to port 3000, but It's not work. What can I do now.
Here is my upstart config: http://pastebin.com/apLsGTUV
And my Nginx vhost: http://pastebin.com/gR1W2kTE
Thank you so much!

@dinhtungdu dinhtungdu changed the title Can not connect to custom deployed using Desktop or mobile apps Can't connect to custom deployed using Desktop or mobile apps Dec 23, 2015
@dinhtungdu
Copy link
Author

Update:
I followed the Docker guide in Wiki and I can connect in Desktop app with: http://my-url.com:3000
Still unable to use https to connect in app. Https just works with browser.
I use self signed SSL according to the guide. Do I need a commercial ssl to use in desktop/mobile apps?

Update 2:
I can connect with Android app with http://my-url.com:3000 but can't login. It keeps showing "Please Wait..."

@blabj
Copy link

blabj commented Dec 23, 2015

I had same problem with self-signed cert. I used CADroid to install the self-signed cert on Android and then it worked. For the desktop client, on linux, I installed the cert in Chrome, and then the client worked.

I found it strange, since there is an option in the administration section, to allow self-signed certs to be valid urls.. yet the clients refuse to connect. Perhaps this is a bug in the client code?

@dinhtungdu
Copy link
Author

@blabj Thank you! It's worked, perfectly.

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

3 participants