Request size not matching content error
Hello!
I am having some issues with a nodejs app I have deployed on railway. The build works on my localhost, but when inside the docker container on railway I get the error "request size not matching content" error.
Any help or tips to debug would be appreciated.
Solution:Jump to solution
Looks like it was an issue with the HyperDX open telemetry package, one which I hit before when I was running thing son heroku:
https://github.com/hyperdxio/hyperdx/issues/24...
GitHub
[HYP-39] request size did not match content length · Issue #24 · hy...
i have added hyperdx in nodejs project now i am getting this error on api call , specifically for PUT,POST requests HYP-39
6 Replies
Project ID:
6fb8606f-116c-4e15-b653-24c48bdad9dd
6fb8606f-116c-4e15-b653-24c48bdad9dd
I imagine the request is passing through some other layers like nginx etc before it hits my server and possibly being modified?
how big is this file you are uploading?
That one isn’t from a file just a json book. ~2800 bytes.
Though I will also be uploading much larger files.
It’s also weird because another endpoints request seems to go through. And I can’t figure out the difference.
I don’t get anything in my servers logs on those requests but it throws the error. Any tracing you guys have to look at anything that might be going on inside that project?
Solution
Looks like it was an issue with the HyperDX open telemetry package, one which I hit before when I was running thing son heroku:
https://github.com/hyperdxio/hyperdx/issues/24
GitHub
[HYP-39] request size did not match content length · Issue #24 · hy...
i have added hyperdx in nodejs project now i am getting this error on api call , specifically for PUT,POST requests HYP-39
oh very odd that it would do that, but happy you found the issue!