Closed josedev-union closed 3 weeks ago
This looks like a postgres config issue on your deployment. From the error log it looks like user stacks-blockchain-api-new@192.168.133.183
does not have permission to connect to database named stacks_blockchain_api
.
Closing because this doesn't look like an issue with this repo.
This looks like a postgres config issue on your deployment. From the error log it looks like user
stacks-blockchain-api-new@192.168.133.183
does not have permission to connect to database namedstacks_blockchain_api
.Closing because this doesn't look like an issue with this repo.
@zone117x as i mentioned, api reader works ok with the same database. Also as you can see the writer's log, pgNotifier connected without any issue
{... "name":"stacks-blockchain-api","component":"core-api","msg":"PgNotifier connected, listening on channel: stacks-api-pg-notifier"}
So i opened this issue because it is not a simple pg config related issue
Describe the bug We use zalando postgres database for our central database. Api-reader works with this cluster but api-writer fails with the following error.
This stacks-api is deployed on K8s cluster using helm chart and zalando PG is deployed using zalando operator. This issue happens in all pg versions, 12, 13, 14, and 15.
To Reproduce Steps to reproduce the behavior:
Expected behavior Api writer should work.
Screenshots If applicable, add screenshots to help explain your problem.
Console log If applicable, add console log to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context