Google Calendar - URL is not defined at OAuth2Client



I have a problem with Google Calendar integration. After setting up according to the docs and info received from the I am obtaining the following error message:

[ "{\"stack\":\"ReferenceError: URL is not defined\\n at OAuth2Client.<anonymous> (/app/bundle/programs/server/npm/node_modules/\\n at (<anonymous>)\\n at fulfilled (/app/bundle/programs/server/npm/node_modules/\\n at VM2 Wrapper.apply (/app/bundle/programs/server/npm/node_modules/vm2/lib/bridge.js:485:11)\\n at /app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/fiber_pool.js:43:40\",\"message\":\"URL is not defined\"}" ]

Any clue what is the problem here?
My workspace uses Google SAML login without any problem.

Server Setup Information

  • Version of Rocket.Chat Server: 6.5.2
  • Operating System: Ubuntu
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v14.21.3
  • MongoDB Version: 6.0.6 / wiredTiger (oplog Enabled)
  • Proxy: nginx
  • Firewalls involved: no
1 Like

Got same issue.

I think is an issue with the app and not the server.