self-hosted icon indicating copy to clipboard operation
self-hosted copied to clipboard

bug: Can't join voice chat "400 Bad Request"

Open thijsvanloef opened this issue 5 months ago • 1 comments

What happened?

Hi! I've just setup my first Revolt server but I'm running into an issue. When trying to join a voice channel I get the following error in my console:

Error: Request failed with status code 400
    createError$1 createError.js:16
    settle settle.js:17
    Ar xhr.js:66
VoiceState.ts:115:20
    connect VoiceState.ts:115

The compose logs show the following:

api-1            |  INFO  rocket::server                                                   > POST /channels/01JYCAEZRY62DVDB7B6SF2748H/join_call:
api-1            |  INFO  rocket::server::_                                                > Matched: (call) POST /channels/<target>/join_call
api-1            |  INFO  rocket::server::_                                                > Outcome: Success(400 Bad Request)
api-1            |  INFO  rocket::server::_                                                > Response succeeded.
database-1       | {"t":{"$date":"2025-06-22T17:25:02.549+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:39538","isLoadBalanced":false,"uuid":{"uuid":{"$uuid":"402b7ff8-c7a6-4d74-97dd-064a6fb579c3"}},"connectionId":151,"connectionCount":12}}
database-1       | {"t":{"$date":"2025-06-22T17:25:02.561+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn151","msg":"client metadata","attr":{"remote":"127.0.0.1:39538","client":"conn151","negotiatedCompressors":[],"doc":{"application":{"name":"mongosh 2.5.2"},"driver":{"name":"nodejs|mongosh","version":"6.16.0|2.5.2"},"platform":"Node.js v20.19.2, LE","os":{"name":"linux","architecture":"x64","version":"3.10.0-327.22.2.el7.x86_64","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}}
database-1       | {"t":{"$date":"2025-06-22T17:25:02.681+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:39554","isLoadBalanced":false,"uuid":{"uuid":{"$uuid":"c3b8f3cf-6bf1-4daf-b560-626812184497"}},"connectionId":152,"connectionCount":13}}
database-1       | {"t":{"$date":"2025-06-22T17:25:02.682+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:39568","isLoadBalanced":false,"uuid":{"uuid":{"$uuid":"ad1db49b-0e53-4c94-94a8-987e3c005aff"}},"connectionId":153,"connectionCount":14}}
database-1       | {"t":{"$date":"2025-06-22T17:25:02.686+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn152","msg":"client metadata","attr":{"remote":"127.0.0.1:39554","client":"conn152","negotiatedCompressors":[],"doc":{"application":{"name":"mongosh 2.5.2"},"driver":{"name":"nodejs|mongosh","version":"6.16.0|2.5.2"},"platform":"Node.js v20.19.2, LE","os":{"name":"linux","architecture":"x64","version":"3.10.0-327.22.2.el7.x86_64","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}}
database-1       | {"t":{"$date":"2025-06-22T17:25:02.690+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn153","msg":"client metadata","attr":{"remote":"127.0.0.1:39568","client":"conn153","negotiatedCompressors":[],"doc":{"application":{"name":"mongosh 2.5.2"},"driver":{"name":"nodejs|mongosh","version":"6.16.0|2.5.2"},"platform":"Node.js v20.19.2, LE","os":{"name":"linux","architecture":"x64","version":"3.10.0-327.22.2.el7.x86_64","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}}
database-1       | {"t":{"$date":"2025-06-22T17:25:02.698+00:00"},"s":"I",  "c":"NETWORK",  "id":6788700, "ctx":"conn152","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":11}}
database-1       | {"t":{"$date":"2025-06-22T17:25:02.700+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"127.0.0.1:39572","isLoadBalanced":false,"uuid":{"uuid":{"$uuid":"93fcb77f-c803-484a-9ce6-b0088dfd8ffe"}},"connectionId":154,"connectionCount":15}}
database-1       | {"t":{"$date":"2025-06-22T17:25:02.721+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn154","msg":"client metadata","attr":{"remote":"127.0.0.1:39572","client":"conn154","negotiatedCompressors":[],"doc":{"application":{"name":"mongosh 2.5.2"},"driver":{"name":"nodejs|mongosh","version":"6.16.0|2.5.2"},"platform":"Node.js v20.19.2, LE","os":{"name":"linux","architecture":"x64","version":"3.10.0-327.22.2.el7.x86_64","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}}
database-1       | {"t":{"$date":"2025-06-22T17:25:02.724+00:00"},"s":"I",  "c":"NETWORK",  "id":6788700, "ctx":"conn154","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":3}}
database-1       | {"t":{"$date":"2025-06-22T17:25:03.451+00:00"},"s":"I",  "c":"-",        "id":20883,   "ctx":"conn151","msg":"Interrupted operation as its client disconnected","attr":{"opId":171009}}
database-1       | {"t":{"$date":"2025-06-22T17:25:03.452+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn151","msg":"Connection ended","attr":{"remote":"127.0.0.1:39538","isLoadBalanced":false,"uuid":{"uuid":{"$uuid":"402b7ff8-c7a6-4d74-97dd-064a6fb579c3"}},"connectionId":151,"connectionCount":14}}
database-1       | {"t":{"$date":"2025-06-22T17:25:03.453+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn154","msg":"Connection ended","attr":{"remote":"127.0.0.1:39572","isLoadBalanced":false,"uuid":{"uuid":{"$uuid":"93fcb77f-c803-484a-9ce6-b0088dfd8ffe"}},"connectionId":154,"connectionCount":13}}
database-1       | {"t":{"$date":"2025-06-22T17:25:03.453+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn153","msg":"Connection ended","attr":{"remote":"127.0.0.1:39568","isLoadBalanced":false,"uuid":{"uuid":{"$uuid":"ad1db49b-0e53-4c94-94a8-987e3c005aff"}},"connectionId":153,"connectionCount":12}}
database-1       | {"t":{"$date":"2025-06-22T17:25:03.454+00:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn152","msg":"Connection ended","attr":{"remote":"127.0.0.1:39554","isLoadBalanced":false,"uuid":{"uuid":{"$uuid":"c3b8f3cf-6bf1-4daf-b560-626812184497"}},"connectionId":152,"connectionCount":11}}

Docker image versions:

Image

thijsvanloef avatar Jun 22 '25 17:06 thijsvanloef

+1 Same think

AlexDevera avatar Jun 26 '25 09:06 AlexDevera

i have the same issue

hambn avatar Jul 18 '25 09:07 hambn

As per README, voice channels are not currently supported in their current state; https://github.com/revoltchat/self-hosted/pull/138#issuecomment-2762682655

insertish avatar Jul 18 '25 10:07 insertish