alvarcarto / url-to-pdf-api

Web page PDF/PNG rendering done right. Self-hosted service for rendering receipts, invoices, or any content.
MIT License
7.01k stars 774 forks source link

Api stop working sometimes #109

Closed miroslavsekulic closed 5 years ago

miroslavsekulic commented 5 years ago

Hello folks, first thank you for this library! But, sometimes, there is a problem with API, like now. For example if you try to open this link https://url-to-pdf-api.herokuapp.com/api/render?url=http://google.com You will get this response image Any help with this?

gdmartinezsandino commented 5 years ago

I have the same message. Any idea about it?

miroslavsekulic commented 5 years ago

@gdmartinez93 I think that their server was down. My solution is to use Puppeteer library directly, to avoid third party api-s that you cannot control.

kimmobrunfeldt commented 5 years ago

Hi, the demo server is not meant for production usage. It runs in a free Heroku environment, and runs out of resources easily.