You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Details on the Issue:
Periodically, my server will crash with the error along the lines of:
Malformed_HTTP_Response: Malformed_HTTP_Response fetching "http://192.168.0.9:8000/ports/list". For more information, pass `verbose: true` in the second argument to fetch()
path: "http://192.168.0.9:8000/ports/list"
I've tried using try...catch but this is an issue with the package.
Reproduction:
Open up a Express server and add similar code to this:
At some point you'll encounter Malformed_HTTP_Response.
Note: I've looked at the code and couldnt find the use of fetch() anywhere, this could be an issue with a different package. I'm blaming this issue on this package for now though.
The text was updated successfully, but these errors were encountered:
Workaround:
Restart your server in a loop on crash
while [ true ];do
bun run build
bun run server/index.ts
echo"[!] Server crashed! Restarting in 3 seconds..."echo"[i] Press CTRL + C to stop."
sleep 3
done
uhidontkno
added a commit
to Deblok-Workshop/NewDeblok
that referenced
this issue
Apr 26, 2024
System and Environment Information:
Details on the Issue:
Periodically, my server will crash with the error along the lines of:
I've tried using try...catch but this is an issue with the package.
Reproduction:
Open up a Express server and add similar code to this:
At some point you'll encounter Malformed_HTTP_Response.
Note: I've looked at the code and couldnt find the use of fetch() anywhere, this could be an issue with a different package. I'm blaming this issue on this package for now though.
The text was updated successfully, but these errors were encountered: