-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
AbortSignal.timeout
and fetch
not working when can't reach server
#13302
Comments
issue still exists on 1.0.0, 1.1.15 so its not regression |
Thank you for the report, if you can provide some extra information can help us to findout the problem, here is some questions: 1 - Are you using proxy or VPN? |
1 - No It accepts requests, but does not accept them from my server (apparently it blocks traffic by mistake). The rest of the requests (to another servers) are working properly. 4 - I test only with this https url |
We did some improvements when connecting to a address in canary can you try |
I think this is the same problem. Minimal repro: const startTime = Date.now();
fetch("https://creativejs.com/", { signal: AbortSignal.timeout(3000) }).then(console.log, () => {
const endTime = Date.now();
console.log(`Time taken: ${endTime - startTime}ms`);
}); In Node v22, it takes (The website doesn't exist in HTTPS, but that's what I'm trying to programmatically verify via the timeout.) |
|
update |
any update about it? |
AbortSignal.timeout
and fetch
not working when can't reach server
What version of Bun is running?
1.1.24
What platform is your computer?
Linux 5.15.0-117-generic x86_64 x86_64
What steps can reproduce the bug?
But it works correctly when i run it by node
I can't ping via shell it too
and nothing is happend
What is the expected behavior?
No response
What do you see instead?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: