Skip to content

Getting ECONNRESET between WEB and API Docker containers #169

@timhiggs

Description

@timhiggs

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions