Closed jamess7995 closed 1 month ago
I learned what tokens are, I went to the docker site and made one for chrome. I found a different compose example from what I was using, and noticed labels for storage and chrome. I added my labels I use for these containers. Then I put the actual web addresses I created with these labels for the environment variables. Issues are resolved, thank you for all the hard work at creating such a great tool!
Resolved
Hi @jamess7995 , do you mind sharing which resource you used to generate the various tokens? The self-hosted solution is not documented, and it's a bit hard to read the mind of the person who wrote the compose file :)
Would you be willing to share your working (redacted) compose file perhaps? I'm not using Traefik (using NPM) as my reverse proxy, but I can figure out the rest from a working example.
Hi @jamess7995 , do you mind sharing which resource you used to generate the various tokens? The self-hosted solution is not documented, and it's a bit hard to read the mind of the person who wrote the compose file :)
Would you be willing to share your working (redacted) compose file perhaps? I'm not using Traefik (using NPM) as my reverse proxy, but I can figure out the rest from a working example.
Compose: https://pastebin.com/PYnt5rnB . Docker access token info, ppotentially unnecessary: https://docs.docker.com/security/for-developers/access-tokens/ . I remember needing get this working was SSL was expected, something like that, so put all containers on proxy network and provide labels for each container.
Thanks!
Is there an existing issue for this?
Product Variant
Docker
Current Behavior
I open up a resume named with non-accented english characters and click export pdf. I receive a new tab with the URL about:blank. Empty tab, no PDF. I check the app container logs in docker and see this:
Trace: Error: net::ERR_SSL_PROTOCOL_ERROR at https://app:3000/artboard/preview at navigate (/app/node_modules/.pnpm/puppeteer-core@22.10.0/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:175:27) at async Deferred.race (/app/node_modules/.pnpm/puppeteer-core@22.10.0/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Deferred.js:36:20) at async CdpFrame.goto (/app/node_modules/.pnpm/puppeteer-core@22.10.0/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:141:25) at async CdpPage.goto (/app/node_modules/.pnpm/puppeteer-core@22.10.0/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:585:20) at async PrinterService.generateResume (/app/dist/apps/server/main.js:13224:13) at async PrinterService.printResume (/app/dist/apps/server/main.js:13171:21) at async ResumeService.printResume (/app/dist/apps/server/main.js:13969:21) at async ResumeController.printResume (/app/dist/apps/server/main.js:13616:25) at PrinterService.generateResume (/app/dist/apps/server/main.js:13276:21) at async PrinterService.printResume (/app/dist/apps/server/main.js:13171:21) at async ResumeService.printResume (/app/dist/apps/server/main.js:13969:21) at async ResumeController.printResume (/app/dist/apps/server/main.js:13616:25) Trace: Error: net::ERR_SSL_PROTOCOL_ERROR at https://app:3000/artboard/preview at navigate (/app/node_modules/.pnpm/puppeteer-core@22.10.0/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:175:27) at async Deferred.race (/app/node_modules/.pnpm/puppeteer-core@22.10.0/node_modules/puppeteer-core/lib/cjs/puppeteer/util/Deferred.js:36:20) at async CdpFrame.goto (/app/node_modules/.pnpm/puppeteer-core@22.10.0/node_modules/puppeteer-core/lib/cjs/puppeteer/cdp/Frame.js:141:25) at async CdpPage.goto (/app/node_modules/.pnpm/puppeteer-core@22.10.0/node_modules/puppeteer-core/lib/cjs/puppeteer/api/Page.js:585:20) at async PrinterService.generateResume (/app/dist/apps/server/main.js:13224:13) at async PrinterService.printResume (/app/dist/apps/server/main.js:13171:21) at async ResumeService.printResume (/app/dist/apps/server/main.js:13969:21) at async ResumeController.printResume (/app/dist/apps/server/main.js:13616:25) at PrinterService.generateResume (/app/dist/apps/server/main.js:13276:21) at async PrinterService.printResume (/app/dist/apps/server/main.js:13171:21) at async ResumeService.printResume (/app/dist/apps/server/main.js:13969:21) at async ResumeController.printResume (/app/dist/apps/server/main.js:13616:25)
Expected Behavior
I'd expect a new tab where I can download the PDF of the resume.
Steps To Reproduce
What browsers are you seeing the problem on?
Firefox, Chrome
What template are you using?
Pikachu
Anything else?
I'm using traefik, I've tried different things on similar issues that don't seem related to SSL. I tried changing local host to 127.0.0.1, then I tried using app and minioadmin for public and storage, no joy.