You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using latest version of the chart with more or less default values, except for persistent storage and custom KEYs.
everything spins up and looks like it's working, but at least a couple of issues that I can't figure out:
Realtime doesn't seem to work at all, when i try to signup, it says either CHANNEL_ERROR or timeout. I tried using supabase-js and supabase-py, as well as realtime-py packages. Either I can't figure out if I need to change the connection hostname or API Key ?
Notifications do not seem to emit from postgres (that is installed using this helm chart repo)
Google AUTH is excessively difficult to figure out for me nextjs - based app
But realtime is the one that's critical to me and it was the main reason for picking supabase for development.
Stock install of helm chart
Here's the code snippet in nodejs
import{createClient}from'@supabase/supabase-js';// Supabase credentialsconstSUPABASE_URL='https://supabase.domain.com';// this points to kong ingress constSUPABASE_KEY='zzzzzzzzzzzz_service_key_or_anon_key_value_here'constsupabase=createClient(SUPABASE_URL,SUPABASE_KEY);consthandleError=(error)=>{console.error('Subscription error:',error);};// Function to handle real-time changesconsthandleInsert=(payload)=>{console.log('Insert received:',payload);};constchannel=supabase.channel('room_a',{broadcast: {ack: false,self: false}})db.pool.connect((err,client)=>{if(err){console.log(err);}pgClient=client;client.on('notification',function(msg){console.log('Hello i am new event ')});constquery=client.query('LISTEN myEvent');});// Subscribe to real-time updates for the 'pair_meta' tableconstsetupRealTime=async()=>{console.log('Setting up real-time subscription...');constchannel=supabase.channel('pair_meta_channel').on('INSERT',handleInsert).on('UPDATE',handleInsert).on('DELETE',handleInsert).subscribe((status,error)=>{console.log(`Subscription status: ${status}`);if(error){handleError(error);}if(status==='SUBSCRIBED'){console.log('Successfully subscribed to the channel');}});// Handle clean-up on exitprocess.on('SIGINT',async()=>{console.log('Unsubscribing and exiting...');awaitsupabase.removeSubscription(channel);process.exit();});};// Call the setup functionsetupRealTime();
The text was updated successfully, but these errors were encountered:
Using latest version of the chart with more or less default values, except for persistent storage and custom KEYs.
everything spins up and looks like it's working, but at least a couple of issues that I can't figure out:
But realtime is the one that's critical to me and it was the main reason for picking supabase for development.
Stock install of helm chart
Here's the code snippet in nodejs
The text was updated successfully, but these errors were encountered: