-
-
Notifications
You must be signed in to change notification settings - Fork 396
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
docker compose setup results in "Recv failure: Connection reset by peer" #1154
Comments
Does it load the webpage if you access it in your browser? |
No. Navigating to
|
It takes a few minutes to load once booted - I just restarted my docker container and it took ~5min for the application to load completely. Have you been waiting that long? If so, are there any logs in the container/from your reverse proxy that you can share? |
Waiting did not solve the issue. According to the logs there is an authentication error, but I don't quite understand how that could be.
|
That's interesting, I see two errors here. The first:
somehow it seems that your postgres container is not initializing the
seemingly the root cause, the password authentication failed. Did you at some point remove the |
I deleted
And in the stringer-postgres container:
Weirdly enough, the This led to the containers ostensibly starting, but As far as I can see, there is nothing that would explain this in the logs. In the stringer container:
And the stringer postgres container:
|
Interesting. The logs you posted after the restart look correct to me, so I'm surprised that you're still not seeing anything from localhost. I'm not sure why the db initialized incorrectly for you, but I'll try and repro. |
@mockdeep and I tried this out and we did indeed observe the error you're seeing. I think it might be docker compose trying to load environment files into variables before they get set, and as a result it loads an empty |
I followed the instructions for setting up stringer using docker-compose. Specifically, I did this:
Unfortunately, if I try to access stringer with
curl localhost
, I only getcurl: (56) Recv failure: Connection reset by peer
. Did I misunderstand the instructions, or is this a bug?The text was updated successfully, but these errors were encountered: