Rocket.Chat deplyment on Kubernetes with helm chart

Description

Trying to install Rocket.Chat on Kubernetes with helm chart. But Rocket.chat container is failing to start.

Server Setup Information

  • Version of Rocket.Chat Server: 6.6.1
  • Operating System:
  • Deployment Method: with helm chart on kubernetes
  • Number of Running Instances: 1 Pod
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy: ingress.nginx
  • Firewalls involved:

Any additional Information

/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:218
throw error;
^

MongoServerError: Authentication failed.
at Connection.onMessage (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/connection.js:231:30)
at MessageStream. (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/connection.js:61:60)
at MessageStream.emit (events.js:400:28)
at processIncomingData (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/message_stream.js:125:16)
at MessageStream._write (/app/bundle/programs/server/npm/node_modules/meteor/npm-mongo/node_modules/mongodb/lib/cmap/message_stream.js:33:9)
at writeOrBuffer (internal/streams/writable.js:358:12)
at MessageStream.Writable.write (internal/streams/writable.js:303:10)
at Socket.ondata (internal/streams/readable.js:731:22)
at Socket.emit (events.js:400:28)
at addChunk (internal/streams/readable.js:293:12)
at readableAddChunk (internal/streams/readable.js:267:9)
at Socket.Readable.push (internal/streams/readable.js:206:10)
at TCP.onStreamRead (internal/stream_base_commons.js:188:23)
=> awaited here:
at Function.Promise.await (/app/bundle/programs/server/npm/node_modules/meteor/promise/node_modules/meteor-promise/promise_server.js:56:12)
at new MongoConnection (packages/mongo/mongo_driver.js:213:11)
at new MongoInternals.RemoteCollectionDriver (packages/mongo/remote_collection_driver.js:9:16)
at Object. (packages/mongo/remote_collection_driver.js:66:18)
at Object.defaultRemoteCollectionDriver (packages/underscore.js:784:19)
at new Collection (packages/mongo/collection.js:124:40)
at AccountsServer._initializeCollection (packages/accounts-base/accounts_common.js:98:20)
at new AccountsCommon (packages/accounts-base/accounts_common.js:46:23)
at new AccountsServer (packages/accounts-base/accounts_server.js:30:5)
at packages/accounts-base/server_main.js:7:12
at module (packages/accounts-base/server_main.js:19:31)
at fileEvaluate (packages/modules-runtime.js:336:7)
at Module.require (packages/modules-runtime.js:238:14)
at require (packages/modules-runtime.js:258:21)
at /app/bundle/programs/server/packages/accounts-base.js:2232:15
at /app/bundle/programs/server/packages/accounts-base.js:2239:3 {
ok: 0,
code: 18,
codeName: ‘AuthenticationFailed’,
‘$clusterTime’: {
clusterTime: Timestamp { low: 2, high: 1708964262, unsigned: true },
signature: {
hash: Binary {
sub_type: 0,
buffer: Buffer(20) [Uint8Array] [
227, 197, 18, 167, 116, 112,
242, 246, 211, 229, 77, 4,
243, 166, 78, 121, 99, 137,
252, 186
],
position: 20
},
keyId: Long { low: 7, high: 1708947336, unsigned: false }
}
},
operationTime: Timestamp { low: 2, high: 1708964262, unsigned: true },
connectionGeneration: 0,
[Symbol(errorLabels)]: Set(2) { ‘HandshakeError’, ‘ResetPool’ }
}