docker icon indicating copy to clipboard operation
docker copied to clipboard

iCloud Calendar Credentials Not Accepted

Open JUNIJC opened this issue 2 years ago • 2 comments

I've created two separate secret app iCloud codes for the Cal icloud calendar sync feature and it fails to login. I checked by copying and pasting the code to ensure there were no spaces before and after, I also manually typed the codes in and tried my regular iCloud password. please view the photos for reference. imageimage

JUNIJC avatar Jun 15 '23 11:06 JUNIJC

I'm also seeing this, here are the errors from docker:

@calcom/web:start: RangeError: Invalid key length
@calcom/web:start:     at Cipheriv.createCipherBase (node:internal/crypto/cipher:122:19)
@calcom/web:start:     at Cipheriv.createCipherWithIV (node:internal/crypto/cipher:141:3)
@calcom/web:start:     at new Cipheriv (node:internal/crypto/cipher:249:3)
@calcom/web:start:     at Object.createCipheriv (node:crypto:141:10)
@calcom/web:start:     at symmetricEncrypt (/calcom/apps/web/.next/server/chunks/13303.js:29:66)
@calcom/web:start:     at handler (/calcom/apps/web/.next/server/chunks/40625.js:39:95)
@calcom/web:start:     at async handler (/calcom/apps/web/.next/server/pages/api/integrations/[...args].js:645:13) {
@calcom/web:start:   code: 'ERR_CRYPTO_INVALID_KEYLEN'
@calcom/web:start: }

wez avatar Jul 21 '23 15:07 wez

traced it via https://github.com/calcom/docker/issues/183 to not setting the encryption key correctly in the .env file

wez avatar Jul 21 '23 15:07 wez

Closing for cleanup, please reopen if still experiencing this issue. Thanks!

krumware avatar Aug 13 '25 23:08 krumware