-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
axios/fetch stalls program #5642
Comments
Sorry that is happening, we'll take a look. |
I can also confirm ( |
Can you try in canary? We made some changes to something related to this |
Hey, just tested this and sadly I am not seeing any difference |
@Jarred-Sumner, tested with the current |
@Jarred-Sumner One addition: Not sure if it is related to private IP addresses anymore. When performing the request via "timestamp": 1234567 }
* Closing connection 0
]}% Somehow processing the response fails when there was a "connection closed" event before. It doesn't happen when I Edit: Gone back in the version history and it looks like it is a "regression" between |
Related to #7260 |
+1, this is making it impossible to use the popular twilio library. |
Hey, has there been any solution to this? |
Hello @callumok2004. Please provide a minimal reproduction using a GitHub repository, Replit, CodeSandbox, or provide a bulleted list of commands to run that reproduce this issue. Issues marked with |
What version of Bun is running?
Tried on 1.0.2 and 1.0.3+25aa51dfc4976d1477d2714e5742393f190dc39f
What platform is your computer?
Linux 5.4.0-155-generic x86_64 x86_64
What steps can reproduce the bug?
On WSL, everything seems to work just fine, but when I use my linux server, this does not work with bun, with with node everything runs just fine.
I am also seeing this in my console which suggests the request was successful.
While it halts on the request, memory usage quickly increases until it eventually reaches the memory limit
What is the expected behavior?
Expecting a response, and for the code to continue as normal
What do you see instead?
The code halts when making fetch/axios requests
Additional information
I am unsure if this is something I am doing wrong myself, or an issue with bun, but I believe it could be bun as running the same code on node works as expected. It's also weird how it works fine on WSL but not on the server
The text was updated successfully, but these errors were encountered: