HTTP Server Requests Timeout After 2 Seconds When Downloading Files
I have written an http server using effect's httpserver module, but I am running into a weird issue where my requests timeout after exactly 2 seconds. Specifically, I get the following message in my logs.
I download a file when a post request is made with the following code (based on a thread on this discord):
.
The code does log
My code is based on https://github.com/Effect-TS/effect/blob/b64b6ed15289ea617fb9df21a5f7301a07d4e7c0/packages/platform-node/examples/http-router.ts.
Does anyone have any ideas as what could be causing this?
I download a file when a post request is made with the following code (based on a thread on this discord):
.
The code does log
response.statusCode 200 before dying.My code is based on https://github.com/Effect-TS/effect/blob/b64b6ed15289ea617fb9df21a5f7301a07d4e7c0/packages/platform-node/examples/http-router.ts.
Does anyone have any ideas as what could be causing this?
