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

Image rendering issue when sharing link #23

Open
farapholch opened this issue Nov 18, 2024 · 7 comments
Open

Image rendering issue when sharing link #23

farapholch opened this issue Nov 18, 2024 · 7 comments

Comments

@farapholch
Copy link

Hi!

Thanks for great work!

We have an issue with image rendering when sharing a room or link using PostGre as backend.

It seems like that after some time the images stops working.

Do you have any idea whats causing this or maybe it's something in our configuration?

image

@JannikStreek
Copy link
Member

hi @farapholch , haven't seen this error so far or at least I can't remember. About how much time are talking (a few seconds or after weeks).

@farapholch
Copy link
Author

hi @JannikStreek it seems like after a couple of days we get the problem. At the moment we have set the scenes and rooms to live for 1 week. I'll try and find a pattern in this.

@t40mas
Copy link

t40mas commented Jan 28, 2025

Same for me.
The images are still in the db, but not displayed anymore.

Image

Also the decryptionKey is correct.

Image

It happens after a couple of days or a reboot, but not always :D

@JannikStreek
Copy link
Member

JannikStreek commented Jan 28, 2025

Same for me. The images are still in the db, but not displayed anymore.
It happens after a couple of days or a reboot, but not always :D

So the file is still in the database, it is returned correctly, but not displayed? Can you compare the server response with a valid / working one and how they differ?

Edit: Sorry, forgot that you already posted a picture of the error in the console ;)

@t40mas
Copy link

t40mas commented Jan 28, 2025

No problem, i am still debugging :D

@JannikStreek
Copy link
Member

JannikStreek commented Jan 28, 2025

btw: which value have you configured for STORAGE_TTL ? you mentioned 1 week before, so thats the value?

and: Which version/branch of the excalidraw frontend are you using? I think we are still on an older one, not the most recent. They might have changed something within the encryption mechanism.

@farapholch
Copy link
Author

farapholch commented Jan 29, 2025

@JannikStreek

I have this configuration:

STORAGE_TTL value: "604800000"

We are using this frontend: https://github.com/b310-digital/excalidraw
Saw this PR to get to latest: b310-digital/excalidraw#11

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

3 participants