You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[WebToolsE2E][Aspire] After running eshop.web solution, some error logs appear in structured logs: "An error occurred using the connection to database 'postgres' on server."
#42
Open
v-sherryfan opened this issue
Nov 6, 2023
· 2 comments
This might be similar to the issue we have encountered with Redis: because containers are proxied by DCP by default, the establishment of a connection to "Postgres" (actually the proxy in front of the Postgres container) succeeds, but then the proxy immediately drops it because the Postgres container is not ready.
We have post-preview work item on DCP side to stop using the proxy for singleton containers. This will still result in delayed start potentially (any container might be slow to start if an image download is necessary), but the clients will receive more ordinary connection failure error that should result in a connection retry.
For now this one is "by design" as long as the application recovers eventually (when the Postgres container runs). If the application never recovers, then it is a different issue and someone should investigate.
INSTALL STEPS
REPRO STEPS
ACTUAL
Fatal error establishing database connection
An error occurred using the connection to database 'postgres' on server 'tcp://localhost:56882'.
EXPECTED
There are no errors in Structured Logs.
The text was updated successfully, but these errors were encountered: