asp.net - PhantomJS as web job in Azure -


i have deployed asp.net mvc website in azure , trying deploy phantomjs web job support web site. have uploaded zip file necessary dependencies run phantomjs , web job starts after running batch file. log reports server , running @ 127.0.0.1:8080. when try hit phantomjs app @ url 127.0.0.1:8080 azure site hosted under someproject.azurewebsites.net times out no other error message.

specifically trying deploy phantomjs application hosts web endpoint (https://github.com/thelgevold/phantomsnapshot) enable me convert web pages pdf if pass url website phantomjs process.

the website pass url phantomjs respond pdf file can downloaded. have working outside of azure, curious if phantomjs process can hosted web job

does know if possible deploy phantomjs in manner? running site under "free" configuration.

phantomjs not working on azure webjobs.

i tried execute through cmd shell [yoursite].scm.azurewebsites.net/debugconsole , hanges when call raserize.js script.

you can use phantomjs worker role, work.

update

regarding this: https://stackoverflow.com/a/23000040/3080500

phantomjs uses gdi render images , pdf, , gdi blocked in azure website

ref : gdi not enabled in azure webisites http://social.msdn.microsoft.com/forums/windowsazure/en-us/b4a6eb43-0013-435f-9d11-00ee26a8d017/report-viewer-error-on-export-pdf-or-excel-from-azure-web-sites

ref : phantomjs uses gdi rendering fonts : https://github.com/ariya/phantomjs/blob/6a01a8dece0c4dd697eaa0b208057d2bd43a30f3/src/qt/mkspecs/win32-msvc2003/qmake.conf#l63


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -