docker-node icon indicating copy to clipboard operation
docker-node copied to clipboard

error 413 request entity too large

Open alanmarcell opened this issue 5 years ago • 2 comments

I'm getting an 413 request entity too large when I make a request inside Docker.

When I make this request outside Docker, it goes normally.

I was using node 10.16.0 and updated to 12.16.1 without success.

Dockerfile.txt

image

alanmarcell avatar Mar 02 '20 20:03 alanmarcell

The same thing works great outside Docker using the same version of node.js and Linux distribution? Have you tried with another image? (Like switching from Debian Buster to Alpine v3.11 or vice versa)

PeterDaveHello avatar Apr 08 '20 19:04 PeterDaveHello

I am still getting this with an api I am calling. If I put my app (which calls the api) in a container, I get the 413. Without the container no problems.

The reason I need it in a container is because I have other apps that I have to expose on the same port, so there is a reverse proxy in another container.

So does docker or the docker-node image have a limitation on how much can pass through?

jwknz avatar Aug 15 '22 08:08 jwknz