docker icon indicating copy to clipboard operation
docker copied to clipboard

domain/embed/embed.js returns 404 error

Open DerLeole opened this issue 9 months ago • 8 comments

The current docker container doesnt seem to provide the embed.js file that is needed for fully selfhosted embeds.

DerLeole avatar May 10 '24 12:05 DerLeole

I have the same problem 😢

buzzard10 avatar May 14 '24 12:05 buzzard10

Same here. /embed/embed.js returns 404. Rolled back to version 3.9.1 until v4 is fixed. image

fedenelli avatar May 15 '24 04:05 fedenelli

Rollback the lib as new version uses: useEffect(() => { (async function () { const cal = await getCalApi({});//await getCalApi({ "embedLibUrl": "http://localhost:3000/embed/embed.js" }); cal("ui", { "styles": { "branding": { "brandColor": "#000000" } }, "hideEventTypeDetails": false, "layout": "month_view" }); })(); }, [])

Qodestackr avatar May 18 '24 13:05 Qodestackr

I found a workaround. Replace the url ending with embed/embed.js with https://app.cal.com/embed/embed.js or even better, download the file and serve it from your own domain.

It would be better if this gets fixed, but at least we can use the embed functionality this way.

Lars- avatar May 25 '24 05:05 Lars-

This was already an issue last September (https://github.com/calcom/cal.com/issues/11068). @PeerRich said it was resolved but it's definitely back. :/

nepomuc avatar Jun 08 '24 13:06 nepomuc

investigating

PeerRich avatar Jun 08 '24 14:06 PeerRich

Are you guys using the latest docker version? I am setting up docker at the moment but I don't see any issue with the code related to this.

There was an issue a month back for a brief period which was fixed.

hariombalhara avatar Jun 10 '24 07:06 hariombalhara

@hariombalhara Thanks! Now waiting for your pull request to be merged to main :) (Using the latest docker version and also the latest docker image version btw.)

nepomuc avatar Jun 11 '24 11:06 nepomuc