Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG not generating on production #617

Open
Abhishek-M-K opened this issue May 28, 2024 · 1 comment
Open

SVG not generating on production #617

Abhishek-M-K opened this issue May 28, 2024 · 1 comment

Comments

@Abhishek-M-K
Copy link

Bug report

I have been trying to generate dynamic background using opengraph images in Nextjs via Satori. On production while generating the SVGs it's throwing TypeError: certificate image is not iterable

Expected Behavior

Development

On local development it's generating SVGs fine as below and this is also the expected behavior :

1

Production

On production instead of the blob SVG it's a blank background with TypeError: certificate image is not iterable :

2

Additional Info

Sharing the gist containing code for better understanding of implementation details.
Gist : https://gist.github.com/Abhishek-M-K/c86d23b8efd28777e6aaa35e8d860cf8

@shuding
Copy link
Member

shuding commented Jun 1, 2024

If you don’t mind, could you share the production generated SVG file (not the screenshot but the original SVG so we can take a look)? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants