frontend/docs/testing/references/connection-states.md
This document defines all possible connection states in the Rivet Inspector.
Description: No active connection to RivetKit server
UI Indicators:
User Actions Available:
Transitions To:
Description: Attempting to establish connection to RivetKit server
UI Indicators:
User Actions Available:
Transitions To:
Description: Successfully connected to RivetKit server
UI Indicators:
User Actions Available:
Transitions To:
Description: Failed to establish or maintain connection
Sub-states:
UI Indicators:
User Actions Available:
Transitions To:
When: Cannot reach server at specified endpoint
User is informed about:
When: Server responds but is not a RivetKit server
User is informed about:
When: Server blocks request due to CORS policy
User is informed about:
When: Network interruption during connection
User is informed about:
When: Browser blocks access to local network
User is informed about:
Trigger: Connection loss detected while in connected state
Behavior:
Browser Refresh:
URL Parameter:
?u=<endpoint> overrides stored endpoint