I'm developing a gRPC server in Go using rookie-ninja/rk-boot, rookie-ninja/rk-db/postgres, and rookie-ninja/rk-grpc/boot. I'm trying to connect to a Postgres database, but I'm encountering the error: "failed to get Postgres entry".
Configuration
Below is my configuration for the Postgres database:
I'm developing a gRPC server in Go using rookie-ninja/rk-boot, rookie-ninja/rk-db/postgres, and rookie-ninja/rk-grpc/boot. I'm trying to connect to a Postgres database, but I'm encountering the error: "failed to get Postgres entry".
Configuration
Below is my configuration for the Postgres database:
Code
Here is the relevant part of my code:
What I've Tried
Double-checked the YAML configuration for errors.
Verified that the database server is running and accessible at 192.168.8.104:5432.
Checked for any network issues between my application and the database server.
Expected Behavior
The application should successfully connect to the Postgres database and perform auto-migration for the User table.
Actual Behavior
The application logs the error: "failed to get Postgres entry" and exits.
Additional Information
Any help or guidance on what might be causing this issue would be greatly appreciated.