cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

"Cal Video" is enabled by default for users whereas not in the admin interface

Open sneko opened this issue 2 years ago • 10 comments

Hi,

I'm using v3.5.4 on my server and my users have Cal Video as a default conferencing app (that they can choose) whereas it's not configured in the administration.

I'm wondering:

  • Is it an official sponsor and you force users to see it?
  • Or is it a technical issue (or a bug on my side)?

To give more context, here is what the user can see in their settings:

Pasted Graphic 1

They are able to remove the app, but if not, it will fail (and note all new users have it enabled). If someone book a meeting with Cal Video chosen, here is the email received by the author:

There was a problem adding a video link

When looking at the logs I can see:

2023-12-06T19:19:36+01:00 @calcom/web:start: 18:19:35:907WARNEventManager Could not find conferenceCredentialId for event with location: integrations:daily, trying to use last added video credential
2023-12-06T19:19:36+01:00 @calcom/web:start: 18:19:36:316ERROR[lib] videoClient createMeeting failed {"err":{"issues":[{"code":"invalid_type","expected":"string","received":"undefined","path":["api_key"],"message":"Required"}],"name":"ZodError"},"calEvent":{"eventTypeId":205,"type":"15min","startTime":"2023-12-07T08:00:00Z","endTime":"2023-12-07T08:15:00Z","schedulingType":null,"seatsPerTimeSlot":null,"requiresConfirmation":false,"uid":"m6d1gofn79YPkTGkFdR1xj","title":"PiiFree:true"}}

It clearly says a config is missing, and when going to administration I do see the app disabled with no setting inside:

image (24) Conferencing

Any idea how to simply disable Cal Video from showing up to users?

Thank you,

sneko avatar Dec 07 '23 09:12 sneko

Hey, to me it seems like the configuration for Daily.com might be off steps to set things right:

Obtaining Daily API Credentials

  • Visit our Daily.co Partnership Form and enter your information
  • From within your dashboard, go to the developers tab.
  • Copy your API key.
  • Now paste the API key to your .env file into the DAILY_API_KEY field in your .env file.
  • If you have the Daily Scale Plan set the DAILY_SCALE_PLAN variable to true in order to use features like video recording.

after following all these steps you need to run: yarn workspace @calcom/prisma seed-app-store and redeploy to your instance.

or just paste the keys in api_key, both should work

ibex088 avatar Dec 11 '23 07:12 ibex088

@SomayChauhan I don't want to enable Daily.co... Can you confirm Cal.com can be used without this?

No matter if it's required or not (despite Cal.com being open source), there is a UX issue of letting people allowing CalVideo in their meeting whereas it's not even configured globally.

sneko avatar Dec 11 '23 09:12 sneko

oh!!, i see :thinking: If Daily.com isn't set up correctly on your instance,users will have to manually select some alternative conferencing app for things to function correctly. if they don't, it defaults to Cal Video (Daily.com).

However, I'm not entirely certain if it can be used without Cal Video altogether(because if nothing is setup up it defaults to cal video), it might be advisable to wait for the core team members to investigate this.

ibex088 avatar Dec 11 '23 09:12 ibex088

maige, don't add "🚨 needs approval" when you add "🐛 bug"

PeerRich avatar Dec 11 '23 18:12 PeerRich

Noted, @PeerRich. I won't add "🚨 needs approval" when labelling issues with "🐛 bug".

By Maige. How's my driving?

maige-app[bot] avatar Dec 11 '23 18:12 maige-app[bot]

@PeerRich could you please confirm or not this is a normal behavior?

sneko avatar Dec 12 '23 09:12 sneko

event-types require a video service, thats why you are getting that error. if you dont want this as a self-hoster, you can just remove it

PeerRich avatar Dec 13 '23 01:12 PeerRich

What do you mean by removing it? Disabling it in the global settings from the admin UI is what I did. According to you it's not enough?

Any tip? Should I remove an entry in the database? Should I remove specific files to remove the mapping displaying it?

Thank you,

sneko avatar Dec 13 '23 10:12 sneko

Any updates on this? Still have the same problem. Even when I disable Cal Video - it still shows up while creating new events. @sneko did you managed to get Cal Video completely removed?

Basserado avatar Nov 19 '24 22:11 Basserado

Also had same issue like this with Microsoft Teams.

My solution was removing all team members that do not have a conferencing app at all

sebastianhochreiter avatar Dec 04 '24 17:12 sebastianhochreiter