Closed paramazo closed 2 weeks ago
Besides the fact that I would highly recommend updating to the latest version of talk:
Could not connect to server using backend url https://192.168.11.18/ocs/v2.php/apps/spreed/api/v3/signaling/backend Object { id: "1", type: "error", error: {…} }
Can you please post the expanded error here? Also please check the signaling servers log.
Thanks for your response @SystemKeeper
Here are the expanded errors from browsers console:
Could not connect to server using backend url https://192.168.11.18/ocs/v2.php/apps/spreed/api/v3/signaling/backend
Object { id: "1", type: "error", error: {…} }
[signaling.js:1081:10](webpack:///talk/src/utils/signaling.js)
helloResponseReceived signaling.js:1081
onmessage signaling.js:777
Ignore unknown error
Object { id: "1", type: "error", error: {…} }
[signaling.js:830:12](webpack:///talk/src/utils/signaling.js)
onmessage signaling.js:830
Signaling log when this error occurs on page reload:
Aug 30 16:57:47 talk01 signaling[445]: client.go:283: Client from 192.168.10.231 has RTT of 29 ms (29.9
5765ms)
Aug 30 16:57:49 talk01 signaling[445]: client.go:283: Client from 192.168.10.231 has RTT of 20 ms (20.7
44113ms)
Aug 30 16:57:50 talk01 signaling[445]: client.go:283: Client from 192.168.10.231 has RTT of 5 ms (5.458
374ms)
Aug 30 16:57:51 talk01 signaling[445]: client.go:283: Client from 192.168.10.231 has RTT of 6 ms (6.700
626ms)
Aug 30 16:57:52 talk01 signaling[445]: client.go:283: Client from 192.168.10.231 has RTT of 9 ms (9.781
341ms)
Aug 30 16:57:53 talk01 signaling[445]: client.go:283: Client from 192.168.10.231 has RTT of 2 ms (2.386
309ms)
Aug 30 16:57:54 talk01 signaling[445]: client.go:283: Client from 192.168.10.231 has RTT of 8 ms (8.777
714ms)
Aug 30 16:57:55 talk01 signaling[445]: client.go:283: Client from 192.168.10.231 has RTT of 13 ms (13.0
51447ms)
Aug 30 16:57:56 talk01 signaling[445]: client.go:283: Client from 192.168.10.231 has RTT of 3 ms (3.827
291ms)
Aug 30 16:57:58 talk01 signaling[445]: client.go:283: Client from 192.168.10.231 has RTT of 9 ms (9.582
093ms)
Object { id: "1", type: "error", error: {…} }
Sorry, this is what I meant, the "error" key should be expanded.
Ah ok, here is the expanded error @SystemKeeper
Ignore unknown error
Object { id: "1", type: "error", error: {…} }
error: Object { code: "token_not_valid_yet", message: "The token is not valid yet." }
code: "token_not_valid_yet"
message: "The token is not valid yet."
<prototype>: Object { … }
id: "1"
type: "error"
<prototype>: Object { … }
In the meantime i updated the nextcloud to 29.0.5 and talk app to 19.0.8. The behaviour is the same.
code: "token_not_valid_yet"
This indicates that the time on the server is not set correctly, it is probably some seconds ahead - can you please check that?
the server time is indeed some seconds ahead. I will check this, thank you.
// Fixing my NTP TImeserver was the solution for this
Thanks for the info. I’ll close this issue now, as it is related to server time.
How to use GitHub
Steps to reproduce
Open a Talk conversation
Expected behaviour
Conversation should open without errors
Actual behaviour
Errors in browser console ("Could not connect to server using backend url") and nextloud notifications with signaling server for 7-10 seconds are shown. Then it works as expected. This issue exists reproducible for every user since some days and we dont know why. We can not see performance issues or issues with network connectivity to the signaling server.
Talk app
Talk app version: 19.0.1
Custom Signaling server configured: yes, version 1.2.4
Custom TURN server configured: yes
Custom STUN server configured: yes
Browser
Microphone available: yes
Camera available: yes
Operating system: Debian 11
Browser name: Firefox
Browser version: 115.14.0esr (64-bit)
Browser log
Server configuration
Operating system: Debian 11
Web server: Apache
Database: Maria
PHP version: 8.2
Nextcloud Version: 29.0.5
List of activated apps:
Nextcloud configuration:
Server log (data/nextcloud.log)