Open roughnecks opened 10 months ago
To be honest, I don't currently monitor any websocket endpoint myself, but perhaps @heitorPB will see something I don't as they're the one who implemented the feature 🤔
Hey @roughnecks!
What errors did you get? Did you check the logs?
I switched jobs recently and I'm not monitoring websocket endpoints anymore. But I also saw some errors when monitoring wss endpoints that returned large payloads. Maybe there's some internal buffers that are not large enough by default and could be configured to hold more data?
Or some other bug in the code?
Hi @heitorPB What logs are you referring to?
I tried enabling debug logs but journalctl -xeu gatus.service
doesn't say much
And I don't know why there's no nginx logs, like access and error logs are not even created.
I was referring to the Gatus logs, in debug mode. Something like journalctl --unit gatus.service --grep "wss"
.
Can you connect directly to your websocket? Like websocat woodpeckersnest.space:5281/xmpp-websocket
?
I can't reach it via websocket:
$ websocat -v -H='Sec-Websocket-Protocol: xmpp' -H='seb-websocket-version: 13' -H='upgrade: websocket' wss://woodpeckersnest.space/xmpp-websocket
[INFO websocat::lints] Auto-inserting the line mode
[INFO websocat::stdio_threaded_peer] get_stdio_peer (threaded)
[INFO websocat::ws_client_peer] get_ws_client_peer
websocat: WebSocketError: WebSocketError: Received unexpected status code (404 Not Found)
websocat: error running
The only thing I can say to you now is that I have a bot connected to wss (IPv4 only).
I get the same result bad status
for a websocket check
- alerts:
- type: slack
conditions:
- '[CONNECTED] == true'
interval: 60s
name: gameserver
url: wss://spiel.bummerl.at/websocket
❯ websocat wss://spiel.bummerl.at/websocket
{"type":"youMustAuthenticate","requiredClientVersion":"2.0","pingTimeout":"infinity"}
^C
Describe the bug
Not sure if a bug but I cannot get the wss endpoint to work with my prosody instance.
This is my configuration:
What do you see?
What do you expect to see?
No response
List the steps that must be taken to reproduce this issue
Version
I installed with GO
Additional information
No response