Skip to content
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

Image download failed #46

Open
focusjava opened this issue Jul 13, 2023 · 2 comments
Open

Image download failed #46

focusjava opened this issue Jul 13, 2023 · 2 comments

Comments

@focusjava
Copy link

focusjava commented Jul 13, 2023

Hi there, thank you for making this tool!
It works great, however I just found a problem today.

The following error prompt appears when downloading the image:

net/http: request cancelled (Client. Timeout or context cancellation while reading body)

What is the reason for this?
Looking forward to your reply

@Auxority
Copy link

I’ve had this issue as well.

@focusjava
Copy link
Author

I have found a solution to the problem, just modify the timeout time
filepath: pkg/http/client
return &http.Client{
Transport: newRoundTripper(ja3, userAgent, lang, dialer),
Timeout: 120 * time.Second,
}, nil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants