gmanny / Pechkin

.NET Wrapper for WkHtmlToPdf static DLL. Allows you to utilize full power of the library.
401 stars 128 forks source link

When converting https page blank PDF is generated #8

Open AnzeR opened 12 years ago

AnzeR commented 12 years ago

I have C# WEB application and when I want to convert HTTPS or not-existing web page blank PDF is generated.

If I try the same code in Windows application it IS working also for HTTPS sites, but still returns blank page for non-existing pages, with no error (HttpErrorCode = 0). Is there any possibility to detect "real" HTTP status or any other error on converting pages?

Do you have any explanation why it's not working for HTTPS sites on IIS? I also changed Application Pool to user with highest privileges but no success.

Note: There is a issue about wkhtmltopdf reported in http://code.google.com/p/wkhtmltopdf/issues/detail?id=17

gmanny commented 12 years ago

I'll investigate this later. As I've found out already, wkhtmltopdf is far from ideal, and so I need to learn how to build it. Sadly I've got no time lately, so, I wouldn't be able to get to it soon.

h0gh commented 9 years ago

FYI, we fixed this by installing OpenSSL on our server

fxgit commented 7 years ago

I have the same problem in a desktop application, there is already some solution?