Exporting doesn't work and breaks the app

Hello, when I try to export it display an error with the report and the following is the logs:

2025-09-05T04:56:05.917657177Z INF [app.util.shell] hint="tmptdir setup", path="/tmp/penpot-exporter"
2025-09-05T04:56:05.919232222Z INF [app.core] msg="initializing", public-uri="https://frontend-8080-yc8ggkk0w400cogkcswo0css.dev.azazy.net", version="2.9.0"
2025-09-05T04:56:05.924055436Z INF [app.browser] hint="initializing browser pool", opts=#js {:max 5, :min 0, :testOnBorrow true, :evictionRunIntervalMillis 5000, :numTestsPerEvictionRun 5, :acquireTimeoutMillis 10000, :idleTimeoutMillis 10000}
2025-09-05T04:56:05.927390446Z INF [app.http] hint="welcome to penpot", module="exporter", flags=#{}, version="2.9.0"
2025-09-05T04:56:05.928498730Z INF [app.http] hint="starting http server", port=6061
2025-09-05T04:56:05.940483166Z INF [app.redis] hint="redis connection established", uri="redis://redis/0"
2025-09-05T04:57:46.297930291Z DBG [app.handlers] hint="process-request", cmd=:export-shapes
2025-09-05T04:57:46.452765520Z INF [app.browser] origin="factory", action="create", browser-id=2
2025-09-05T04:57:46.454659326Z INF [app.browser] origin="factory", action="validate", browser-id=2, obj=#object[Browser [object Object]]
2025-09-05T04:57:46.472643980Z TRC [app.browser] hint="exec:handle:start", browser-id=2
2025-09-05T04:57:46.528721430Z INF [app.renderer.bitmap] uri=#lambdaisland/uri "https://frontend-8080-yc8ggkk0w400cogkcswo0css.dev.azazy.net/render.html?file-id=c4667dee-d51f-812a-8006-be19d27f3dea&page-id=c4667dee-d51f-812a-8006-be19d27f3deb&object-id=3ba85ac4-53ae-8066-8006-be19d751ae83&route=objects"
2025-09-05T04:57:46.591635701Z INF [app.browser] origin="factory", action="destroy", browser-id=2
2025-09-05T04:57:46.592753384Z ERR [app.handlers.export-shapes] hint="unexpected error on export multiple"
2025-09-05T04:57:46.593218266Z   page.goto: net::ERR_CERT_AUTHORITY_INVALID at https://frontend-8080-yc8ggkk0w400cogkcswo0css.dev.azazy.net/render.html?file-id=c4667dee-d51f-812a-8006-be19d27f3dea&page-id=c4667dee-d51f-812a-8006-be19d27f3deb&object-id=3ba85ac4-53ae-8066-8006-be19d751ae83&route=objects
2025-09-05T04:57:46.593318266Z   Call log:
2025-09-05T04:57:46.593347026Z     - navigating to "https://frontend-8080-yc8ggkk0w400cogkcswo0css.dev.azazy.net/render.html?file-id=c4667dee-d51f-812a-8006-be19d27f3dea&page-id=c4667dee-d51f-812a-8006-be19d27f3deb&object-id=3ba85ac4-53ae-8066-8006-be19d751ae83&route=objects", waiting until "networkidle"
2025-09-05T04:57:46.593354746Z   
2025-09-05T04:57:46.593359146Z       at app.browser.nav_BANG_.cljs$core$IFn$_invoke$arity$3 (/opt/penpot/exporter/app.js:76188:18)
2025-09-05T04:57:46.593363906Z       at app.browser.nav_BANG_.cljs$core$IFn$_invoke$arity$2 (/opt/penpot/exporter/app.js:76182:32)
2025-09-05T04:57:46.593368706Z       at /opt/penpot/exporter/app.js:79887:80
2025-09-05T04:57:46.593373106Z       at Object.resolve (/opt/penpot/exporter/app.js:75164:107)
2025-09-05T04:57:46.593377586Z       at $jscomp$scope$84173391$25$processNextTick (/opt/penpot/exporter/app.js:74067:78)
2025-09-05T04:57:46.593382146Z       at /opt/penpot/exporter/app.js:74171:30
2025-09-05T04:57:46.598348721Z ERR [app.handlers] hint="unexpected internal error"
2025-09-05T04:57:46.598582442Z   page.goto: net::ERR_CERT_AUTHORITY_INVALID at https://frontend-8080-yc8ggkk0w400cogkcswo0css.dev.azazy.net/render.html?file-id=c4667dee-d51f-812a-8006-be19d27f3dea&page-id=c4667dee-d51f-812a-8006-be19d27f3deb&object-id=3ba85ac4-53ae-8066-8006-be19d751ae83&route=objects
2025-09-05T04:57:46.598591162Z   Call log:
2025-09-05T04:57:46.598593842Z     - navigating to "https://frontend-8080-yc8ggkk0w400cogkcswo0css.dev.azazy.net/render.html?file-id=c4667dee-d51f-812a-8006-be19d27f3dea&page-id=c4667dee-d51f-812a-8006-be19d27f3deb&object-id=3ba85ac4-53ae-8066-8006-be19d751ae83&route=objects", waiting until "networkidle"
2025-09-05T04:57:46.598597042Z   
2025-09-05T04:57:46.598599162Z       at app.browser.nav_BANG_.cljs$core$IFn$_invoke$arity$3 (/opt/penpot/exporter/app.js:76188:18)
2025-09-05T04:57:46.598601282Z       at app.browser.nav_BANG_.cljs$core$IFn$_invoke$arity$2 (/opt/penpot/exporter/app.js:76182:32)
2025-09-05T04:57:46.598603362Z       at /opt/penpot/exporter/app.js:79887:80
2025-09-05T04:57:46.598605362Z       at Object.resolve (/opt/penpot/exporter/app.js:75164:107)
2025-09-05T04:57:46.598607362Z       at $jscomp$scope$84173391$25$processNextTick (/opt/penpot/exporter/app.js:74067:78)
2025-09-05T04:57:46.598609562Z       at /opt/penpot/exporter/app.js:74171:30
![Screenshot 2025-09-05 080327|690x339](upload://pqfKbpi0UTxzKPXHchZTzMjslTQ.png)

Hi @azazy,

Your logs indicate the error net::ERR_CERT_AUTHORITY_INVALID, which means the Penpot exporter is unable to validate the SSL certificate for your public URI during export. The exporter must access your frontend via the public URI, and if the SSL certificate is self-signed or invalid, you will see this error.

To resolve this:

  • Make sure your PENPOT_PUBLIC_URI environment variable is set to a domain with a valid SSL certificate trusted by the system. Self-signed certificates or certificates not signed by a recognized authority will cause this issue.

  • If you’re using self-signed certificates for testing, you need to switch to a certificate from a trusted certificate authority for production exports to work reliably.

You can check and update the PENPOT_PUBLIC_URI by editing your docker-compose.yaml file and restarting your containers. If you change the URI, ensure the certificate for that domain is valid and trusted.

For more context, review Penpot Configuration and Self-hosted: Reconfigure public URI.

@madalenam Actually had to change variable on the compose file to be able to update url on coolify, wasn’t going to look after it if not for your reply.. thank you for your help and reply ^^

1 Like