Network request failed on mobile app for both iOS and Android

Hello,

I am experiencing an issue with Rocket.Chat mobile app, both on iOS and Android. When trying to access our Rocket.Chat server through the mobile app, I consistently receive the error message “Network request failed.” The issue occurs regardless of the mobile platform.

Here’s what I have tested:

  • The Rocket.Chat server is accessible without any issues via mobile web browsers and desktop apps.
  • The server works fine in browsers, but the mobile app is unable to connect.

Has anyone encountered a similar issue or can suggest a solution?

Thank you!

A good read will likely pin down your issue.

As a quick guess you are not running a reverse proxy/https or if you are your websockets aren’t working correctly.

If you aren’t running a reverse proxy fix that NOW. For your own security.

Thank you for your quick response.

I am indeed using a reverse proxy with Nginx, and HTTPS is properly configured on my server.

Have you updated your app? I think the current one is about 4.53

Can you get to your server on your mobile with a browser?

Have you checked your websockets as described?


Hi,

Yes, I have updated the app to version 4.53, but the issue still persists. I can also access my server via the mobile browser without any problems. Additionally, I have checked my websockets as described, and everything seems to be working fine on that front.

Do you have any other suggestions?

Thanks for your help.

Check you can login to https://open.rocket.chat

yes I can login to https://open.rocket.chat/

Well it isn’t a problem with the app then.

First, you must ALWAYS test on the latest version of Rocket.Chat and use the latest browser or app clients - you can try https://open.rocket.chat which always runs development versions. A large amount of issues are fixed with an update.

You clearly have something going on with your server that you haven’t told us about yet.

Please fill in the server details as requested in my gist.

Most importantly the server version which you haven’t mentioned.

Pretty sure that will give us the answer.

https://docs.rocket.chat/docs/version-durability

Thanks for the response. I will provide the required server details as per the gist:

  • Rocket.Chat server version: 6.7.2
  • Operating System: Ubuntu
  • Deployment method: Docker
  • MongoDB version: 5.0
  • Number of active users: 23
  • Mobile client version: 4.53
  • Websockets: Confirmed working

Let me know if you need any additional details to troubleshoot this further.

Thanks for your help!

First you should really keep up to date with releases.

6.7.9 is available. IIRC there are some security bug fixes that you should have applied.

Next EOL.

https://docs.rocket.chat/docs/version-durability

There is a link somewhere that the server checks to see what version is are supported but I can’t find it.

I think connections are blocked for mobiles on unsupported versions. That’s the giveaway.

Test by upgrading to a newer version and try to connect.

ok, Thanks for your assistance!

Please let us know if this fixes it.