coolify icon indicating copy to clipboard operation
coolify copied to clipboard

Supabase endpoint setting in Kong for realtime websocket connections is incorrect

Open actraiser opened this issue 3 months ago • 0 comments

Supabase Installation works at first glance but the realtime feature is not. Using realtime in the browser results in errors for the wss:// connection. The problem is an incorrect url in the Kong configuration under storages:

  ## Secure Realtime routes
  - name: realtime-v1
    _comment: 'Realtime: /realtime/v1/* -> ws://realtime:4000/socket/*'
    url: http://realtime-dev.supabase-realtime:4000/socket/
    routes:

The Realtime Route points to http://realtime-dev.supabase-realtime:4000/socket but the correct url is http://realtime-dev:4000/socket/

Greets -act

actraiser avatar Apr 18 '24 12:04 actraiser