does this error go away after some time or does it persist across app restarts and refreshes? Any other functionality impacted, like notifications?
Did you already try to switch networks (wifi → gsm, gsm → wifi) in order to verify that the problem is not related to a specific connection?
Does your Mattermost domain have an IPv6 record and is it reachable via IPv6 properly?
Thanks, this sounds like a problem with the websockets which also indicates the error your seeing, so your mobile client is not able to establish a solid websocket connection to the server. The websocket is used for streaming events and notifying the mobile app about a new post f.ex.
Trying to find out how to further debug that and will update you once I know.
Also, can you please verify the build number of your app? Click on your profile picture on the bottom right, then on Settings and then on “About ”. It should be build 452.
Also, if it really is 452, can you please click on the “Report a problem” link at the bottom of the Settings screen and send yourself the logs and attach the relevant parts here? Not sure if they contain sensitive information, you might want to DM them to me or strip the relevant parts out of it first before posting them publicly.
Got the same issue: App showing “The server is not reachable” and no notification on incoming messages.
Could it be an incompatibility with the new Android app and our server which is still on the previous version ?
2023/01/23 17:35:19.121 INFO Launch app in Home screen
2023/01/23 17:35:19.200 INFO Running "Home
2023/01/23 17:35:21.195 INFO websocket connecting to wss://xxxxxxxxx.com:443/api/v4/websocket
2023/01/23 17:35:22.279 WARN Handling Javascript error websocket error false
2023/01/23 17:35:22.281 ERROR websocket error wss://xxxxxxxxx.com:443/api/v4/websocket
2023/01/23 17:35:22.283 WARN Handling Javascript error WEBSOCKET ERROR EVENT false
2023/01/23 17:35:22.290 ERROR WEBSOCKET ERROR EVENT {
"message": {
"error": "Forbidden"
},
"url": "wss:\/\/xxxxxxxxx.com:443\/api\/v4\/websocket"
}
On my computer, in the browser, the web socket call works fine. wss://xxxxxxxxx.com/api/v4/websocket?connection_id=&sequence_number=0 Status Code: 101 Switching Protocols
Are you two probably using self signed certificates or any other forum of non-official or path-broken certificates in your Mattermost server that could explain this behaviour?
The useragent changed for the new mobile app, do you maybe have a reverse proxy with useragent filtering in front of your Mattermost application server?
I am in this scenario and yes, I have mine behind a reverse proxy, but without useragent filtering. This began for me when I updated my android app to the latest version as of right now.
Hi @c-lombardi and welcome to the Mattermost forums!
So you’re using a selfsigned certificate here on your server?
You’re also getting a “the server is not reachable” message and cannot use it at all, right?
Hi @daniel_rie and welcome to the Mattermost forums!
What server and mobile app versions are you running and can you connect to your server just fine when you use the browser on your mobile app? Also, can you verify that the SiteUrl configuration variable of your Mattermost server is set to exactly the value you’re using in the mobile app’s connection profile?
latest version of server and app + site url set correctly.
Browser app works just fine. Some users cannot start calls, because they drop out after seconds - or while „connecting“.
@Eooooq I just got word that the error code 9836 in your setup translates to A bad protocol version was encountered, so this sounds like an issue with the TLS ciphers and/or version. Can you make sure that the server is also supporting recent cipher suites and TLS versions and not just outdated ones?
@daniel_rie Alright, thanks for verifying. Can you check your logs (click on your profile picture → settings → report a problem) and send them to your mail and upload them here then (at least the relevant parts)?