2 years ago
Hi All,
I'm having a bit of an issue right now. I developed a small application using python and sanic framework.
the application rely of Mysql and wkhtmltopdf lib. everything works fine "even generating the pdf documnets (I added logs to check). but in the browser I get 502 Application failed to respond when I try to get the pdf file using the url.
is there something I'm missing?
2 Replies
2 years ago
From your deploy logs -
mode: debug, single workerPlease try running in a production mode with multiple workers / threads.
2 years ago
I think I found out the issue. if the output file uses any special characters (including '-') it fails. when I stopped it worked fine. not sure why this thing happening when everything is working fine locally.
Status changed to Solved brody • over 1 year ago