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

5 months 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

5 months 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

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

5 months ago

yes BASE_URL is set to the custom domain


firemuzzy
PROOP

5 months 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 5 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...