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

can not connect with crunchy db #24

Closed
Meet-S0ni opened this issue May 20, 2024 · 2 comments
Closed

can not connect with crunchy db #24

Meet-S0ni opened this issue May 20, 2024 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@Meet-S0ni
Copy link

Meet-S0ni commented May 20, 2024

kubectl logs -f pod/casdoor-58f45c79f4-shv9z -n casdoor
panic: pq: no pg_hba.conf entry for host "10.224.0.76", user "postgres", database "postgres", no encryption

goroutine 1 [running]:
github.com/casdoor/casdoor/object.(*Ormer).createTable(0xc0008d7000)
/go/src/casdoor/object/ormer.go:293 +0xaa5
github.com/casdoor/casdoor/object.CreateTables()
/go/src/casdoor/object/ormer.go:114 +0x3a
main.main()
/go/src/casdoor/main.go:36 +0x35

Thanks you for help
https://access.crunchydata.com/documentation/postgres-operator/4.4.0/advanced/custom-configuration/

@casbin-bot
Copy link
Collaborator

@casbin-bot casbin-bot added the question Further information is requested label May 20, 2024
@hsluoyz
Copy link
Member

hsluoyz commented Oct 4, 2024

@Meet-S0ni it seems that the postgres user from IP: 10.224.0.76 is not allowed to access your cloud DB. Should it should be resolved on your side.

@hsluoyz hsluoyz closed this as completed Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants