AmruthPillai / Reactive-Resume

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
https://rxresu.me
MIT License
25.92k stars 2.66k forks source link

The PDF download is not working, and sometimes the page does not save the changes. #1919

Open Br1Rol2 opened 6 months ago

Br1Rol2 commented 6 months ago

Is there an existing issue for this?

Product Variant

Cloud (https://rxresu.me)

Current Behavior

The PDF download is not working, and sometimes the page does not save the changes.

Expected Behavior

No response

Steps To Reproduce

No response

What browsers are you seeing the problem on?

No response

What template are you using?

None

Anything else?

No response

HUAHUAI23 commented 5 months ago

When generating PDFs, headless Chrome needs to download and import fonts from the internet. If the network environment is poor and loading times out, it can cause the PDF export to fail. I think it might be better to store the font files as static files in MinIO or on a server.

jeremyyin2012 commented 5 months ago

I found a solution:

  1. Open Sharing: toggle Public On, copy URL, open in new tab
  2. Print to PDF: click Three-dot menu on top right, click Print, choose Save as PDF, Save. (Ctrl/Command + P)
  3. Close Sharing: toggle Public Off !!!

PS: If we had a guide to a private preview page, it would be easy to indirectly solve this problem of exporting PDF and significantly reduce resource consumption.

Roguinsura commented 3 months ago

@Br1Rol2 Did you find any solution? I dont understand what to fill here CHROME_PORT=8080 CHROME_TOKEN=chrome_token CHROME_URL=ws://localhost:8080

aBua-MUC commented 2 months ago

i also have the problem. the export runs for some time and is then terminated with a server error.