Skip to content
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

Getting ECONNRESET between WEB and API Docker containers #169

Open
timhiggs opened this issue Jun 13, 2018 · 0 comments
Open

Getting ECONNRESET between WEB and API Docker containers #169

timhiggs opened this issue Jun 13, 2018 · 0 comments

Comments

@timhiggs
Copy link

Hey guys

Great application - keen to make use of it and feedback a couple of features. Just having a problem getting things running as per the available Docker containers, which I've spent a bit of time on trying to figure out so would appreciate any help!

I'm getting the following error returned from the API to Node:

Error: read ECONNRESET
at exports._errnoException (util.js:1022:11)
at TCP.onread [as _originalOnread] (net.js:569:26)

I suspect it's something to do with it just PHP-FPM running on the API container and Node making a standard HTTP request, or perhaps it's missing something additional in the request it's making, but I'm not sure and haven't been able to dig in deeper. I've been able to make requests directly to the API outside of Docker using cgi-fcgi which have been OK.

I see other approaches detailed in some other tickets around use of NGINX, though following that through didn't immediately work for me.

Just wondering if you might please have some insight into the above that would allow me to get things going. DB seeding and .env configuration has all been done.

Thanks very much!

  • Tim.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant