Supavisor is not working read/write data using {USER}.cluster.{CLUSTER_ALIAS} - ":tenant_not_found"

Maybe you can help me with the supavisor setup. The thing is that the direct connection "type=single" works, but I'm trying to configure "type=cluster" cluster_tenants to add replica/primary (read/write) and connect like this "postgres://supabase-user-alias.cluster.supabase-realtime:password@ip:6543/supabase" But now I get the error "[error] ClientHandler: Subscribe error: {:error, :tenant_not_found}", here is the full log:
project=supabase-realtime user=supabase-user-alias mode=transaction type=cluster app_name=psql peer_ip=10.244.243.1 [info] Starting pool(s) for {{:cluster, "supabase-realtime"}, "supabase-user-alias", :transaction, "supabase", nil}
project=supabase-realtime user=supabase-user-alias mode=transaction type=cluster app_name=psql peer_ip=10.244.243.1 [error] Can't find tenant with external_id {{:cluster, "supabase-realtime"}, "supabase-user-alias", :transaction, "supabase", nil} {:error, :not_found}
project=supabase-realtime user=supabase-user-alias mode=transaction type=cluster app_name=psql peer_ip=10.244.243.1 [error] ClientHandler: Subscribe error: {:error, :tenant_not_found}
project=supabase-realtime user=supabase-user-alias mode=transaction type=cluster app_name=psql peer_ip=10.244.243.1 [warning] ClientHandler: Retry subscribe 0
project=supabase-realtime user=supabase-user-alias mode=transaction type=cluster app_name=psql peer_ip=10.244.243.1 [info] Starting pool(s) for {{:cluster, "supabase-realtime"}, "supabase-user-alias", :transaction, "supabase", nil}
project=supabase-realtime user=supabase-user-alias mode=transaction type=cluster app_name=psql peer_ip=10.244.243.1 [error] Can't find tenant with external_id {{:cluster, "supabase-realtime"}, "supabase-user-alias", :transaction, "supabase", nil} {:error, :not_found}
project=supabase-realtime user=supabase-user-alias mode=transaction type=cluster app_name=psql peer_ip=10.244.243.1 [error] ClientHandler: Subscribe error: {:error, :tenant_not_found}
project=supabase-realtime user=supabase-user-alias mode=transaction type=cluster app_name=psql peer_ip=10.244.243.1 [warning] ClientHandler: Retry subscribe 0
Thank you in advance for your help.
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?