Mattermost android client cannot connecting server

drivice: Redmi K20 Pro

app version: 2.31.0

2025/08/24 19:45:38.851 INFO ReactNative: Cleaning temp cache /data/user/0/com.mattermost.rn/cache/mmShare

2025/08/24 19:45:40.513 INFO TurboLogger: Running “Onboarding”

2025/08/24 19:45:41.794 DEBUG TurboLogger: Notification token registered android_rn-v2:fAO0eKz8RbaOBFH0Vtixac:APA91bGpe4EG4HmlbHH5jHvonGhQ_lwWS-KM0-VVnOfRv6osRWNiEQEmwH4uNmr1f2HTRp0nh9DdrmpXTHK3AjSlryZ2Vspnuo1Q_YS0AlumsFGZjuCcBA0

2025/08/24 19:45:43.025 INFO TurboLogger: Running “Server”

2025/08/24 19:46:10.843 INFO TurboLogger: Running “Login”

2025/08/24 19:46:26.271 INFO TurboLogger: websocket connecting to wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 19:46:26.779 WARN TurboLogger: Handling Javascript error websocket error false

2025/08/24 19:46:26.781 ERROR TurboLogger: websocket error wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 19:46:26.782 WARN TurboLogger: Handling Javascript error WEBSOCKET ERROR EVENT false

2025/08/24 19:46:26.788 ERROR TurboLogger: WEBSOCKET ERROR EVENT {

“url”: “wss:\/\/******\/api\/v4\/websocket?connection_id=&sequence_number=0”,

“message”: {

"error": "Forbidden"

}

}

2025/08/24 19:46:27.692 DEBUG TurboLogger: Process models on entry Login 47.0 67ms

2025/08/24 19:46:27.709 INFO TurboLogger: WEBSOCKET RECONNECT MODELS BATCHING TOOK 24ms

2025/08/24 19:46:27.789 INFO TurboLogger: Running “Home”

2025/08/24 19:46:27.914 DEBUG TurboLogger: Time to Interaction 2062.4701550006866

2025/08/24 19:46:42.418 INFO ReactNative: Send receipt delivery ACK= TYPE=test to URL=https://****** with ID-LOADED=false

2025/08/24 19:46:42.444 INFO ReactNative: Network already initialized

2025/08/24 19:46:42.445 INFO ReactNative: Send receipt delivery ACK=iftt6noktfnmfxqyhpond6hfjw TYPE=message to URL=https://****** with ID-LOADED=false

2025/08/24 19:46:42.464 INFO ReactNative: Network already initialized

2025/08/24 19:46:42.465 INFO ReactNative: Send receipt delivery ACK= TYPE=test to URL=https://****** with ID-LOADED=false

2025/08/24 19:46:42.481 INFO ReactNative: Network already initialized

2025/08/24 19:46:42.482 INFO ReactNative: Send receipt delivery ACK= TYPE=test to URL=https://****** with ID-LOADED=false

2025/08/24 19:46:42.507 INFO ReactNative: Network already initialized

2025/08/24 19:46:42.507 INFO ReactNative: Send receipt delivery ACK=wce488f5hjrytef5sq9kuwdq3a TYPE=message to URL=https://****** with ID-LOADED=false

2025/08/24 19:46:42.526 INFO ReactNative: Network already initialized

2025/08/24 19:46:42.527 INFO ReactNative: Send receipt delivery ACK=qpninz5mc7f1tqx6a9gsf3tqha TYPE=clear to URL=https://****** with ID-LOADED=false

2025/08/24 19:46:42.549 INFO ReactNative: Network already initialized

2025/08/24 19:46:42.549 INFO ReactNative: Send receipt delivery ACK=4m9cssuqnpdei8iiuidqmyfyqc TYPE=message to URL=https://****** with ID-LOADED=false

2025/08/24 19:46:42.577 INFO ReactNative: Network already initialized

2025/08/24 19:46:42.577 INFO ReactNative: Send receipt delivery ACK=9ohczqrw3i8d9kstqfg8iiefsc TYPE=clear to URL=https://****** with ID-LOADED=false

2025/08/24 19:46:42.597 INFO ReactNative: Network already initialized

2025/08/24 19:46:42.617 INFO ReactNative: Network already initialized

2025/08/24 19:46:42.636 INFO ReactNative: Network already initialized

2025/08/24 19:46:42.899 INFO Mattermost Notifications Signature verification: Server version should send signature

2025/08/24 19:46:42.900 INFO Mattermost Notifications Signature verification: Notification skipped because we could not verify it.

2025/08/24 19:46:42.900 INFO ReactNative: Send receipt delivery ACK= TYPE=test to URL=https://****** with ID-LOADED=false

2025/08/24 19:46:43.108 INFO TurboLogger: Running “BottomSheet”

2025/08/24 19:46:43.152 INFO Mattermost Notifications Signature verification: Incorrect claim: Expected device_id claim to be: fAO0eKz8RbaOBFH0Vtixac:APA91bGpe4EG4HmlbHH5jHvonGhQ_lwWS-KM0-VVnOfRv6osRWNiEQEmwH4uNmr1f2HTRp0nh9DdrmpXTHK3AjSlryZ2Vspnuo1Q_YS0AlumsFGZjuCcBA0, but was: elj6EpquQWiBLACeliEiLk:APA91bF70zC90yRK_5vHFhuDHdTg9BbHiBGQhXTMBN-Pbof-8Q8IEQx551CQXOHR73bpdNR6ndoctJGaN30tRQasdTy9sDle6zphDinugcEK4ohSzRAmGLE.

2025/08/24 19:46:43.153 INFO Mattermost Notifications Signature verification: Notification skipped because we could not verify it.

2025/08/24 19:46:43.154 INFO ReactNative: Send receipt delivery ACK= TYPE=test to URL=https://****** with ID-LOADED=false

2025/08/24 19:46:43.373 INFO Mattermost Notifications Signature verification: Incorrect claim: Expected device_id claim to be: fAO0eKz8RbaOBFH0Vtixac:APA91bGpe4EG4HmlbHH5jHvonGhQ_lwWS-KM0-VVnOfRv6osRWNiEQEmwH4uNmr1f2HTRp0nh9DdrmpXTHK3AjSlryZ2Vspnuo1Q_YS0AlumsFGZjuCcBA0, but was: elj6EpquQWiBLACeliEiLk:APA91bF70zC90yRK_5vHFhuDHdTg9BbHiBGQhXTMBN-Pbof-8Q8IEQx551CQXOHR73bpdNR6ndoctJGaN30tRQasdTy9sDle6zphDinugcEK4ohSzRAmGLE.

2025/08/24 19:46:43.373 INFO Mattermost Notifications Signature verification: Notification skipped because we could not verify it.

2025/08/24 19:46:43.374 INFO ReactNative: Send receipt delivery ACK= TYPE=test to URL=https://****** with ID-LOADED=false

2025/08/24 19:46:43.404 INFO Mattermost Notifications Signature verification: Server version should send signature

2025/08/24 19:46:43.404 INFO Mattermost Notifications Signature verification: Notification skipped because we could not verify it.

2025/08/24 19:46:43.428 INFO Mattermost Notifications Signature verification: Incorrect claim: Expected device_id claim to be: fAO0eKz8RbaOBFH0Vtixac:APA91bGpe4EG4HmlbHH5jHvonGhQ_lwWS-KM0-VVnOfRv6osRWNiEQEmwH4uNmr1f2HTRp0nh9DdrmpXTHK3AjSlryZ2Vspnuo1Q_YS0AlumsFGZjuCcBA0, but was: elj6EpquQWiBLACeliEiLk:APA91bF70zC90yRK_5vHFhuDHdTg9BbHiBGQhXTMBN-Pbof-8Q8IEQx551CQXOHR73bpdNR6ndoctJGaN30tRQasdTy9sDle6zphDinugcEK4ohSzRAmGLE.

2025/08/24 19:46:43.429 INFO Mattermost Notifications Signature verification: Notification skipped because we could not verify it.

2025/08/24 19:46:43.431 INFO Mattermost Notifications Signature verification: Server version should send signature

2025/08/24 19:46:43.432 INFO Mattermost Notifications Signature verification: Notification skipped because we could not verify it.

2025/08/24 19:46:43.506 INFO Mattermost Notifications Signature verification: Incorrect claim: Expected device_id claim to be: fAO0eKz8RbaOBFH0Vtixac:APA91bGpe4EG4HmlbHH5jHvonGhQ_lwWS-KM0-VVnOfRv6osRWNiEQEmwH4uNmr1f2HTRp0nh9DdrmpXTHK3AjSlryZ2Vspnuo1Q_YS0AlumsFGZjuCcBA0, but was: elj6EpquQWiBLACeliEiLk:APA91bF70zC90yRK_5vHFhuDHdTg9BbHiBGQhXTMBN-Pbof-8Q8IEQx551CQXOHR73bpdNR6ndoctJGaN30tRQasdTy9sDle6zphDinugcEK4ohSzRAmGLE.

2025/08/24 19:46:43.509 INFO Mattermost Notifications Signature verification: Notification skipped because we could not verify it.

2025/08/24 19:46:43.609 INFO Mattermost Notifications Signature verification: Server version should send signature

2025/08/24 19:46:43.611 INFO Mattermost Notifications Signature verification: Notification skipped because we could not verify it.

2025/08/24 19:46:43.686 INFO Mattermost Notifications Signature verification: Server version should send signature

2025/08/24 19:46:43.686 INFO Mattermost Notifications Signature verification: Notification skipped because we could not verify it.

2025/08/24 19:46:43.727 INFO Mattermost Notifications Signature verification: Incorrect claim: Expected device_id claim to be: fAO0eKz8RbaOBFH0Vtixac:APA91bGpe4EG4HmlbHH5jHvonGhQ_lwWS-KM0-VVnOfRv6osRWNiEQEmwH4uNmr1f2HTRp0nh9DdrmpXTHK3AjSlryZ2Vspnuo1Q_YS0AlumsFGZjuCcBA0, but was: elj6EpquQWiBLACeliEiLk:APA91bF70zC90yRK_5vHFhuDHdTg9BbHiBGQhXTMBN-Pbof-8Q8IEQx551CQXOHR73bpdNR6ndoctJGaN30tRQasdTy9sDle6zphDinugcEK4ohSzRAmGLE.

2025/08/24 19:46:43.728 INFO Mattermost Notifications Signature verification: Notification skipped because we could not verify it.

2025/08/24 19:46:43.770 INFO Mattermost Notifications Signature verification: Server version should send signature

2025/08/24 19:46:43.771 INFO Mattermost Notifications Signature verification: Notification skipped because we could not verify it.

2025/08/24 19:47:27.356 INFO TurboLogger: websocket connecting to wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 19:47:28.013 WARN TurboLogger: Handling Javascript error websocket error false

2025/08/24 19:47:28.014 ERROR TurboLogger: websocket error wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 19:47:28.016 WARN TurboLogger: Handling Javascript error WEBSOCKET ERROR EVENT false

2025/08/24 19:47:28.017 ERROR TurboLogger: WEBSOCKET ERROR EVENT {

“url”: “wss:\/\/******\/api\/v4\/websocket?connection_id=&sequence_number=0”,

“message”: {

"error": "Forbidden"

}

}

2025/08/24 19:48:48.255 DEBUG TurboLogger: error on fetchSavedPosts Received invalid response from the server.; unexpected end of stream on https://******/…

2025/08/24 19:48:59.346 INFO TurboLogger: Running “Settings”

2025/08/24 19:49:00.539 INFO TurboLogger: Running “About”

2025/08/24 19:49:48.608 INFO TurboLogger: Running “ReportProblem”

2025/08/24 19:49:52.950 DEBUG TurboLogger: error on fetchSessions Received invalid response from the server.; unexpected end of stream on https://******/…

2025/08/24 19:49:58.930 INFO TurboLogger: websocket connecting to wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 19:49:58.942 WARN TurboLogger: Handling Javascript error websocket error false

2025/08/24 19:49:58.943 ERROR TurboLogger: websocket error wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 19:49:58.944 WARN TurboLogger: Handling Javascript error WEBSOCKET ERROR EVENT false

2025/08/24 19:49:58.949 ERROR TurboLogger: WEBSOCKET ERROR EVENT {

“url”: “wss:\/\/******\/api\/v4\/websocket?connection_id=&sequence_number=0”,

“message”: {

"error": "java.io.IOException: unexpected end of stream on https:\\/\\/\*\*\*\*\*\*\\/..."

}

}

2025/08/24 19:50:00.649 DEBUG TurboLogger: error on fetchSessions Received invalid response from the server.; unexpected end of stream on https://******/…

2025/08/24 20:14:12.952 INFO TurboLogger: websocket connecting to wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 20:14:14.218 WARN TurboLogger: Handling Javascript error websocket error false

2025/08/24 20:14:14.220 ERROR TurboLogger: websocket error wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 20:14:14.221 WARN TurboLogger: Handling Javascript error WEBSOCKET ERROR EVENT false

2025/08/24 20:14:14.223 ERROR TurboLogger: WEBSOCKET ERROR EVENT {

“url”: “wss:\/\/******\/api\/v4\/websocket?connection_id=&sequence_number=0”,

“message”: {

"error": "Forbidden"

}

}

2025/08/24 20:14:21.500 INFO TurboLogger: websocket connecting to wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 20:14:21.568 INFO TurboLogger: Launch app in Home screen

2025/08/24 20:14:21.606 INFO TurboLogger: websocket connecting to wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 20:14:21.614 INFO TurboLogger: Running “Home”

2025/08/24 20:14:21.625 WARN TurboLogger: Handling Javascript error websocket error false

2025/08/24 20:14:21.626 ERROR TurboLogger: websocket error wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 20:14:21.627 WARN TurboLogger: Handling Javascript error WEBSOCKET ERROR EVENT false

2025/08/24 20:14:21.633 ERROR TurboLogger: WEBSOCKET ERROR EVENT {

“url”: “wss:\/\/******\/api\/v4\/websocket?connection_id=&sequence_number=0”,

“message”: {

"error": "Forbidden"

}

}

2025/08/24 20:14:21.733 DEBUG TurboLogger: Time to Interaction 169.39541697502136

2025/08/24 20:14:21.855 WARN TurboLogger: Handling Javascript error websocket error false

2025/08/24 20:14:21.856 ERROR TurboLogger: websocket error wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 20:14:21.856 WARN TurboLogger: Handling Javascript error WEBSOCKET ERROR EVENT false

2025/08/24 20:14:21.857 ERROR TurboLogger: WEBSOCKET ERROR EVENT {

“url”: “wss:\/\/******\/api\/v4\/websocket?connection_id=&sequence_number=0”,

“message”: {

"error": "Forbidden"

}

}

2025/08/24 20:15:57.253 DEBUG TurboLogger: error on fetchSessions Received invalid response from the server.; unexpected end of stream on https://******/…

2025/08/24 20:15:58.002 INFO TurboLogger: websocket connecting to wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 20:15:58.032 WARN TurboLogger: Handling Javascript error websocket error false

2025/08/24 20:15:58.032 ERROR TurboLogger: websocket error wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 20:15:58.033 WARN TurboLogger: Handling Javascript error WEBSOCKET ERROR EVENT false

2025/08/24 20:15:58.033 ERROR TurboLogger: WEBSOCKET ERROR EVENT {

“url”: “wss:\/\/******\/api\/v4\/websocket?connection_id=&sequence_number=0”,

“message”: {

"error": "java.io.IOException: unexpected end of stream on https:\\/\\/\*\*\*\*\*\*\\/..."

}

}

2025/08/24 20:15:58.083 INFO TurboLogger: Launch app in Home screen

2025/08/24 20:15:58.111 INFO TurboLogger: websocket connecting to wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 20:15:58.129 INFO TurboLogger: Running “Home”

2025/08/24 20:15:58.209 DEBUG TurboLogger: Time to Interaction 127.63098898530006

2025/08/24 20:15:58.478 WARN TurboLogger: Handling Javascript error websocket error false

2025/08/24 20:15:58.479 ERROR TurboLogger: websocket error wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 20:15:58.479 WARN TurboLogger: Handling Javascript error WEBSOCKET ERROR EVENT false

2025/08/24 20:15:58.480 ERROR TurboLogger: WEBSOCKET ERROR EVENT {

“url”: “wss:\/\/******\/api\/v4\/websocket?connection_id=&sequence_number=0”,

“message”: {

"error": "Forbidden"

}

}

2025/08/24 20:17:12.184 INFO TurboLogger: Running “BottomSheet”

2025/08/24 20:17:16.402 WARN TurboLogger: Handling Javascript error {

“jsEngine”: “hermes”

} true

2025/08/24 20:17:16.403 WARN TurboLogger: Handling Javascript error {

“jsEngine”: “hermes”

} true

2025/08/24 20:17:16.550 INFO TurboLogger: Running “Onboarding”

2025/08/24 20:17:23.964 INFO ReactNative: Cleaning temp cache /data/user/0/com.mattermost.rn/cache/mmShare

2025/08/24 20:17:25.217 INFO TurboLogger: Running “Onboarding”

2025/08/24 20:17:27.359 INFO TurboLogger: Running “Server”

2025/08/24 20:17:27.648 DEBUG TurboLogger: Notification token registered android_rn-v2:fAO0eKz8RbaOBFH0Vtixac:APA91bGpe4EG4HmlbHH5jHvonGhQ_lwWS-KM0-VVnOfRv6osRWNiEQEmwH4uNmr1f2HTRp0nh9DdrmpXTHK3AjSlryZ2Vspnuo1Q_YS0AlumsFGZjuCcBA0

2025/08/24 20:18:03.339 INFO TurboLogger: Running “Login”

2025/08/24 20:18:21.824 INFO TurboLogger: websocket connecting to wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 20:18:22.386 WARN TurboLogger: Handling Javascript error websocket error false

2025/08/24 20:18:22.388 ERROR TurboLogger: websocket error wss://******/api/v4/websocket?connection_id=&sequence_number=0

2025/08/24 20:18:22.390 WARN TurboLogger: Handling Javascript error WEBSOCKET ERROR EVENT false

2025/08/24 20:18:22.392 ERROR TurboLogger: WEBSOCKET ERROR EVENT {

“url”: “wss:\/\/******\/api\/v4\/websocket?connection_id=&sequence_number=0”,

“message”: {

"error": "Forbidden"

}

}

2025/08/24 20:18:22.550 DEBUG TurboLogger: Process models on entry Login 47.0 46ms

2025/08/24 20:18:22.559 INFO TurboLogger: WEBSOCKET RECONNECT MODELS BATCHING TOOK 73ms

2025/08/24 20:18:22.729 INFO TurboLogger: Running “Home”

2025/08/24 20:18:22.861 DEBUG TurboLogger: Time to Interaction 1442.0699989795685

2025/08/24 20:18:58.009 INFO TurboLogger: Running “Settings”

2025/08/24 20:18:59.339 INFO TurboLogger: Running “About”

2025/08/24 20:19:01.596 INFO TurboLogger: Running “ReportProblem”

Welcome to the community, @ogas! And thanks for sharing the detailed logs! :raising_hands: A “Forbidden” websocket error on the Android app often points to server configuration, SSL, or auth issues. Here are some mobile troubleshooting steps you can start with: Mattermost Mobile App Troubleshooting Guide

but our desktop client is ok,so my server maybe is ok.