Cloudfront Realtime WSS error

Hi, I'm using the community supabase-on-aws (https://github.com/supabase-community/supabase-on-aws/issues/9#issuecomment-1890956235)

I doubt I'm going to get much help on that github issue so I'm trying my shot.

Essentially I've deployed the cloudformation stack, everything works great EXCEPT realtime seems to not work.

I get
This site can’t be reachedThe webpage at wss://mywebsite.com/realtime/v1/websocket?apikey=XXXXX&vsn=1.0.0 might be temporarily down or it may have moved permanently to a new web address.
ERR_UNKNOWN_URL_SCHEME


When I modify the above URL to https, i get:
Access to mywebsite.com was denied
You don't have authorization to view this page.
HTTP ERROR 403


Of course mywebsite goes to my real supabase URL, same thing with the alternate domain or directly with the cloudfront URL.

Any help? Thank you!
GitHub
Bug report Describe the bug I believe this is something relating to the "NamespaceName" parameter that makes all the services link up using an internal dns name. Without any further docum...
Was this page helpful?