Open one WebSocket connection to the visible URL and return its Text ID for later WebSocket blocks.
When to use
Open one WebSocket connection to the visible URL and return its Text ID for later WebSocket blocks.
Connectors
Inputs
| Connector | Type | Required |
|---|---|---|
WebSocket URL | text | Yes |
Subprotocols | list | No |
Connect timeout (ms) | number | Yes |
Outputs
| Connector | Type |
|---|---|
WebSocket | text |
Negotiated protocol | text |
Settings
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
timeoutMs | Connect timeout (ms) | number | 30000 | 100–60000 |
Behavior and boundaries
After local validation, this official package opens and manages the WebSocket itself with built-in WebSocket support. Connect the resulting WebSocket output to Send, Receive, or Close blocks in the same workflow run; connection timeouts, message sizes, close, and cleanup are bounded.
The required Text connector accepts validated WebSocket URL text from URL Value or another Text output. Only ws and wss public-DNS URLs on ports 80/443 are accepted; a malformed value, wrong scheme, embedded credentials, fragment, or unsupported address fails before a connection is attempted. All other data and actions have fixed safety limits. Secrets and local file paths never appear in workflow output.
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
timeoutMs | Connect timeout (ms) | number | 30000 | — |
Recovering from errors
Correct the highlighted connector or setting. Reconnect credentials, files, sockets, requests, or responses from an earlier successful block in the same run. Check the URL and external service, approve any confirmation prompt, and try again. If the same valid input fails again, update Nodestly and this official add-on.
