This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Site hangs got #1696
Comments
Try setting a user-agent header. |
Hello, it doesn't help. It is just a buggy site I encountered in a search engine (one per 500k). I have a solution for this. But I think, in general, it would be good if timeout work in this case. So I reported this issue :) |
Indeed this is a bug. I need to check if this is fixed in Got 12. |
Another example It returns 503 error the same way. It took me a lot of time to find out what is wrong in my setup, hope will help other people :) |
It doesn't hang. The |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Describe the bug
Just run this code and you will never get a response. Timeout doesn't help.
If you enable handler, you will see
Actual behavior
stucks at
const response = await got("http://www.1a2f.com");
P.S. Timeout doesn't help.
...
Expected behavior
get
console.log(response.body);
...
Code to reproduce
Checklist
The text was updated successfully, but these errors were encountered: