WebSocket over SSL failing on custom domain but works on default url
firemuzzy
PROOP

a month ago

I deployed Planka using the provided template. The default ************.railway.app url works fine however after adding a custom domain and waiting for the certificate to generate the WSS connection fails to connect to the custom domain.

Does anything else need to be configured for wss:// to work with custom domains?

Solved$10 Bounty

Pinned Solution

firemuzzy
PROOP

a month ago

Figured it out, although the BASE_URL was automatically updated after I added the custom domain, I had to 'redeploy' the server now it is fixed. I only tried restarting it before.

3 Replies

darseen
HOBBYTop 5% Contributor

a month ago

Did you change your BASE_URL variable to the new custom domain?


darseen

Did you change your BASE_URL variable to the new custom domain?

firemuzzy
PROOP

a month ago

yes BASE_URL is set to the custom domain


firemuzzy
PROOP

a month ago

Figured it out, although the BASE_URL was automatically updated after I added the custom domain, I had to 'redeploy' the server now it is fixed. I only tried restarting it before.


Status changed to Solved noahd about 1 month ago


Loading...