All posts

CortenDesk 1.5.1 fixes web client WebSocket URLs

Web client WebSocket endpoints now follow APP_URL, fixing console setups on HTTP, custom ports, or a different host.

A browser window connects through a bridge to server blocks with a single aligned cable.
WebSocket URL fix1.5.1

Web client WebSocket URLs now follow APP_URL, so the browser gets endpoints that match where your console is served.

WebSocket URLs match the console

Before 1.5.1, the default web client WebSocket URLs were built as wss://<id server host>/ws/* with the port stripped.

That broke setups where the console was served over plain HTTP, on a port other than 443, or on a different host from the ID server. The browser received an address it could not reach, and the socket failed before it opened.

The defaults now carry the scheme and port from the console, which is where the bridge listens.

Custom endpoint overrides stay in place

If your WebSocket endpoints live on another host, CORTENDESK_WS_ID_URL and CORTENDESK_WS_RELAY_URL still override the defaults.

Updating

This is a console-only change. There are no migrations.

Pull the new image tag and restart:

docker pull marcpope/cortendesk:1.5.1
docker pull ghcr.io/marcpope/cortendesk:1.5.1

Read the full CortenDesk 1.5.1 release notes.