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

Connection to the database via IPv6 fails #1621

Open
infomiho opened this issue Jan 8, 2024 · 1 comment
Open

Connection to the database via IPv6 fails #1621

infomiho opened this issue Jan 8, 2024 · 1 comment
Labels
bug Something isn't working database hm Requires more thought

Comments

@infomiho
Copy link
Contributor

infomiho commented Jan 8, 2024

Some users reported failures with pg-boss's connection to the database. On a closer look, it seems that it's a general database connection issue due to using IPv6 to connect.

Check this out for more context: https://ptb.discord.com/channels/686873244791210014/1179895919471247490

A workaround for the time being is to use 127.0.0.1 instead of localhost in the DATABASE_URL env variable.

Related issue: nodejs/node#40537

@infomiho infomiho added hm Requires more thought database labels Jan 8, 2024
@Martinsos Martinsos added the bug Something isn't working label Jan 8, 2024
@infomiho
Copy link
Contributor Author

Option that might be useful for us here: --dns-result-order=ipv4first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working database hm Requires more thought
Projects
None yet
Development

No branches or pull requests

2 participants