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

Issue with password containing @ in it. #7121

Closed
AzadKshitij opened this issue Jun 25, 2021 · 2 comments
Closed

Issue with password containing @ in it. #7121

AzadKshitij opened this issue Jun 25, 2021 · 2 comments
Labels
c/server Related to server

Comments

@AzadKshitij
Copy link

I was having the issue just because my password contains '@' and the engine is not able to understand that. And it is giving me error like this...

 {
        "definition": "PostgreSQL 13",
        "reason": "Inconsistent object: connection error",
        "name": "source PostgreSQL 13",
        "type": "source",
        "message": "could not translate host name \"247@localhost\" to address: Name or service not known\n"
 }
@martin-hasura
Copy link
Contributor

Try using %40 to represent @

This should work as in:HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:pass%40word@postgres:5432/postgres for postgres:pass@word - this is something we'll investigate taking up in our parsing logic though.

@martin-hasura martin-hasura added the c/server Related to server label Jun 25, 2021
@AzadKshitij
Copy link
Author

Thanks that worked.😀🧡❤

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

No branches or pull requests

3 participants