Closed baek-sang closed 1 year ago
What TLS version do you have configure for your server? I've looked up the error and it says errSSLPeerProtocolVersion
so I wonder if it is your TLS version or maybe the ciphers being used
@enahum TLS_AES_128_GCM_SHA256, TLS 1.3
@baek-sang can you try using
TLS_AES_128_GCM_SHA256
TLS_AES_256_GCM_SHA384
TLS_CHACHA20_POLY1305_SHA256
@enahum
TLS_AES_128_GCM_SHA256 TLS_AES_256_GCM_SHA384 TLS_CHACHA20_POLY1305_SHA256
Same issue.
Were having the same problem, can access the websocket via browser but not from android.
2023/09/25 13:10:42.938 INFO websocket connecting to wss://chat.carseandwaterman.com/api/v4/websocket?connection_id=&sequence_number=0
2023/09/25 13:10:42.968 INFO Running "Home
2023/09/25 13:10:43.637 WARN Handling Javascript error websocket error false
2023/09/25 13:10:43.639 ERROR websocket error wss://chat.carseandwaterman.com/api/v4/websocket?connection_id=&sequence_number=0
2023/09/25 13:10:43.640 WARN Handling Javascript error WEBSOCKET ERROR EVENT false
2023/09/25 13:10:43.642 ERROR WEBSOCKET ERROR EVENT {
"message": {
"error": "Forbidden"
},
"url": "wss:\/\/chat.carseandwaterman.com\/api\/v4\/websocket?connection_id=&sequence_number=0"
}
2023/09/25 13:10:44.008 INFO WEBSOCKET RECONNECT MODELS BATCHING TOOK 53ms
2023/09/25 13:10:44.334 DEBUG error on fetchBindings Response with status code 404
2023/09/25 13:12:36.951 INFO Launch app in Home screen
2023/09/25 13:12:36.982 INFO websocket connecting to wss://chat.carseandwaterman.com/api/v4/websocket?connection_id=&sequence_number=0
2023/09/25 13:12:37.020 INFO Running "Home
2023/09/25 13:12:37.647 WARN Handling Javascript error websocket error false
2023/09/25 13:12:37.649 ERROR websocket error wss://chat.carseandwaterman.com/api/v4/websocket?connection_id=&sequence_number=0
2023/09/25 13:12:37.650 WARN Handling Javascript error WEBSOCKET ERROR EVENT false
2023/09/25 13:12:37.651 ERROR WEBSOCKET ERROR EVENT {
"message": {
"error": "Forbidden"
},
"url": "wss:\/\/chat.carseandwaterman.com\/api\/v4\/websocket?connection_id=&sequence_number=0"
}
2023/09/25 13:12:38.191 INFO WEBSOCKET RECONNECT MODELS BATCHING TOOK 102ms
2023/09/25 13:12:38.610 DEBUG error on fetchBindings Response with status code 404
2023/09/25 13:12:42.747 INFO Running "Server
2023/09/25 13:12:52.981 INFO Running "Login
2023/09/25 13:13:08.245 INFO websocket connecting to wss://chat.carseandwaterman.com/api/v4/websocket?connection_id=&sequence_number=0
2023/09/25 13:13:08.745 WARN Handling Javascript error websocket error false
2023/09/25 13:13:08.752 ERROR websocket error wss://chat.carseandwaterman.com/api/v4/websocket?connection_id=&sequence_number=0
2023/09/25 13:13:08.754 WARN Handling Javascript error WEBSOCKET ERROR EVENT false
2023/09/25 13:13:08.756 ERROR WEBSOCKET ERROR EVENT {
"message": {
"error": "Forbidden"
},
"url": "wss:\/\/chat.carseandwaterman.com\/api\/v4\/websocket?connection_id=&sequence_number=0"
}
2023/09/25 13:13:09.835 INFO WEBSOCKET RECONNECT MODELS BATCHING TOOK 20ms
2023/09/25 13:13:10.330 INFO Running "Home
2023/09/25 13:13:10.867 DEBUG error on fetchBindings Response with status code 404
2023/09/25 13:13:15.668 INFO channel switch to Town Square a5ebexwyxtnydrx7p5ue7ikhho 84.0 ms
2023/09/25 13:13:15.706 INFO Running "Channel
2023/09/25 13:13:20.041 INFO channel switch to 1_rich_r 679x68js3tngpjqbq68kwn63ty 105.0 ms
2023/09/25 13:13:20.093 INFO Running "Channel
2023/09/25 13:16:25.445 INFO Running "GlobalThreads
2023/09/25 13:16:32.452 INFO Running "Server
2023/09/25 13:16:38.328 INFO Running "Login
2023/09/25 13:20:04.506 INFO Running "Login
2023/09/25 13:23:02.980 DEBUG Server ping threw an exception Response with status code 301
2023/09/25 13:37:16.963 INFO Running "Login
2023/09/25 13:37:37.351 INFO websocket connecting to wss://chat.carseandwaterman.com/api/v4/websocket?connection_id=&sequence_number=0
2023/09/25 13:37:37.823 WARN Handling Javascript error websocket error false
2023/09/25 13:37:37.830 ERROR websocket error wss://chat.carseandwaterman.com/api/v4/websocket?connection_id=&sequence_number=0
2023/09/25 13:37:37.832 WARN Handling Javascript error WEBSOCKET ERROR EVENT false
2023/09/25 13:37:37.834 ERROR WEBSOCKET ERROR EVENT {
"message": {
"error": "Forbidden"
},
"url": "wss:\/\/chat.carseandwaterman.com\/api\/v4\/websocket?connection_id=&sequence_number=0"
}
2023/09/25 13:37:38.767 INFO WEBSOCKET RECONNECT MODELS BATCHING TOOK 14ms
2023/09/25 13:37:39.191 INFO Running "Home
2023/09/25 13:37:39.715 DEBUG error on fetchBindings Response with status code 404
2023/09/25 13:41:44.056 INFO channel switch to 1_gary_c khh8u676hbr7icjho5u9os7m9o 163.0 ms
2023/09/25 13:41:44.123 INFO Running "Channel
2023/09/25 13:41:52.898 DEBUG error on fetchSessions Received invalid response from the server.; Software caused connection abort
2023/09/25 13:41:59.211 INFO Running "BottomSheet
2023/09/25 13:43:19.325 INFO websocket connecting to wss://chat.carseandwaterman.com/api/v4/websocket?connection_id=&sequence_number=0
2023/09/25 13:43:24.263 INFO Running "Settings
2023/09/25 13:43:36.805 INFO Running "MattermostShare
Summary
Main home top show
The server is not reachable
Server select showServer is unreachable.
Environment Information
Steps to reproduce
Expected behavior
No error.
Observed behavior (that appears unintentional)
The desktop app & web app has no problem receiving notifications or sending and receiving messages.
In the mobile app, notifications come in real time, but chats are not updated in real time.