Skip to content

Fix deployments of applications with WebSockets - #68

Open
mnapoli wants to merge 1 commit into
mainfrom
websocket-endpoint-output
Open

mnapoli wants to merge 1 commit into
mainfrom
websocket-endpoint-output

Conversation

@mnapoli

@mnapoli mnapoli commented Nov 5, 2026

Copy link
Copy Markdown
Member

Deploying an application with both a WebSocket API and another endpoint (e.g. a Function URL) fails after the stack has deployed, and Bref Cloud marks the deployment as failed:

Exception: Impossible to parse the output of 'serverless info':
endpoints:
  wss://abc123.execute-api.eu-west-3.amazonaws.com/prod
  web: https://abc123.lambda-url.eu-west-3.on.aws/

The bare wss:// line is not valid YAML. It is now removed before parsing, like the ANY - lines of API Gateway.

Verified on a real application with a WebSocket API in the sandbox: the deployment now succeeds.

The `wss://` line in the output of `serverless info` is not valid YAML.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant