realtime icon indicating copy to clipboard operation
realtime copied to clipboard

🌱 Diagnostics for wrong password on rds - DRAFT - DO NOT MERGE - but its helpful

Open johndpope opened this issue 7 months ago • 1 comments

What kind of change does this PR introduce?

There is a problem in this codebase that's related to stale password that happens when using external rds server. I add extensive logging in run.sh - and elsewhere to pinpoint problem. It seems like there's somewhere it's hardcoded to use host "db"

What is the current behavior?

when the server attempts to hit the "db" server - it complains the password is wrong / invalid - but this is eroneous. It can't find the server.

What is the new behavior?

Additional logging / sanity checks on password that confirm it's correct. feel free to cherry pick anything that's useful. I already understand RDS is not supported. It would be helpful for people using this realtime container to have clarity on what's going wrong and where :file, :line]

Logger.configure(level: :debug) <- this is too noisy....

also - i don't know what's elixirs problem here - the code below should accommodate - but it doesn't actually fix it. https://github.com/supabase/realtime/issues/1327

johndpope avatar Mar 11 '25 23:03 johndpope