question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] PDF Download not working

See original GitHub issue

Describe the bug PDF Download gives 500 Internal Server Error

To Reproduce

  1. Create new resume (I called it test)
  2. Click the download PDF button
  3. The network console shows a 500 error after awhile.

Expected behavior PDF should be created and downloaded

Additional context

[Nest] 42 - 03/16/2022, 1:44:41 PM ERROR [ExceptionsHandler] page.waitForSelector: Timeout 30000ms exceeded.
--
Wed, Mar 16 2022 8:44:41 am | =========================== logs ===========================
Wed, Mar 16 2022 8:44:41 am | waiting for selector "html.wf-active" to be visible
Wed, Mar 16 2022 8:44:41 am | ============================================================
Wed, Mar 16 2022 8:44:41 am | page.waitForSelector: Timeout 30000ms exceeded.
Wed, Mar 16 2022 8:44:41 am | =========================== logs ===========================
Wed, Mar 16 2022 8:44:41 am | waiting for selector "html.wf-active" to be visible
Wed, Mar 16 2022 8:44:41 am | ============================================================
Wed, Mar 16 2022 8:44:41 am | at PrinterService.printAsPdf (/app/server/dist/printer/printer.service.js:40:20)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:29 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
Luk164commented, Mar 29, 2022

Same issue over here, also self-hosted.

2reactions
chandiwalaaadharcommented, Mar 17, 2022

Please Use PUBLIC_SERVER_URL=http://localhost:3100/

instead of PUBLIC_SERVER_URL=http://localhost:3100/api

It will work as expected

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome PDF Download not Working, How to Do - Cocosenor
Fix the PDF files not downloading error in Chrome · 1. Clear browsing data. Then reload the download page, and try to download...
Read more >
How to resolve Acrobat Reader download issues
Often, the easiest way to resolve an unsuccessful download is to try the download again using a different browser.
Read more >
PDF Not Opening In Chrome Browser: Solved [8 Possible Fixes]
Answer: There may be various reasons for PDF download failing, such as network connectivity, low disk space, auto-enabled Chrome PDF viewer, or ...
Read more >
What to do when Chrome stops letting you download PDFs
Yes, the solution for my PDF downloads problem was hidden in a Chrome support forum post about Internet Explorer. The Google-fu is strong...
Read more >
Chrome PDF Viewer Not Working? Here's How to Fix It
How to Prevent Chrome From Downloading PDFs Instead of Opening Them · Open the Chrome menu by clicking the three dots in the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found