Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special character pg passwords #41

Closed
awalias opened this issue May 27, 2020 · 7 comments
Closed

Special character pg passwords #41

awalias opened this issue May 27, 2020 · 7 comments
Assignees

Comments

@awalias
Copy link
Member

awalias commented May 27, 2020

some combinations of special characters passed as DB_PASSWORD seem to be causing connection failures - the password may need to be uri encoded before trying to connect to postgres

@awalias
Copy link
Member Author

awalias commented May 27, 2020

fails with password !@£$%^&*()_+ when spinning up from supabase dashboard - haven't tested the realtime component individually

@awalias
Copy link
Member Author

awalias commented May 27, 2020

2020-05-27 17:10:52.938 [info] Application realtime exited: Realtime.Application.start(:normal, []) returned an error: shutdown: failed to start child: Realtime.Replication
    ** (EXIT) :invalid_password
{"Kernel pid terminated",application_controller,"{application_start_failure,realtime,{{shutdown,{failed_to_start_child,'Elixir.Realtime.Replication',invalid_password}},{'Elixir.Realtime.Application',start,[normal,[]]}}}"}
Kernel pid terminated (application_controller) ({application_start_failure,realtime,{{shutdown,{failed_to_start_child,'Elixir.Realtime.Replication',invalid_password}},{'Elixir.Realtime.Application',st

Crash dump is being written to: erl_crash.dump

@awalias
Copy link
Member Author

awalias commented May 28, 2020

@fracek
Copy link
Contributor

fracek commented May 28, 2020

I'll look a this later today.

@fracek
Copy link
Contributor

fracek commented May 28, 2020

I can't repro this. Can you try to log epgsql_params in application.ex to make sure bash/zsh sets the environment variable correctly and doesn't do any fancy subsitution?

@awalias
Copy link
Member Author

awalias commented May 29, 2020

I will try and repro this

@awalias
Copy link
Member Author

awalias commented May 29, 2020

but solved for the meantime by a change in the infrastructure worker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants