Function executes differently on localhost and live client (puppeteer)
- 0
- Self Hosted
- Functions
- Web
- Storage

Appwrite v1.5.4 hosted on Digitalocean, Node 18.0 Function running puppeteer generates Pdf documents. The PDF document generated when the function is called from localhost has all the styles, but when called from the live site [app.domian.com], the document copies patches of the CSS

[localhost] [live client]

build command
apk update && apk fetch chromium nss freetype harfbuzz ca-certificates ttf-freefont && npm i
build logs
Building ...
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
v3.19.1-369-gdacd3ce82f7 [https://dl-cdn.alpinelinux.org/alpine/v3.19/main]
v3.19.1-369-gdacd3ce82f7 [https://dl-cdn.alpinelinux.org/alpine/v3.19/community]
OK: 22991 distinct packages available
Downloading ca-certificates-20240226-r0
Downloading chromium-123.0.6312.105-r0
Downloading font-freefont-20120503-r4
Downloading freetype-2.13.2-r0
Downloading harfbuzz-8.3.0-r0
Downloading nss-3.98-r0
added 127 packages, and audited 128 packages in 17s
13 packages are looking for funding
run `npm fund` for details
2 moderate severity vulnerabilities
To address all issues, run:
npm audit fix
Run `npm audit` for details.
npm notice
npm notice New minor version of npm available! 10.2.4 -> 10.5.1
npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.5.1>
npm notice Run `npm install -g npm@10.5.1` to update!
npm notice
Packing build ...
Build finished.```
Recommended threads
- Issue creating team membership with USER...
Log time ago it worked without any issue when I made a demo app but now it is not working in cloud function. code ```await awTeams ?.createMembe...
- Deployment Error Logs - Golang Functions
Hi guys - I have been developing an appwrite function via the cloud service with a golang runtime environment. Currently, I only get error messages whilst deplo...
- Realtime stuck on pending
I'm hosting appwrite on a server where there's already nginx running and you can see how it's config looks for appwrite on attachted screenshot. I'm not getting...
