User upload image in chat can’t show normally.
But when I click it, it can display correctly.
I checked the html and found when it can’t be shown normally. The URL is S3 URL.
Looks like the src url is incorrect. Thanks.
User upload image in chat can’t show normally.
But when I click it, it can display correctly.
I checked the html and found when it can’t be shown normally. The URL is S3 URL.
Looks like the src url is incorrect. Thanks.
Are you able to load the src URL? It does seem like your upload image is broken because the object does not exist in your bucket. I cannot repro this on our site here.
Thanks for your reply, I’ve check it and make sure that the file is exist in my bucket.
Yes, on my site sometimes it works normally and sometimes not.
Not work.
Work.
I’m also running the same issue trying to set up a private S3 bucket with a CDN for public access.
From what I can tell, as others have mentioned, it seems like the Upload thumbnail url returned from the API is the S3 url while the Upload url has the CDN url. Because I haven’t exposed S3 publicly, the thumbnail fetch fails but if I open the original image, it manages to fetch via the CDN.
Although I know that private S3s might not be officially supported, would it be possible to have the thumbnails use the CDN as well?
Perhaps it can be controlled by the S3_USE_CDN_URL_FOR_ALL_UPLOADS setting.
I did also try turning off the CREATE_THUMBNAILS setting but didn’t seem to apply to Chat uploads.
This is indeed weird that we are not using the CDN url. @martin / @renato I’ve tagged this member-experience and pri-medium for someone to investigate.
צוות יקר,
תצוגה מקדימה של התמונה שלי בצ’אט לא עובדת.
כשאני לוחץ על התמונה בצ’אט, היא טוענת את התמונה הנכונה. אבל כשאני בצ’אט, היא מציגה תצוגה מקדימה שבורה. גיליתי שכתובת האתר של התצוגה המקדימה היא משהו כמו .com.cn במקום כתובת האתר בפועל .com, מדוע .cn זה נוסף אוטומטית?
אני משתמש ב-S3.
אנא עזרו.
דיבורי סרק ולכן אי אפשר להעלות תמונות
עדיין קיימת בעיה בשימוש ב-Cloudflare R2. נראה שמדובר בבאג בתוסף הצ’אט.
@renato @martin I got codex to write this for me… I guess it got carried away with comments… but I think we like these in chat?
Anyway:
Should fix it?
נראה טוב, אבל לא ההערות עם סוג הן משהו שאנו משתמשים בו רק בקוד prosemirror לדעתי.
אין בעיות, מחקתי את ההערות, אני לא ממש מכיר את הקוד, אז בדקתי.
אנחנו באמת צריכים להפוך את הבדיקה של s3 באופן מקומי להרבה יותר קלה (שרת CDN מזויף + s3 מזויף דרך minio)