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

[bug] html2image for long page fail #48

Closed
TailendWong opened this issue May 24, 2023 · 4 comments
Closed

[bug] html2image for long page fail #48

TailendWong opened this issue May 24, 2023 · 4 comments

Comments

@TailendWong
Copy link

It's not work(timeout) when the web page is a bit long.
But it is not really timeout, page is not very long, however, I run the project in GoLand with the same web page, it convert image successfull .

url: http://39.103.166.150:8080/convert/html2image?u=doctron&p=lampnick&url=https%3A%2F%2Fwww.cnblogs.com%2Fgrkin%2Farchive%2F2013%2F03%2F17%2F2964964.html

Originally posted by @TailendWong in #37 (comment)

@lampnick
Copy link
Owner

Can you try on your own linux server?

@TailendWong
Copy link
Author

I meet the same issue, i build a docker image from Dockerfile that is in the project, then i run it on my own linux server.

I got response like this:
{"code":30000000,"message":"worker run process failed.job request timed out","data":null}

Actually, i try change config convertTimeout: 600, it is also return 30000000 like above. So, i think it may not be timeout.

@lampnick
Copy link
Owner

lampnick commented Jul 7, 2023

You can increase the timeout time in the configuration file. convertTimeout: 20

@TailendWong
Copy link
Author

You can increase the timeout time in the configuration file. convertTimeout: 20

Thanks for your reply

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