-
Notifications
You must be signed in to change notification settings - Fork 32
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
podman compose up: psycopg2.OperationalError: connection to server at "127.0.0.1", port 5432 failed: Connection refused #395
Comments
I've restarted the podman machine VM and still see above. |
The issues I saw were related to my Issue here:
The problem is that when we run via When we do the below in config, it takes precedence, which breaks us.
What I did was:
This is what I ran with when I saw the error
Then I used the below and it worked:
|
Recap of what I saw:
|
OS: MacOS
I am testing
podman compose up
and ran into below.I believe this is an intermittent issue and will not be easily reproduced, I don't yet know the root cause.
I am guessing this may be from something not cleaning up.
I have been running between
podman compose up
andmake run-postgres
&make run-server
Been going back and forth between those modes testing workflows
Now I'm seeing an error of the podman compose flow saying it can't connect to the DB.
Filing this issue as I've spoken to a few other folks who have also hit this issue intermittently, this is first time I've seen it with
podman compose up
The entire console output from
$ TAG="local" podman compose up
is belowhttps://gist.github.com/jwmatthews/d48abfccc368304c5a2fe088c4a0e12a
The text was updated successfully, but these errors were encountered: