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

Excalidraw not working on Kubernetes? #1648

Open
RK-RS opened this issue Sep 26, 2023 · 3 comments
Open

Excalidraw not working on Kubernetes? #1648

RK-RS opened this issue Sep 26, 2023 · 3 comments
Labels
🐞 bug Something isn't working 🐋 docker Related to Docker code

Comments

@RK-RS
Copy link
Contributor

RK-RS commented Sep 26, 2023

Hi we have Kroki on our Kubernetes for about 2 years now, but recently Excalidraw seems to not work anymore... I looked a bit into in and is it possible that Excalidraw cannot run on Kubernetes anymore? I get these Messages whenever trying to create a diagram:

{"level":"error","time":1695707141411,"pid":1,"hostname":"excalidraw-54d4499585-xpj4z","stderr":"[0926/054541.411782:ERROR:zygote_host_impl_linux.cc(273)] Failed to adjust OOM score of renderer with pid 150: Permission denied (13)\n","msg":"chrome process"}
{"level":"warn","time":1695707171464,"pid":1,"hostname":"excalidraw-54d4499585-xpj4z","err":{"type":"TimeoutError","message":"Navigation timeout of 30000 ms exceeded","stack":"TimeoutError: Navigation timeout of 30000 ms exceeded\n at LifecycleWatcher._LifecycleWatcher_createTimeoutPromise (file:///usr/local/kroki/node_modules/puppeteer-core/lib/esm/puppeteer/common/LifecycleWatcher.js:154:12)","name":"TimeoutError"},"msg":"Exception during convert"}

The timeout is probably just caused by the error before...
Thanks for your help in advance.

@ggrossetie
Copy link
Member

It seems that Puppeteer/Chrome has some limitations/issues when running on Alpine. We might migrate to ubuntu as base image to make Puppeteer/Chrome more reliable.

@ggrossetie ggrossetie added 🐞 bug Something isn't working 🐋 docker Related to Docker code labels Sep 28, 2023
@ggrossetie
Copy link
Member

Might be related to #1651

@RK-RS does your Kubernetes cluster has access to https://unpkg.com/@excalidraw/excalidraw@0.15.2/dist/excalidraw-assets/ ?

@RK-RS
Copy link
Contributor Author

RK-RS commented Oct 17, 2023

Not by default, but I can get access. So yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working 🐋 docker Related to Docker code
Projects
None yet
Development

No branches or pull requests

2 participants