plessl / wkpdf

A command line HTML to PDF converter for Mac OS X
http://plessl.github.com/wkpdf
MIT License
184 stars 24 forks source link

Troubles wkpdf-ing from an authenticated url - has anyone else used wkpdf auth successfully? #21

Closed jwlrs closed 12 years ago

jwlrs commented 13 years ago

I'm attempting to created a pdf from an (http basic) authenticated URL. The parameters seem pretty simple, and so my attempt looks something like this:

wkpdf --source http://localhost:5050/test/test.html --output test.pdf --username test --password test

The result is that the request just hangs, never times out (even if I supply a short timeout), never errors, never does anything. The webserver involved is a proprietary one (written from the ground up in java) and so it's possible/likely the problem is something to do with out it does authentication. But before I go bugging the dev responsible for that webserver, I'd like to ask:

Has anyone else used --username --password successfully to wkpdf an authenticated page?

Is it possible the problem is related to cookie usage (our webserver requires cookies to do even basic authentication)?

plessl commented 13 years ago

I have tested that functionality some time ago myself. It worked as expected. If I remember correctly, the functionality was tested for an Apache server. But unfortunately I'm not able to repeat the test currently, since wkpdf is still broken on Lion...

jwlrs commented 13 years ago

Thanks plessl. Any thoughts on how optimistic I should be about a wkpdf Lion fix? I am really, really happy with wkpdf (including the MIT license), but the target systems of what I'm building will likely be mostly Lion (I still haven't made the jump myself). So I guess I want to gauge whether I should abandon wkpdf now or expect a fix for Lion... thanks again!

plessl commented 12 years ago

Closing this issue, since there has been no activity for a long time.