Why is my live stream degraded?
If you see a warning that your live stream is degraded, then this most likely means that your IT network is blocking the SlateSafety live stream. When this happens, your live page will update slower.
What causes this problem?
The web app uses a streaming HTTP technology called Server-Sent Events to power the dashboard and live pages. Sometimes IT configurations and settings can be overeager and block the stream.
What are the symptoms?
Because the ability to do a live stream is blocked, the web app will resort to using a slightly older technology that updates data once every 10 seconds instead of live. You will also notice a warning banner on the web app to let you know of this problem.
How can I fix this?
Provide your IT department a link to this support article.
- In most cases, there is a forward proxy or some other intermediary software on the network that is configured to buffer responses from servers. This will cause the proxy to hold all events sent until the stream closes, and consequently no events will be seen by the front-end. The exact setting to change depends on the specific proxy in use, but it usually named something like proxy_buffering, response_buffering, etc.
- Ensure that any endpoint protection or network settings allow for the MIME type text/event-stream. This is the standard MIME-type header for Server-Sent Events, and sometimes security software will block it.