Comments (6)
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 🤔
from gatus.
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?
from gatus.
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.
from gatus.
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
from gatus.
The only thing I can say to you now is that I have a bot connected to wss (IPv4 only).
from gatus.
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
from gatus.
Related Issues (20)
- `badges.shields` always returns `label: gatus` instead of endpoint name. HOT 2
- Allow alerting on external endpoints that do not receive a push within a configurable time frame HOT 2
- Provide Backend Error messages via Gatus frontend
- x509: certificate signed by unknown authority HOT 2
- Ping not working in neither docker nor k3s HOT 4
- Details page is empty when CJK chars is used in endpoint name HOT 1
- Badges for groups
- Domain expiration not updating HOT 4
- Expose Raw Uptime Data via the API
- Please add additional Endpoint
- Nginx service health check
- Monitor Unix domain sockets
- Ability to send http headers
- Allow setting a priority on resolved Pushover notifications HOT 1
- Default alert settings not used for external endpoint HOT 3
- [Question] How monitoring docker container? HOT 1
- Case change in config file not effective
- Add support for DNS over TLS and DNS over HTTPS HOT 1
- A delay in sending email alerts blocks endpoint healthchecks from being run
- Add condition result to pushover alerts
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatus.