# Mobile apps not connecting to server

**URL:** <https://forums.rocket.chat/t/mobile-apps-not-connecting-to-server/14350>\
**Category:** Mobile Apps\
**Tags:** mobile, rocketchat-apps\
**Created:** [June 24, 2022, 6:43am UTC](https://forums.rocket.chat/t/mobile-apps-not-connecting-to-server/14350 "2022-06-24T06:43:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![asteria](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asteria](https://forums.rocket.chat/u/asteria)\
**Post date:** [June 24, 2022, 6:43am UTC](https://forums.rocket.chat/t/mobile-apps-not-connecting-to-server/14350/1 "2022-06-24T06:43:48Z")

</div>

Hi. We recently set up a Rocket Chat server using Docker. It’s set up to bind to localhost:3000 over HTTP, which is reverse proxied over a secure tunnel to the edge, where it is served over HTTPS with a valid certificate (not self-signed). It’s all working on the web and desktop app.

When we enter our credentials into the mobile app however, the app gets stuck after tapping login (with valid credentials). It simply doesn’t do anything after that. Anyone got any ideas? We tried disabling 2FA but that didn’t work either.

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [June 24, 2022, 12:43pm UTC](https://forums.rocket.chat/t/mobile-apps-not-connecting-to-server/14350/2 "2022-06-24T12:43:39Z")

</div>

Hi Asteria!

Welcome to our Community 🤗

I have seen this kind of issue before, and it was due to TLS versions. If I recall, the server was forcing TLS 1.3, and some mobiles were not having it.

This will happen both on iOS and Android?

We have [this doc with some examples on how to reverse proxy](https://docs.rocket.chat/quick-start/environment-configuration/configuring-ssl-reverse-proxy). Maybe this can help you.

Also, consider joining us in our [Community Support Channel](https://open.rocket.chat/channel/support)

---

<div class="post-metadata">

**Author:** ![asteria](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asteria](https://forums.rocket.chat/u/asteria)\
**Post date:** [June 24, 2022, 1:04pm UTC](https://forums.rocket.chat/t/mobile-apps-not-connecting-to-server/14350/3 "2022-06-24T13:04:05Z")

</div>

Thank you! This was the issue - we force TLS 1.3 on all connections to our edge. Degraded the minimum to 1.2 and now our mobiles are connecting. Is it something with the HTTP client library that the mobile apps use?

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [June 24, 2022, 1:10pm UTC](https://forums.rocket.chat/t/mobile-apps-not-connecting-to-server/14350/4 "2022-06-24T13:10:58Z")

</div>

I was not able to determine it, but I believe this can is at OS level, as some mobile versions where connecting even with TLS 1.3 being forced.

I will try to look forward on this, as we can or improve the App or make a note about it at the reverse proxy docs.

---

<div class="post-metadata">

**Author:** ![asteria](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asteria](https://forums.rocket.chat/u/asteria)\
**Post date:** [June 24, 2022, 1:22pm UTC](https://forums.rocket.chat/t/mobile-apps-not-connecting-to-server/14350/5 "2022-06-24T13:22:56Z")

</div>

It’s suggested in the nginx config, but maybe a good idea as you said to put a note at top of that page.

```auto
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # don’t use SSLv3 ref: POODLE

```

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [June 24, 2022, 1:31pm UTC](https://forums.rocket.chat/t/mobile-apps-not-connecting-to-server/14350/6 "2022-06-24T13:31:35Z")

</div>

Nice, we’ll do that. Thanks!

Also, can you provide the versions and OS you have faced this Issue so our dev team can dig it further?

Thanks!

---

<div class="post-metadata">

**Author:** ![asteria](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asteria](https://forums.rocket.chat/u/asteria)\
**Post date:** [June 24, 2022, 2:08pm UTC](https://forums.rocket.chat/t/mobile-apps-not-connecting-to-server/14350/7 "2022-06-24T14:08:34Z")

</div>

Latest versions of mobile apps & server. Server is running Ubuntu 20.04 on amd64. Thanks for all your help!

---

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [June 24, 2022, 7:27pm UTC](https://forums.rocket.chat/t/mobile-apps-not-connecting-to-server/14350/8 "2022-06-24T19:27:14Z")

</div>

Ok, what about the Mobile itself?

Latest iOS version? Thanks!

---

<div class="post-metadata">

**Author:** ![asteria](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@asteria](https://forums.rocket.chat/u/asteria)\
**Post date:** [June 24, 2022, 7:55pm UTC](https://forums.rocket.chat/t/mobile-apps-not-connecting-to-server/14350/9 "2022-06-24T19:55:52Z")

</div>

I’m on iOS 16 dev beta 2, but others on latest android and latest stable iOS are getting same issue.
