WebSocket Connect

network · A240 · starter-package 7.0.1

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

ConnectorTypeRequired
WebSocket URLtextYes
SubprotocolslistNo
Connect timeout (ms)numberYes

Outputs

ConnectorType
WebSockettext
Negotiated protocoltext

Settings

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
timeoutMsConnect timeout (ms)number30000100–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.

IDSettingControlDefaultBounds/options
timeoutMsConnect timeout (ms)number30000—

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.