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

Converting a html file to jpg freezes/does nothing #77

Closed
trae-horton opened this issue Aug 25, 2021 · 1 comment
Closed

Converting a html file to jpg freezes/does nothing #77

trae-horton opened this issue Aug 25, 2021 · 1 comment
Assignees
Labels

Comments

@trae-horton
Copy link

trae-horton commented Aug 25, 2021

Describe the bug
It appears the IMGKit freezes for specific content in the HTML file

To Reproduce
Steps to reproduce the behavior:
Use the following python code with they attached .html file
>>> import imgkit
>>>
>>> import imgkit
>>> imgkit.from_file('test.html', 'out.jpg')

Expected behavior
The expected behavior should be a successfully converted .jpg file.

Screenshots
If applicable, add screenshots to help explain your problem.

  • OS: REHL 7 - 3.10.0-1160.31.1.el7
  • IMGkit Version: imgkit (1.0.2)
  • wkhtmltopdf Version: wkhtmltopdf 0.12.6 (with patched qt)

Additional context
Please see they attached zipped file containing the html file I am trying to convert.
test.zip

@trae-horton
Copy link
Author

This ended up being an issue with our IPS doing a TCP-DROP instead of a TCP-RESET causing the connection to just set and spin. I recommend adding a flag to allow a time period for TCP connection. See #56 for more detail.

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

No branches or pull requests

2 participants