calcom / docker

The Docker configuration for Cal.com is an effort powered by people within the community. Cal.com, Inc. does not provide official support for Docker, but we will accept fixes and documentation. Use at your own risk.
MIT License
612 stars 319 forks source link

domain/embed/embed.js returns 404 error #360

Open DerLeole opened 2 months ago

DerLeole commented 2 months ago

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

buzzard10 commented 1 month ago

I have the same problem 😢

fedenelli commented 1 month ago

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

image
Qodestackr commented 1 month ago

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" }); })(); }, [])

Lars- commented 1 month ago

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.

nepomuc commented 1 month ago

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. :/

PeerRich commented 1 month ago

investigating

hariombalhara commented 1 month ago

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.

nepomuc commented 4 weeks ago

@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.)