-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.log
137 lines (137 loc) · 631 KB
/
error.log
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{"level":"error","message":"Error finding user by email: MissingSchemaError: Schema hasn't been registered for model \"AppliedJob\".\nUse mongoose.model(name, schema)\n at NativeConnection.Connection.model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/connection.js:1230:13)\n at _getModelFromConn (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js:569:15)\n at addModelNamesToMap (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js:496:17)\n at getModelsMapForPopulate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js:200:7)\n at populate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4245:21)\n at _populate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4205:5)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4177:5\n at new Promise (<anonymous>)\n at Function.populate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4176:10)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2546:11 {\n [stack]: [Getter/Setter],\n [message]: `Schema hasn't been registered for model \"AppliedJob\".\\n` +\n 'Use mongoose.model(name, schema)',\n [name]: 'MissingSchemaError'\n}","service":"user-service","timestamp":"2024-10-13 16:01:27"}
{"level":"error","message":"Error registering user: Error: Schema hasn't been registered for model \"AppliedJob\".\nUse mongoose.model(name, schema)\n at UserServices.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/userServices/userServices.ts:190:13)\n at Generator.throw (<anonymous>)\n at rejected (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/userServices/userServices.ts:6:65)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: `Schema hasn't been registered for model \"AppliedJob\".\\n` +\n 'Use mongoose.model(name, schema)'\n}","service":"user-service","timestamp":"2024-10-13 16:01:27"}
{"level":"error","message":"Error finding user by email: MissingSchemaError: Schema hasn't been registered for model \"AppliedJob\".\nUse mongoose.model(name, schema)\n at NativeConnection.Connection.model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/connection.js:1230:13)\n at _getModelFromConn (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js:569:15)\n at addModelNamesToMap (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js:496:17)\n at getModelsMapForPopulate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js:200:7)\n at populate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4245:21)\n at _populate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4205:5)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4177:5\n at new Promise (<anonymous>)\n at Function.populate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4176:10)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2546:11 {\n [stack]: [Getter/Setter],\n [message]: `Schema hasn't been registered for model \"AppliedJob\".\\n` +\n 'Use mongoose.model(name, schema)',\n [name]: 'MissingSchemaError'\n}","service":"user-service","timestamp":"2024-10-13 16:06:26"}
{"level":"error","message":"Error registering user: Error: Schema hasn't been registered for model \"AppliedJob\".\nUse mongoose.model(name, schema)\n at UserServices.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/userServices/userServices.ts:190:13)\n at Generator.throw (<anonymous>)\n at rejected (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/userServices/userServices.ts:6:65)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: `Schema hasn't been registered for model \"AppliedJob\".\\n` +\n 'Use mongoose.model(name, schema)'\n}","service":"user-service","timestamp":"2024-10-13 16:06:26"}
{"level":"error","message":"Error registering user: Error: User validation failed: address.0: Cast to [ObjectId] failed for value \"[ { street: '', city: '', state: '', zip: '', country: '' } ]\" (type string) at path \"address.0\" because of \"CastError\", company.0: Cast to [ObjectId] failed for value \"[ { name: '', website: '', logo: '', logoBackground: '' } ]\" (type string) at path \"company.0\" because of \"CastError\"\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: `User validation failed: address.0: Cast to [ObjectId] failed for value \"[ { street: '', city: '', state: '', zip: '', country: '' } ]\" (type string) at path \"address.0\" because of \"CastError\", company.0: Cast to [ObjectId] failed for value \"[ { name: '', website: '', logo: '', logoBackground: '' } ]\" (type string) at path \"company.0\" because of \"CastError\"`,\n errors: {\n 'address.0': CastError: Cast to [ObjectId] failed for value \"[ { street: '', city: '', state: '', zip: '', country: '' } ]\" (type string) at path \"address.0\" because of \"CastError\"\n at SchemaArray.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/array.js:401:15)\n at SchemaArray.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/array.js:415:17)\n at SchemaArray.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1432:22)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12)\n at model.Model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:125:12)\n at new model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4611:15)\n at UserServices.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/userServices/userServices.ts:94:23)\n at Generator.next (<anonymous>) {\n [stack]: [Getter/Setter],\n [message]: `Cast to [ObjectId] failed for value \"[ { street: '', city: '', state: '', zip: '', country: '' } ]\" (type string) at path \"address.0\" because of \"CastError\"`,\n stringValue: `\"[ { street: '', city: '', state: '', zip: '', country: '' } ]\"`,\n messageFormat: undefined,\n kind: '[ObjectId]',\n value: \"[ { street: '', city: '', state: '', zip: '', country: '' } ]\",\n path: 'address.0',\n reason: CastError: Cast to ObjectId failed for value \"{ street: '', city: '', state: '', zip: '', country: '' }\" (type Object) at path \"address\" because of \"BSONError\"\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:250:11)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaArray.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/array.js:397:32)\n at SchemaArray.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/array.js:415:17)\n at SchemaArray.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1432:22)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12)\n at model.Model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:125:12)\n at new model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4611:15) {\n [stack]: [Getter/Setter],\n [message]: `Cast to ObjectId failed for value \"{ street: '', city: '', state: '', zip: '', country: '' }\" (type Object) at path \"address\" because of \"BSONError\"`,\n stringValue: `\"{ street: '', city: '', state: '', zip: '', country: '' }\"`,\n messageFormat: undefined,\n kind: 'ObjectId',\n value: { street: '', city: '', state: '', zip: '', country: '' },\n path: 'address',\n reason: BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer\n at new ObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/bson/src/objectid.ts:118:15)\n at castObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast/objectid.js:25:12)\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:248:12)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaArray.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/array.js:397:32)\n at SchemaArray.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/array.js:415:17)\n at SchemaArray.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1432:22)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12) {\n [stack]: [Getter/Setter],\n [message]: 'input must be a 24 character hex string, 12 byte Uint8Array, or an integer',\n [bsonError]: [Getter],\n [name]: [Getter]\n },\n valueType: 'Object',\n [name]: 'CastError'\n },\n valueType: 'string',\n [name]: 'CastError'\n },\n 'company.0': CastError: Cast to [ObjectId] failed for value \"[ { name: '', website: '', logo: '', logoBackground: '' } ]\" (type string) at path \"company.0\" because of \"CastError\"\n at SchemaArray.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/array.js:401:15)\n at SchemaArray.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/array.js:415:17)\n at SchemaArray.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1432:22)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12)\n at model.Model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:125:12)\n at new model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4611:15)\n at UserServices.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/userServices/userServices.ts:94:23)\n at Generator.next (<anonymous>) {\n [stack]: [Getter/Setter],\n [message]: `Cast to [ObjectId] failed for value \"[ { name: '', website: '', logo: '', logoBackground: '' } ]\" (type string) at path \"company.0\" because of \"CastError\"`,\n stringValue: `\"[ { name: '', website: '', logo: '', logoBackground: '' } ]\"`,\n messageFormat: undefined,\n kind: '[ObjectId]',\n value: \"[ { name: '', website: '', logo: '', logoBackground: '' } ]\",\n path: 'company.0',\n reason: CastError: Cast to ObjectId failed for value \"{ name: '', website: '', logo: '', logoBackground: '' }\" (type Object) at path \"company\" because of \"BSONError\"\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:250:11)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaArray.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/array.js:397:32)\n at SchemaArray.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/array.js:415:17)\n at SchemaArray.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1432:22)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12)\n at model.Model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:125:12)\n at new model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4611:15) {\n [stack]: [Getter/Setter],\n [message]: `Cast to ObjectId failed for value \"{ name: '', website: '', logo: '', logoBackground: '' }\" (type Object) at path \"company\" because of \"BSONError\"`,\n stringValue: `\"{ name: '', website: '', logo: '', logoBackground: '' }\"`,\n messageFormat: undefined,\n kind: 'ObjectId',\n value: { name: '', website: '', logo: '', logoBackground: '' },\n path: 'company',\n reason: BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer\n at new ObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/bson/src/objectid.ts:118:15)\n at castObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast/objectid.js:25:12)\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:248:12)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaArray.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/array.js:397:32)\n at SchemaArray.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/array.js:415:17)\n at SchemaArray.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1432:22)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12) {\n [stack]: [Getter/Setter],\n [message]: 'input must be a 24 character hex string, 12 byte Uint8Array, or an integer',\n [bsonError]: [Getter],\n [name]: [Getter]\n },\n valueType: 'Object',\n [name]: 'CastError'\n },\n valueType: 'string',\n [name]: 'CastError'\n }\n },\n _message: 'User validation failed'\n}","service":"user-service","timestamp":"2024-10-13 16:10:10"}
{"level":"error","message":"Error updating email: Error: User validation failed: email: Path `email` is required.\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'User validation failed: email: Path `email` is required.',\n errors: {\n email: ValidatorError: Path `email` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `email` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `email` is required.',\n type: 'required',\n path: 'email',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'email',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n }\n },\n _message: 'User validation failed'\n}","service":"user-service","timestamp":"2024-10-13 17:07:41"}
{"level":"error","message":"Error updating email: Error: User validation failed: email: Path `email` is required.\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'User validation failed: email: Path `email` is required.',\n errors: {\n email: ValidatorError: Path `email` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `email` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `email` is required.',\n type: 'required',\n path: 'email',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'email',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n }\n },\n _message: 'User validation failed'\n}","service":"user-service","timestamp":"2024-10-13 17:11:40"}
{"level":"error","message":"Error updating password: CastError: Cast to ObjectId failed for value \"670be1f74c65229547e502a\" (type string) at path \"_id\" for model \"User\"\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:250:11)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: 'Cast to ObjectId failed for value \"670be1f74c65229547e502a\" (type string) at path \"_id\" for model \"User\"',\n stringValue: '\"670be1f74c65229547e502a\"',\n messageFormat: undefined,\n kind: 'ObjectId',\n value: '670be1f74c65229547e502a',\n path: '_id',\n reason: BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer\n at new ObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/bson/src/objectid.ts:118:15)\n at castObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast/objectid.js:25:12)\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:248:12)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80) {\n [stack]: [Getter/Setter],\n [message]: 'input must be a 24 character hex string, 12 byte Uint8Array, or an integer',\n [bsonError]: [Getter],\n [name]: [Getter]\n },\n valueType: 'string',\n [name]: 'CastError'\n}","service":"user-service","timestamp":"2024-10-13 17:21:38"}
{"level":"error","message":"Error creating education: Error: Education validation failed: endDate: Path `endDate` is required., startDate: Path `startDate` is required., institution: Path `institution` is required., degree: Path `degree` is required.\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'Education validation failed: endDate: Path `endDate` is required., startDate: Path `startDate` is required., institution: Path `institution` is required., degree: Path `degree` is required.',\n errors: {\n endDate: ValidatorError: Path `endDate` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaDate.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `endDate` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `endDate` is required.',\n type: 'required',\n path: 'endDate',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'endDate',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n startDate: ValidatorError: Path `startDate` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaDate.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `startDate` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `startDate` is required.',\n type: 'required',\n path: 'startDate',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'startDate',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n institution: ValidatorError: Path `institution` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `institution` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `institution` is required.',\n type: 'required',\n path: 'institution',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'institution',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n degree: ValidatorError: Path `degree` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `degree` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `degree` is required.',\n type: 'required',\n path: 'degree',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'degree',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n }\n },\n _message: 'Education validation failed'\n}","service":"user-service","timestamp":"2024-10-13 19:39:29"}
{"level":"error","message":"Error creating education: Error: Education validation failed: endDate: Path `endDate` is required., startDate: Path `startDate` is required., institution: Path `institution` is required., degree: Path `degree` is required.\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'Education validation failed: endDate: Path `endDate` is required., startDate: Path `startDate` is required., institution: Path `institution` is required., degree: Path `degree` is required.',\n errors: {\n endDate: ValidatorError: Path `endDate` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaDate.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `endDate` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `endDate` is required.',\n type: 'required',\n path: 'endDate',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'endDate',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n startDate: ValidatorError: Path `startDate` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaDate.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `startDate` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `startDate` is required.',\n type: 'required',\n path: 'startDate',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'startDate',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n institution: ValidatorError: Path `institution` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `institution` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `institution` is required.',\n type: 'required',\n path: 'institution',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'institution',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n degree: ValidatorError: Path `degree` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `degree` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `degree` is required.',\n type: 'required',\n path: 'degree',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'degree',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n }\n },\n _message: 'Education validation failed'\n}","service":"user-service","timestamp":"2024-10-13 19:40:20"}
{"level":"error","message":"Error creating education: Error: Education validation failed: userId: Path `userId` is required., endDate: Path `endDate` is required., startDate: Path `startDate` is required., institution: Path `institution` is required., degree: Path `degree` is required.\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'Education validation failed: userId: Path `userId` is required., endDate: Path `endDate` is required., startDate: Path `startDate` is required., institution: Path `institution` is required., degree: Path `degree` is required.',\n errors: {\n userId: ValidatorError: Path `userId` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `userId` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `userId` is required.',\n type: 'required',\n path: 'userId',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'userId',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n endDate: ValidatorError: Path `endDate` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaDate.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `endDate` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `endDate` is required.',\n type: 'required',\n path: 'endDate',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'endDate',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n startDate: ValidatorError: Path `startDate` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaDate.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `startDate` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `startDate` is required.',\n type: 'required',\n path: 'startDate',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'startDate',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n institution: ValidatorError: Path `institution` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `institution` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `institution` is required.',\n type: 'required',\n path: 'institution',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'institution',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n degree: ValidatorError: Path `degree` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `degree` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `degree` is required.',\n type: 'required',\n path: 'degree',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'degree',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n }\n },\n _message: 'Education validation failed'\n}","service":"user-service","timestamp":"2024-10-13 19:41:03"}
{"level":"error","message":"Invalid education data","service":"user-service","timestamp":"2024-10-13 19:43:02"}
{"level":"error","message":"Error creating education: Error: Education validation failed: institution: Path `institution` is required.\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'Education validation failed: institution: Path `institution` is required.',\n errors: {\n institution: ValidatorError: Path `institution` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `institution` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `institution` is required.',\n type: 'required',\n path: 'institution',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'institution',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n }\n },\n _message: 'Education validation failed'\n}","service":"user-service","timestamp":"2024-10-13 19:44:07"}
{"level":"error","message":"Error creating skill: Error: Skill validation failed: proficiency: Path `proficiency` is required.\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'Skill validation failed: proficiency: Path `proficiency` is required.',\n errors: {\n proficiency: ValidatorError: Path `proficiency` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `proficiency` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `proficiency` is required.',\n type: 'required',\n path: 'proficiency',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'proficiency',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n }\n },\n _message: 'Skill validation failed'\n}","service":"user-service","timestamp":"2024-10-13 20:15:08"}
{"level":"error","message":"Error creating job: Error: Job validation failed: company: Cast to ObjectId failed for value \"{\n name: 'Example Company',\n website: 'https://example.com',\n logo: 'https://example.com/logo.png',\n logoBackground: '#FFFFFF'\n}\" (type Object) at path \"company\" because of \"BSONError\", role: Cast to Embedded failed for value \"Developer\" (type string) at path \"role\" because of \"ObjectExpectedError\"\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'Job validation failed: company: Cast to ObjectId failed for value \"{\\n' +\n \" name: 'Example Company',\\n\" +\n \" website: 'https://example.com',\\n\" +\n \" logo: 'https://example.com/logo.png',\\n\" +\n \" logoBackground: '#FFFFFF'\\n\" +\n '}\" (type Object) at path \"company\" because of \"BSONError\", role: Cast to Embedded failed for value \"Developer\" (type string) at path \"role\" because of \"ObjectExpectedError\"',\n errors: {\n company: CastError: Cast to ObjectId failed for value \"{\n name: 'Example Company',\n website: 'https://example.com',\n logo: 'https://example.com/logo.png',\n logoBackground: '#FFFFFF'\n }\" (type Object) at path \"company\" because of \"BSONError\"\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:250:11)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1432:22)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12)\n at model.Model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:125:12)\n at new model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4611:15)\n at JobService.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:8:22)\n at Generator.next (<anonymous>)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:8:71 {\n [stack]: [Getter/Setter],\n [message]: 'Cast to ObjectId failed for value \"{\\n' +\n \" name: 'Example Company',\\n\" +\n \" website: 'https://example.com',\\n\" +\n \" logo: 'https://example.com/logo.png',\\n\" +\n \" logoBackground: '#FFFFFF'\\n\" +\n '}\" (type Object) at path \"company\" because of \"BSONError\"',\n stringValue: '\"{\\n' +\n \" name: 'Example Company',\\n\" +\n \" website: 'https://example.com',\\n\" +\n \" logo: 'https://example.com/logo.png',\\n\" +\n \" logoBackground: '#FFFFFF'\\n\" +\n '}\"',\n messageFormat: undefined,\n kind: 'ObjectId',\n value: {\n name: 'Example Company',\n website: 'https://example.com',\n logo: 'https://example.com/logo.png',\n logoBackground: '#FFFFFF'\n },\n path: 'company',\n reason: BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer\n at new ObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/bson/src/objectid.ts:118:15)\n at castObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast/objectid.js:25:12)\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:248:12)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1432:22)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12)\n at model.Model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:125:12)\n at new model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4611:15)\n at JobService.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:8:22) {\n [stack]: [Getter/Setter],\n [message]: 'input must be a 24 character hex string, 12 byte Uint8Array, or an integer',\n [bsonError]: [Getter],\n [name]: [Getter]\n },\n valueType: 'Object',\n [name]: 'CastError'\n },\n role: CastError: Cast to Embedded failed for value \"Developer\" (type string) at path \"role\" because of \"ObjectExpectedError\"\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1481:9)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12)\n at model.Model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:125:12)\n at new model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4611:15)\n at JobService.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:8:22)\n at Generator.next (<anonymous>)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:8:71\n at new Promise (<anonymous>)\n at __awaiter (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:4:12) {\n [stack]: [Getter/Setter],\n [message]: 'Cast to Embedded failed for value \"Developer\" (type string) at path \"role\" because of \"ObjectExpectedError\"',\n stringValue: '\"Developer\"',\n messageFormat: undefined,\n kind: 'Embedded',\n value: 'Developer',\n path: 'role',\n reason: ObjectExpectedError: Tried to set nested object field `role` to primitive value `Developer`\n at SchemaSubdocument.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/subdocument.js:162:11)\n at SchemaSubdocument.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1432:22)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12)\n at model.Model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:125:12)\n at new model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4611:15)\n at JobService.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:8:22)\n at Generator.next (<anonymous>)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:8:71 {\n [stack]: [Getter/Setter],\n [message]: 'Tried to set nested object field `role` to primitive value `Developer`',\n path: 'role',\n [name]: 'ObjectExpectedError'\n },\n valueType: 'string',\n [name]: 'CastError'\n }\n },\n _message: 'Job validation failed'\n}","service":"user-service","timestamp":"2024-10-13 21:54:59"}
{"level":"error","message":"Error creating job: Error: Company validation failed: userId: Path `userId` is required.\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'Company validation failed: userId: Path `userId` is required.',\n errors: {\n userId: ValidatorError: Path `userId` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `userId` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `userId` is required.',\n type: 'required',\n path: 'userId',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'userId',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n }\n },\n _message: 'Company validation failed'\n}","service":"user-service","timestamp":"2024-10-13 22:03:00"}
{"level":"error","message":"Error creating job: Error: Company validation failed: userId: Path `userId` is required.\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'Company validation failed: userId: Path `userId` is required.',\n errors: {\n userId: ValidatorError: Path `userId` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `userId` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `userId` is required.',\n type: 'required',\n path: 'userId',\n fullPath: undefined,\n value: undefined\n },\n kind: 'required',\n path: 'userId',\n value: undefined,\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n }\n },\n _message: 'Company validation failed'\n}","service":"user-service","timestamp":"2024-10-13 22:04:55"}
{"level":"error","message":"Error creating job: Error: Job validation failed: role: Cast to Embedded failed for value \"Developer\" (type string) at path \"role\" because of \"ObjectExpectedError\"\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'Job validation failed: role: Cast to Embedded failed for value \"Developer\" (type string) at path \"role\" because of \"ObjectExpectedError\"',\n errors: {\n role: CastError: Cast to Embedded failed for value \"Developer\" (type string) at path \"role\" because of \"ObjectExpectedError\"\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1481:9)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12)\n at model.Model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:125:12)\n at new model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4611:15)\n at JobService.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:19:22)\n at Generator.next (<anonymous>)\n at fulfilled (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:5:58)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: 'Cast to Embedded failed for value \"Developer\" (type string) at path \"role\" because of \"ObjectExpectedError\"',\n stringValue: '\"Developer\"',\n messageFormat: undefined,\n kind: 'Embedded',\n value: 'Developer',\n path: 'role',\n reason: ObjectExpectedError: Tried to set nested object field `role` to primitive value `Developer`\n at SchemaSubdocument.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/subdocument.js:162:11)\n at SchemaSubdocument.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1432:22)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12)\n at model.Model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:125:12)\n at new model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4611:15)\n at JobService.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:19:22)\n at Generator.next (<anonymous>)\n at fulfilled (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:5:58) {\n [stack]: [Getter/Setter],\n [message]: 'Tried to set nested object field `role` to primitive value `Developer`',\n path: 'role',\n [name]: 'ObjectExpectedError'\n },\n valueType: 'string',\n [name]: 'CastError'\n }\n },\n _message: 'Job validation failed'\n}","service":"user-service","timestamp":"2024-10-13 22:07:48"}
{"level":"error","message":"Error creating job: Error: Job validation failed: role: Cast to Embedded failed for value \"Developer\" (type string) at path \"role\" because of \"ObjectExpectedError\"\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'Job validation failed: role: Cast to Embedded failed for value \"Developer\" (type string) at path \"role\" because of \"ObjectExpectedError\"',\n errors: {\n role: CastError: Cast to Embedded failed for value \"Developer\" (type string) at path \"role\" because of \"ObjectExpectedError\"\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1481:9)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12)\n at model.Model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:125:12)\n at new model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4611:15)\n at JobService.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:19:22)\n at Generator.next (<anonymous>)\n at fulfilled (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:5:58)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: 'Cast to Embedded failed for value \"Developer\" (type string) at path \"role\" because of \"ObjectExpectedError\"',\n stringValue: '\"Developer\"',\n messageFormat: undefined,\n kind: 'Embedded',\n value: 'Developer',\n path: 'role',\n reason: ObjectExpectedError: Tried to set nested object field `role` to primitive value `Developer`\n at SchemaSubdocument.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/subdocument.js:162:11)\n at SchemaSubdocument.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1432:22)\n at model.$set (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:1128:16)\n at model.Document (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:177:12)\n at model.Model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:125:12)\n at new model (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4611:15)\n at JobService.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:19:22)\n at Generator.next (<anonymous>)\n at fulfilled (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/jobService.ts:5:58) {\n [stack]: [Getter/Setter],\n [message]: 'Tried to set nested object field `role` to primitive value `Developer`',\n path: 'role',\n [name]: 'ObjectExpectedError'\n },\n valueType: 'string',\n [name]: 'CastError'\n }\n },\n _message: 'Job validation failed'\n}","service":"user-service","timestamp":"2024-10-13 22:13:01"}
{"level":"error","message":"Error getting job: CastError: Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:250:11)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: 'Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"',\n stringValue: '\"undefined\"',\n messageFormat: undefined,\n kind: 'ObjectId',\n value: 'undefined',\n path: '_id',\n reason: BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer\n at new ObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/bson/src/objectid.ts:118:15)\n at castObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast/objectid.js:25:12)\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:248:12)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80) {\n [stack]: [Getter/Setter],\n [message]: 'input must be a 24 character hex string, 12 byte Uint8Array, or an integer',\n [bsonError]: [Getter],\n [name]: [Getter]\n },\n valueType: 'string',\n [name]: 'CastError'\n}","service":"user-service","timestamp":"2024-10-14 00:12:35"}
{"level":"error","message":"Error getting job: CastError: Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:250:11)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: 'Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"',\n stringValue: '\"undefined\"',\n messageFormat: undefined,\n kind: 'ObjectId',\n value: 'undefined',\n path: '_id',\n reason: BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer\n at new ObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/bson/src/objectid.ts:118:15)\n at castObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast/objectid.js:25:12)\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:248:12)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80) {\n [stack]: [Getter/Setter],\n [message]: 'input must be a 24 character hex string, 12 byte Uint8Array, or an integer',\n [bsonError]: [Getter],\n [name]: [Getter]\n },\n valueType: 'string',\n [name]: 'CastError'\n}","service":"user-service","timestamp":"2024-10-14 00:12:35"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 00:18:03"}
{"level":"error","message":"Error getting job: CastError: Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:250:11)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: 'Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"',\n stringValue: '\"undefined\"',\n messageFormat: undefined,\n kind: 'ObjectId',\n value: 'undefined',\n path: '_id',\n reason: BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer\n at new ObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/bson/src/objectid.ts:118:15)\n at castObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast/objectid.js:25:12)\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:248:12)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80) {\n [stack]: [Getter/Setter],\n [message]: 'input must be a 24 character hex string, 12 byte Uint8Array, or an integer',\n [bsonError]: [Getter],\n [name]: [Getter]\n },\n valueType: 'string',\n [name]: 'CastError'\n}","service":"user-service","timestamp":"2024-10-14 00:18:44"}
{"level":"error","message":"Error getting job: CastError: Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:250:11)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: 'Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"',\n stringValue: '\"undefined\"',\n messageFormat: undefined,\n kind: 'ObjectId',\n value: 'undefined',\n path: '_id',\n reason: BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer\n at new ObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/bson/src/objectid.ts:118:15)\n at castObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast/objectid.js:25:12)\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:248:12)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80) {\n [stack]: [Getter/Setter],\n [message]: 'input must be a 24 character hex string, 12 byte Uint8Array, or an integer',\n [bsonError]: [Getter],\n [name]: [Getter]\n },\n valueType: 'string',\n [name]: 'CastError'\n}","service":"user-service","timestamp":"2024-10-14 00:18:44"}
{"level":"error","message":"Error getting job: CastError: Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:250:11)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: 'Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"',\n stringValue: '\"undefined\"',\n messageFormat: undefined,\n kind: 'ObjectId',\n value: 'undefined',\n path: '_id',\n reason: BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer\n at new ObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/bson/src/objectid.ts:118:15)\n at castObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast/objectid.js:25:12)\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:248:12)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80) {\n [stack]: [Getter/Setter],\n [message]: 'input must be a 24 character hex string, 12 byte Uint8Array, or an integer',\n [bsonError]: [Getter],\n [name]: [Getter]\n },\n valueType: 'string',\n [name]: 'CastError'\n}","service":"user-service","timestamp":"2024-10-14 00:23:16"}
{"level":"error","message":"Error getting job: CastError: Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:250:11)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: 'Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"',\n stringValue: '\"undefined\"',\n messageFormat: undefined,\n kind: 'ObjectId',\n value: 'undefined',\n path: '_id',\n reason: BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer\n at new ObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/bson/src/objectid.ts:118:15)\n at castObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast/objectid.js:25:12)\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:248:12)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80) {\n [stack]: [Getter/Setter],\n [message]: 'input must be a 24 character hex string, 12 byte Uint8Array, or an integer',\n [bsonError]: [Getter],\n [name]: [Getter]\n },\n valueType: 'string',\n [name]: 'CastError'\n}","service":"user-service","timestamp":"2024-10-14 00:23:16"}
{"level":"error","message":"Error getting job: CastError: Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:250:11)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: 'Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"',\n stringValue: '\"undefined\"',\n messageFormat: undefined,\n kind: 'ObjectId',\n value: 'undefined',\n path: '_id',\n reason: BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer\n at new ObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/bson/src/objectid.ts:118:15)\n at castObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast/objectid.js:25:12)\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:248:12)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80) {\n [stack]: [Getter/Setter],\n [message]: 'input must be a 24 character hex string, 12 byte Uint8Array, or an integer',\n [bsonError]: [Getter],\n [name]: [Getter]\n },\n valueType: 'string',\n [name]: 'CastError'\n}","service":"user-service","timestamp":"2024-10-14 00:26:04"}
{"level":"error","message":"Error getting job: CastError: Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:250:11)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: 'Cast to ObjectId failed for value \"undefined\" (type string) at path \"_id\" for model \"Job\"',\n stringValue: '\"undefined\"',\n messageFormat: undefined,\n kind: 'ObjectId',\n value: 'undefined',\n path: '_id',\n reason: BSONError: input must be a 24 character hex string, 12 byte Uint8Array, or an integer\n at new ObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/bson/src/objectid.ts:118:15)\n at castObjectId (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast/objectid.js:25:12)\n at SchemaObjectId.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schema/objectId.js:248:12)\n at SchemaObjectId.SchemaType.applySetters (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1236:12)\n at SchemaObjectId.SchemaType.castForQuery (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1653:17)\n at cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/cast.js:389:32)\n at model.Query.Query.cast (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4868:12)\n at model.Query.Query._castConditions (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2265:10)\n at model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2589:8)\n at model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:80) {\n [stack]: [Getter/Setter],\n [message]: 'input must be a 24 character hex string, 12 byte Uint8Array, or an integer',\n [bsonError]: [Getter],\n [name]: [Getter]\n },\n valueType: 'string',\n [name]: 'CastError'\n}","service":"user-service","timestamp":"2024-10-14 00:26:04"}
{"level":"error","message":"Error getting job: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 08:36:56"}
{"level":"error","message":"Error getting job: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 08:36:56"}
{"level":"error","message":"Error getting job: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 08:37:09"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 73799074,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 73799074,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 73796427,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 12:00:32"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 73829003,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 73829002,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 73826098,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 12:01:02"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 74927182,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 74919064,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 74926362,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 12:19:20"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 74946246,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 74946210,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 74946246,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 12:19:39"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 75150817,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 75146347,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 75150276,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 12:23:03"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 75168537,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 75154300,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 75169505,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 12:23:23"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 75943466,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 75942492,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 75942688,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 12:36:16"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 75962669,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 75958253,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 75955947,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 12:36:36"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 76001995,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 76004174,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 75999050,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 12:37:16"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 76023737,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 76023755,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 76023760,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 12:37:36"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 76150360,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 76150360,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 76150360,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 12:39:43"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 76169871,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 76169873,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 76169870,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 12:40:03"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: connection timed out\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 83324159,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 83324157,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 83324158,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 14:39:49"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: connection timed out\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 83357171,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 83357171,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 83357171,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 14:40:08"}
{"level":"error","message":"Error getting jobs: MongoNetworkError: connect ENETDOWN 13.201.155.249:27017 - Local (192.168.201.80:55563)\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'connect ENETDOWN 13.201.155.249:27017 - Local (192.168.201.80:55563)',\n [cause]: Error: connect ENETDOWN 13.201.155.249:27017 - Local (192.168.201.80:55563)\n at internalConnect (node:net:1093:16)\n at defaultTriggerAsyncIdScope (node:internal/async_hooks:464:18)\n at GetAddrInfoReqWrap.emitLookup [as callback] (node:net:1492:9)\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:132:8) {\n [stack]: [Getter/Setter],\n [message]: 'connect ENETDOWN 13.201.155.249:27017 - Local (192.168.201.80:55563)',\n errno: -50,\n code: 'ENETDOWN',\n syscall: 'connect',\n address: '13.201.155.249',\n port: 27017\n },\n connectionGeneration: 24,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 14:55:00"}
{"level":"error","message":"Error getting jobs: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n connectionGeneration: 26,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 15:01:04"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: connection timed out\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 85778844,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 85778844,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 85778839,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 15:20:33"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: connection timed out\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 85809347,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 85809347,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 85809343,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 15:20:53"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: connection timed out\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 85839850,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 85839850,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 85839847,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 15:21:51"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: connection timed out\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 85839850,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 85877957,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 85877958,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 15:22:11"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: connection timed out\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at listOnTimeout (node:internal/timers:555:9)\n at processTimers (node:internal/timers:529:7)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 86069154,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 86084845,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 86057081,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection <monitor> to 13.200.176.144:27017 timed out\n at Timeout._onTimeout (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection.ts:303:20)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 13.200.176.144:27017 timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [Symbol(beforeHandshake)]: false,\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 15:28:12"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: connection timed out\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at listOnTimeout (node:internal/timers:555:9)\n at processTimers (node:internal/timers:529:7)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 86069154,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 86084845,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 86057081,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection <monitor> to 13.200.176.144:27017 timed out\n at Timeout._onTimeout (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection.ts:303:20)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 13.200.176.144:27017 timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [Symbol(beforeHandshake)]: false,\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 15:28:13"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 17:06:10"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 17:06:11"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 17:06:11"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 18:00:22"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 18:01:03"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 18:01:03"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 18:20:35"}
{"level":"error","message":"Error getting job: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 18:22:50"}
{"level":"error","message":"Error getting job: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 18:22:50"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 18:23:11"}
{"level":"error","message":"User CV not found","service":"user-service","timestamp":"2024-10-14 19:53:02"}
{"level":"error","message":"User CV not found","service":"user-service","timestamp":"2024-10-14 19:53:40"}
{"level":"error","message":"User CV not found","service":"user-service","timestamp":"2024-10-14 19:54:01"}
{"level":"error","message":"User CV not found","service":"user-service","timestamp":"2024-10-14 19:54:24"}
{"level":"error","message":"User CV not found","service":"user-service","timestamp":"2024-10-14 19:56:52"}
{"level":"error","message":"User CV not found","service":"user-service","timestamp":"2024-10-14 19:59:23"}
{"level":"error","message":"User CV not found","service":"user-service","timestamp":"2024-10-14 20:00:04"}
{"level":"error","message":"User CV not found","service":"user-service","timestamp":"2024-10-14 20:02:43"}
{"level":"error","message":"User CV not found","service":"user-service","timestamp":"2024-10-14 20:02:59"}
{"level":"error","message":"User CV not found","service":"user-service","timestamp":"2024-10-14 20:03:13"}
{"level":"error","message":"Error getting job: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 20:05:40"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-14 20:17:02"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: Error: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n errno: -3008,\n code: 'ENOTFOUND',\n syscall: 'getaddrinfo',\n hostname: 'cluster0-shard-00-02.2ucvg.mongodb.net'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 110995518,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 110995517,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 110995519,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:20:31"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: Error: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n errno: -3008,\n code: 'ENOTFOUND',\n syscall: 'getaddrinfo',\n hostname: 'cluster0-shard-00-02.2ucvg.mongodb.net'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111015334,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111015338,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111015333,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:20:51"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: Error: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n errno: -3008,\n code: 'ENOTFOUND',\n syscall: 'getaddrinfo',\n hostname: 'cluster0-shard-00-02.2ucvg.mongodb.net'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111095256,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111095327,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111095327,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:22:11"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: Error: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n errno: -3008,\n code: 'ENOTFOUND',\n syscall: 'getaddrinfo',\n hostname: 'cluster0-shard-00-02.2ucvg.mongodb.net'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111114900,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111115043,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111115044,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:22:31"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111598027,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111598505,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111598395,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:30:34"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111611198,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111612407,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111610819,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:30:48"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111627859,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111627995,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111628401,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:31:04"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111630632,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111632386,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111632485,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:31:08"}
{"level":"error","message":"Error getting jobs: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async FindCursor.[Symbol.asyncIterator] (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:346:26)\n at async FindCursor.toArray (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:493:22)\n at async model.Query._find (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2322:14) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111659543,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111659547,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111659851,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:31:35"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111853544,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111853670,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111852603,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:34:50"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111876803,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111875689,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111874267,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:35:13"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111879573,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111879574,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111879576,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:35:16"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111882333,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111882332,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111882332,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:35:18"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111883726,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111883725,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111883724,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:35:20"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n ] {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n library: 'SSL routines',\n reason: 'tlsv1 alert internal error',\n code: 'ERR_SSL_TLSV1_ALERT_INTERNAL_ERROR'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111885483,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111885484,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 111885356,\n lastWriteDate: 0,\n error: MongoNetworkError: C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\n \n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'C057B24FF87F0000:error:0A000438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:ssl/record/rec_layer_s3.c:907:SSL alert number 80\\n',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006c'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-14 22:35:21"}
{"level":"error","message":"Error getting job: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-15 09:55:36"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-15 10:17:12"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-15 10:17:17"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: connection <monitor> to 35.154.78.150:27017 timed out\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at listOnTimeout (node:internal/timers:555:9)\n at processTimers (node:internal/timers:529:7)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:249:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 35.154.78.150:27017 timed out',\n [cause]: MongoNetworkTimeoutError: connection <monitor> to 35.154.78.150:27017 timed out\n at Timeout._onTimeout (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection.ts:303:20)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 35.154.78.150:27017 timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [Symbol(beforeHandshake)]: false,\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'RSSecondary',\n hosts: [\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n [length]: 3\n ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {\n availabilityZone: 'aps1-az1',\n workloadType: 'OPERATIONAL',\n nodeType: 'ELECTABLE',\n region: 'AP_SOUTH_1',\n diskState: 'READY',\n provider: 'AWS'\n },\n minWireVersion: 0,\n maxWireVersion: 21,\n roundTripTime: 4336,\n minRoundTripTime: 4336,\n lastUpdateTime: 170027330,\n lastWriteDate: 2024-10-15T12:44:21.000Z,\n error: null,\n topologyVersion: {\n processId: new ObjectId('670e1c82155fca730b9d5714'),\n counter: 4\n },\n setName: 'atlas-m1y1xp-shard-0',\n setVersion: 104,\n electionId: null,\n logicalSessionTimeoutMinutes: 30,\n primary: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n me: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n '$clusterTime': {\n clusterTime: new Timestamp({ t: 1728996261, i: 35 }),\n signature: [Object]\n },\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 170018485,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection <monitor> to 35.154.78.150:27017 timed out\n at Timeout._onTimeout (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection.ts:303:20)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 35.154.78.150:27017 timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [Symbol(beforeHandshake)]: false,\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'RSSecondary',\n hosts: [\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n [length]: 3\n ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {\n region: 'AP_SOUTH_1',\n provider: 'AWS',\n workloadType: 'OPERATIONAL',\n availabilityZone: 'aps1-az2',\n nodeType: 'ELECTABLE',\n diskState: 'READY'\n },\n minWireVersion: 0,\n maxWireVersion: 21,\n roundTripTime: 16277.8,\n minRoundTripTime: 697,\n lastUpdateTime: 170027372,\n lastWriteDate: 2024-10-15T12:44:23.000Z,\n error: null,\n topologyVersion: {\n processId: new ObjectId('670e1dc38ddcdb9ad58de461'),\n counter: 3\n },\n setName: 'atlas-m1y1xp-shard-0',\n setVersion: 104,\n electionId: null,\n logicalSessionTimeoutMinutes: 30,\n primary: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n me: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n '$clusterTime': {\n clusterTime: new Timestamp({ t: 1728996263, i: 73 }),\n signature: [Object]\n },\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: 30,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 14:51:54"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: connection timed out\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'RSSecondary',\n hosts: [\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n [length]: 3\n ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {\n availabilityZone: 'aps1-az1',\n workloadType: 'OPERATIONAL',\n nodeType: 'ELECTABLE',\n region: 'AP_SOUTH_1',\n diskState: 'READY',\n provider: 'AWS'\n },\n minWireVersion: 0,\n maxWireVersion: 21,\n roundTripTime: 4336,\n minRoundTripTime: 4336,\n lastUpdateTime: 170027330,\n lastWriteDate: 2024-10-15T12:44:21.000Z,\n error: null,\n topologyVersion: {\n processId: new ObjectId('670e1c82155fca730b9d5714'),\n counter: 4\n },\n setName: 'atlas-m1y1xp-shard-0',\n setVersion: 104,\n electionId: null,\n logicalSessionTimeoutMinutes: 30,\n primary: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n me: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n '$clusterTime': {\n clusterTime: new Timestamp({ t: 1728996261, i: 35 }),\n signature: [Object]\n },\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 170477892,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'RSSecondary',\n hosts: [\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n [length]: 3\n ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {\n region: 'AP_SOUTH_1',\n provider: 'AWS',\n workloadType: 'OPERATIONAL',\n availabilityZone: 'aps1-az2',\n nodeType: 'ELECTABLE',\n diskState: 'READY'\n },\n minWireVersion: 0,\n maxWireVersion: 21,\n roundTripTime: 16277.8,\n minRoundTripTime: 697,\n lastUpdateTime: 170027372,\n lastWriteDate: 2024-10-15T12:44:23.000Z,\n error: null,\n topologyVersion: {\n processId: new ObjectId('670e1dc38ddcdb9ad58de461'),\n counter: 3\n },\n setName: 'atlas-m1y1xp-shard-0',\n setVersion: 104,\n electionId: null,\n logicalSessionTimeoutMinutes: 30,\n primary: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n me: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n '$clusterTime': {\n clusterTime: new Timestamp({ t: 1728996263, i: 73 }),\n signature: [Object]\n },\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: 30,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 14:51:55"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: read ECONNRESET\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n [cause]: MongoNetworkError: read ECONNRESET\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n [cause]: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'RSSecondary',\n hosts: [\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n [length]: 3\n ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {\n availabilityZone: 'aps1-az1',\n region: 'AP_SOUTH_1',\n diskState: 'READY',\n workloadType: 'OPERATIONAL',\n nodeType: 'ELECTABLE',\n provider: 'AWS'\n },\n minWireVersion: 0,\n maxWireVersion: 21,\n roundTripTime: 4336,\n minRoundTripTime: 4336,\n lastUpdateTime: 171062093,\n lastWriteDate: 2024-10-15T13:01:35.000Z,\n error: null,\n topologyVersion: {\n processId: new ObjectId('670e1c82155fca730b9d5714'),\n counter: 4\n },\n setName: 'atlas-m1y1xp-shard-0',\n setVersion: 104,\n electionId: null,\n logicalSessionTimeoutMinutes: 30,\n primary: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n me: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n '$clusterTime': {\n clusterTime: new Timestamp({ t: 1728997295, i: 114 }),\n signature: [Object]\n },\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 171062401,\n lastWriteDate: 0,\n error: MongoNetworkError: read ECONNRESET\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 171018123,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection <monitor> to 13.201.155.249:27017 timed out\n at Timeout._onTimeout (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection.ts:303:20)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 13.201.155.249:27017 timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [Symbol(beforeHandshake)]: false,\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: 30,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 15:01:38"}
{"level":"error","message":"Error finding user by ID: MongoServerSelectionError: read ECONNRESET\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at listOnTimeout (node:internal/timers:555:9)\n at processTimers (node:internal/timers:529:7)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n [cause]: MongoNetworkError: read ECONNRESET\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n [cause]: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'RSSecondary',\n hosts: [\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n [length]: 3\n ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {\n availabilityZone: 'aps1-az1',\n region: 'AP_SOUTH_1',\n diskState: 'READY',\n workloadType: 'OPERATIONAL',\n nodeType: 'ELECTABLE',\n provider: 'AWS'\n },\n minWireVersion: 0,\n maxWireVersion: 21,\n roundTripTime: 4336,\n minRoundTripTime: 4336,\n lastUpdateTime: 171062093,\n lastWriteDate: 2024-10-15T13:01:35.000Z,\n error: null,\n topologyVersion: {\n processId: new ObjectId('670e1c82155fca730b9d5714'),\n counter: 4\n },\n setName: 'atlas-m1y1xp-shard-0',\n setVersion: 104,\n electionId: null,\n logicalSessionTimeoutMinutes: 30,\n primary: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n me: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n '$clusterTime': {\n clusterTime: new Timestamp({ t: 1728997295, i: 114 }),\n signature: [Object]\n },\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 171062401,\n lastWriteDate: 0,\n error: MongoNetworkError: read ECONNRESET\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'RSSecondary',\n hosts: [\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n [length]: 3\n ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {\n region: 'AP_SOUTH_1',\n diskState: 'READY',\n availabilityZone: 'aps1-az2',\n nodeType: 'ELECTABLE',\n provider: 'AWS',\n workloadType: 'OPERATIONAL'\n },\n minWireVersion: 0,\n maxWireVersion: 21,\n roundTripTime: 4692,\n minRoundTripTime: 561,\n lastUpdateTime: 171062627,\n lastWriteDate: 2024-10-15T13:01:42.000Z,\n error: null,\n topologyVersion: {\n processId: new ObjectId('670e1dc38ddcdb9ad58de461'),\n counter: 3\n },\n setName: 'atlas-m1y1xp-shard-0',\n setVersion: 104,\n electionId: null,\n logicalSessionTimeoutMinutes: 30,\n primary: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n me: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n '$clusterTime': {\n clusterTime: new Timestamp({ t: 1728997302, i: 77 }),\n signature: [Object]\n },\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: 30,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 15:11:10"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: read ECONNRESET\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at listOnTimeout (node:internal/timers:555:9)\n at processTimers (node:internal/timers:529:7)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:249:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n [cause]: MongoNetworkError: read ECONNRESET\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n [cause]: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'RSSecondary',\n hosts: [\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n [length]: 3\n ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {\n availabilityZone: 'aps1-az1',\n region: 'AP_SOUTH_1',\n diskState: 'READY',\n workloadType: 'OPERATIONAL',\n nodeType: 'ELECTABLE',\n provider: 'AWS'\n },\n minWireVersion: 0,\n maxWireVersion: 21,\n roundTripTime: 4336,\n minRoundTripTime: 4336,\n lastUpdateTime: 171062093,\n lastWriteDate: 2024-10-15T13:01:35.000Z,\n error: null,\n topologyVersion: {\n processId: new ObjectId('670e1c82155fca730b9d5714'),\n counter: 4\n },\n setName: 'atlas-m1y1xp-shard-0',\n setVersion: 104,\n electionId: null,\n logicalSessionTimeoutMinutes: 30,\n primary: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n me: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n '$clusterTime': {\n clusterTime: new Timestamp({ t: 1728997295, i: 114 }),\n signature: [Object]\n },\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 171062401,\n lastWriteDate: 0,\n error: MongoNetworkError: read ECONNRESET\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'RSSecondary',\n hosts: [\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n [length]: 3\n ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {\n region: 'AP_SOUTH_1',\n diskState: 'READY',\n availabilityZone: 'aps1-az2',\n nodeType: 'ELECTABLE',\n provider: 'AWS',\n workloadType: 'OPERATIONAL'\n },\n minWireVersion: 0,\n maxWireVersion: 21,\n roundTripTime: 4692,\n minRoundTripTime: 561,\n lastUpdateTime: 171062627,\n lastWriteDate: 2024-10-15T13:01:42.000Z,\n error: null,\n topologyVersion: {\n processId: new ObjectId('670e1dc38ddcdb9ad58de461'),\n counter: 3\n },\n setName: 'atlas-m1y1xp-shard-0',\n setVersion: 104,\n electionId: null,\n logicalSessionTimeoutMinutes: 30,\n primary: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n me: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n '$clusterTime': {\n clusterTime: new Timestamp({ t: 1728997302, i: 77 }),\n signature: [Object]\n },\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: 30,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 15:11:10"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: Error: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n errno: -3008,\n code: 'ENOTFOUND',\n syscall: 'getaddrinfo',\n hostname: 'cluster0-shard-00-00.2ucvg.mongodb.net'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195647644,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195647163,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195647168,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 21:51:28"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at listOnTimeout (node:internal/timers:555:9)\n at processTimers (node:internal/timers:529:7)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: Error: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n errno: -3008,\n code: 'ENOTFOUND',\n syscall: 'getaddrinfo',\n hostname: 'cluster0-shard-00-00.2ucvg.mongodb.net'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195662252,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195661888,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195661887,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 21:52:43"}
{"level":"error","message":"Error finding user by ID: MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at listOnTimeout (node:internal/timers:555:9)\n at processTimers (node:internal/timers:529:7)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: Error: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n errno: -3008,\n code: 'ENOTFOUND',\n syscall: 'getaddrinfo',\n hostname: 'cluster0-shard-00-00.2ucvg.mongodb.net'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195662252,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195661888,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195661887,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 21:52:43"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: Error: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n errno: -3008,\n code: 'ENOTFOUND',\n syscall: 'getaddrinfo',\n hostname: 'cluster0-shard-00-00.2ucvg.mongodb.net'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195894070,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195894070,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195894242,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 21:55:35"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at listOnTimeout (node:internal/timers:555:9)\n at processTimers (node:internal/timers:529:7)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: Error: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n errno: -3008,\n code: 'ENOTFOUND',\n syscall: 'getaddrinfo',\n hostname: 'cluster0-shard-00-00.2ucvg.mongodb.net'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195910482,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195910483,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195910483,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 22:09:35"}
{"level":"error","message":"Error finding user by ID: MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at runNextTicks (node:internal/process/task_queues:65:5)\n at listOnTimeout (node:internal/timers:555:9)\n at processTimers (node:internal/timers:529:7)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: Error: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n errno: -3008,\n code: 'ENOTFOUND',\n syscall: 'getaddrinfo',\n hostname: 'cluster0-shard-00-00.2ucvg.mongodb.net'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195910482,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195910483,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 195910483,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 22:09:35"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: Error: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n errno: -3008,\n code: 'ENOTFOUND',\n syscall: 'getaddrinfo',\n hostname: 'cluster0-shard-00-00.2ucvg.mongodb.net'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 197229632,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 197229631,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 197229629,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 22:17:51"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: Error: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n errno: -3008,\n code: 'ENOTFOUND',\n syscall: 'getaddrinfo',\n hostname: 'cluster0-shard-00-00.2ucvg.mongodb.net'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 197249844,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 197249843,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 197249845,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 22:18:11"}
{"level":"error","message":"Error finding user by ID: MongoServerSelectionError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: Error: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n errno: -3008,\n code: 'ENOTFOUND',\n syscall: 'getaddrinfo',\n hostname: 'cluster0-shard-00-00.2ucvg.mongodb.net'\n },\n [Symbol(errorLabels)]: Set(1) { 'ResetPool' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 197259567,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-00.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 197259974,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 197259972,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-02.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 22:18:21"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: connection <monitor> to 13.200.176.144:27017 timed out\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 13.200.176.144:27017 timed out',\n [cause]: MongoNetworkTimeoutError: connection <monitor> to 13.200.176.144:27017 timed out\n at Timeout._onTimeout (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection.ts:303:20)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 13.200.176.144:27017 timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [Symbol(beforeHandshake)]: false,\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 200408948,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection <monitor> to 13.200.176.144:27017 timed out\n at Timeout._onTimeout (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection.ts:303:20)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 13.200.176.144:27017 timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [Symbol(beforeHandshake)]: false,\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 200408954,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection <monitor> to 35.154.78.150:27017 timed out\n at Timeout._onTimeout (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection.ts:303:20)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 35.154.78.150:27017 timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [Symbol(beforeHandshake)]: false,\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'RSSecondary',\n hosts: [\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n [length]: 3\n ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {\n region: 'AP_SOUTH_1',\n provider: 'AWS',\n workloadType: 'OPERATIONAL',\n availabilityZone: 'aps1-az2',\n nodeType: 'ELECTABLE',\n diskState: 'READY'\n },\n minWireVersion: 0,\n maxWireVersion: 21,\n roundTripTime: 5151,\n minRoundTripTime: 5151,\n lastUpdateTime: 200407351,\n lastWriteDate: 2024-10-15T20:32:09.000Z,\n error: null,\n topologyVersion: {\n processId: new ObjectId('670e1dc38ddcdb9ad58de461'),\n counter: 3\n },\n setName: 'atlas-m1y1xp-shard-0',\n setVersion: 104,\n electionId: null,\n logicalSessionTimeoutMinutes: 30,\n primary: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n me: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n '$clusterTime': {\n clusterTime: new Timestamp({ t: 1729024329, i: 85 }),\n signature: [Object]\n },\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: 30,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 23:11:21"}
{"level":"error","message":"Error getting job: MongoServerSelectionError: connection timed out\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:249:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 200439547,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 200439554,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 200447355,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection <monitor> to 13.201.155.249:27017 timed out\n at Timeout._onTimeout (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection.ts:303:20)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 13.201.155.249:27017 timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [Symbol(beforeHandshake)]: false,\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 23:11:51"}
{"level":"error","message":"Error finding user by ID: MongoServerSelectionError: connection timed out\n at Topology.selectServer (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/sdam/topology.ts:610:30)\n at async tryOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:190:16)\n at async executeOperation (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/operations/execute_operation.ts:109:12)\n at async FindCursor._initialize (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/find_cursor.ts:72:22)\n at async FindCursor.cursorInit (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:722:21)\n at async FindCursor.fetchBatch (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:758:7)\n at async FindCursor.next (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cursor/abstract_cursor.ts:425:7)\n at async Collection.findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/collection.ts:507:17)\n at async model.Query._findOne (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2602:15)\n at async model.Query.exec (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:4412:63) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n reason: TopologyDescription {\n type: 'ReplicaSetNoPrimary',\n servers: Map(3) {\n 'cluster0-shard-00-00.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-00.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 200439547,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection timed out\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:475:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:376:37)\n at Object.onceWrapper (node:events:634:28)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at TLSSocket.Socket._onTimeout (node:net:590:8)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-01.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 200439554,\n lastWriteDate: 0,\n error: MongoNetworkError: getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net\n at connectionFailureError (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:473:14)\n at TLSSocket.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connect.ts:375:38)\n at Object.onceWrapper (node:events:635:26)\n at TLSSocket.emit (node:events:520:28)\n at TLSSocket.emit (node:domain:488:12)\n at emitErrorNT (node:internal/streams/destroy:170:8)\n at emitErrorCloseNT (node:internal/streams/destroy:129:3)\n at processTicksAndRejections (node:internal/process/task_queues:90:21) {\n [stack]: [Getter/Setter],\n [message]: 'getaddrinfo ENOTFOUND cluster0-shard-00-01.2ucvg.mongodb.net',\n [cause]: [Error],\n [Symbol(errorLabels)]: [Set],\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n },\n 'cluster0-shard-00-02.2ucvg.mongodb.net:27017' => ServerDescription {\n address: 'cluster0-shard-00-02.2ucvg.mongodb.net:27017',\n type: 'Unknown',\n hosts: [ [length]: 0 ],\n passives: [ [length]: 0 ],\n arbiters: [ [length]: 0 ],\n tags: {},\n minWireVersion: 0,\n maxWireVersion: 0,\n roundTripTime: -1,\n minRoundTripTime: 0,\n lastUpdateTime: 200447355,\n lastWriteDate: 0,\n error: MongoNetworkTimeoutError: connection <monitor> to 13.201.155.249:27017 timed out\n at Timeout._onTimeout (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection.ts:303:20)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 13.201.155.249:27017 timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: [Set],\n [Symbol(beforeHandshake)]: false,\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n topologyVersion: null,\n setName: null,\n setVersion: null,\n electionId: null,\n logicalSessionTimeoutMinutes: null,\n primary: null,\n me: null,\n '$clusterTime': null,\n [hostAddress]: [Getter],\n [allHosts]: [Getter],\n [isReadable]: [Getter],\n [isDataBearing]: [Getter],\n [isWritable]: [Getter],\n [host]: [Getter],\n [port]: [Getter]\n }\n },\n stale: false,\n compatible: true,\n heartbeatFrequencyMS: 10000,\n localThresholdMS: 15,\n setName: 'atlas-m1y1xp-shard-0',\n maxElectionId: new ObjectId('7fffffff000000000000006d'),\n maxSetVersion: 104,\n commonWireVersion: 0,\n logicalSessionTimeoutMinutes: null,\n [error]: [Getter],\n [hasKnownServers]: [Getter],\n [hasDataBearingServers]: [Getter]\n },\n code: undefined,\n [Symbol(errorLabels)]: Set(0) {},\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n}","service":"user-service","timestamp":"2024-10-15 23:11:51"}
{"level":"error","message":"User CV not found","service":"user-service","timestamp":"2024-10-19 15:05:26"}
{"level":"error","message":"User CV not found","service":"user-service","timestamp":"2024-10-19 15:19:11"}
{"level":"error","message":"User CV not found","service":"user-service","timestamp":"2024-10-19 15:25:47"}
{"level":"error","message":"Your CV not found","service":"user-service","timestamp":"2024-10-19 15:26:36"}
{"level":"error","message":"Your CV not found","service":"user-service","timestamp":"2024-10-19 15:27:17"}
{"level":"error","message":"Your CV not found","service":"user-service","timestamp":"2024-10-19 15:27:36"}
{"level":"error","message":"Your CV not found","service":"user-service","timestamp":"2024-10-19 15:28:34"}
{"level":"error","message":"Your CV not found","service":"user-service","timestamp":"2024-10-19 15:48:05"}
{"level":"error","message":"Your CV not found","service":"user-service","timestamp":"2024-10-19 15:48:56"}
{"level":"error","message":"Your CV not found","service":"user-service","timestamp":"2024-10-19 15:56:50"}
{"level":"error","message":"Your CV not found","service":"user-service","timestamp":"2024-10-19 15:57:38"}
{"level":"error","message":"Your CV not found","service":"user-service","timestamp":"2024-10-19 15:58:25"}
{"level":"error","message":"Error updating user: {\n error: { message: 'Request Timeout', http_code: 499, name: 'TimeoutError' }\n}","service":"user-service","timestamp":"2024-10-19 18:33:24"}
{"level":"error","message":"Error uploading usser cv: {\n error: { message: 'Request Timeout', http_code: 499, name: 'TimeoutError' }\n}","service":"user-service","timestamp":"2024-10-19 19:06:33"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-19 19:25:42"}
{"level":"error","message":"Error getting jobs: Error: read ETIMEDOUT\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ETIMEDOUT',\n errno: -60,\n code: 'ETIMEDOUT',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-19 19:29:48"}
{"level":"error","message":"Error getting jobs: PoolClearedOnNetworkError: Connection to cluster0-shard-00-01.2ucvg.mongodb.net:27017 interrupted due to server monitor timeout\n at ConnectionPool.interruptInUseConnections (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection_pool.ts:504:28)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection_pool.ts:490:35\n at processTicksAndRejections (node:internal/process/task_queues:85:11)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at listOnTimeout (node:internal/timers:555:9)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'Connection to cluster0-shard-00-01.2ucvg.mongodb.net:27017 interrupted due to server monitor timeout',\n [cause]: MongoNetworkTimeoutError: connection <monitor> to 35.154.78.150:27017 timed out\n at Timeout._onTimeout (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection.ts:303:20)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 35.154.78.150:27017 timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [Symbol(beforeHandshake)]: false,\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n [Symbol(errorLabels)]: Set(1) { 'PoolRequstedRetry' },\n [name]: [Getter]\n}","service":"user-service","timestamp":"2024-10-19 20:14:15"}
{"level":"error","message":"Error getting jobs: PoolClearedOnNetworkError: Connection to cluster0-shard-00-01.2ucvg.mongodb.net:27017 interrupted due to server monitor timeout\n at ConnectionPool.interruptInUseConnections (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection_pool.ts:504:28)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection_pool.ts:490:35\n at processTicksAndRejections (node:internal/process/task_queues:85:11)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at listOnTimeout (node:internal/timers:555:9)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'Connection to cluster0-shard-00-01.2ucvg.mongodb.net:27017 interrupted due to server monitor timeout',\n [cause]: MongoNetworkTimeoutError: connection <monitor> to 35.154.78.150:27017 timed out\n at Timeout._onTimeout (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection.ts:303:20)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 35.154.78.150:27017 timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [Symbol(beforeHandshake)]: false,\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n [Symbol(errorLabels)]: Set(1) { 'PoolRequstedRetry' },\n [name]: [Getter]\n}","service":"user-service","timestamp":"2024-10-19 20:14:15"}
{"level":"error","message":"Error getting jobs: Error: read ECONNRESET\n at TLSWrap.onStreamRead (node:internal/stream_base_commons:218:20) {\n [stack]: [Getter/Setter],\n [message]: 'read ECONNRESET',\n errno: -54,\n code: 'ECONNRESET',\n syscall: 'read'\n}","service":"user-service","timestamp":"2024-10-19 20:14:17"}
{"level":"error","message":"Error getting jobs: PoolClearedOnNetworkError: Connection to cluster0-shard-00-01.2ucvg.mongodb.net:27017 interrupted due to server monitor timeout\n at ConnectionPool.interruptInUseConnections (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection_pool.ts:504:28)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection_pool.ts:490:35\n at processTicksAndRejections (node:internal/process/task_queues:85:11)\n at runNextTicks (node:internal/process/task_queues:69:3)\n at listOnTimeout (node:internal/timers:555:9)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'Connection to cluster0-shard-00-01.2ucvg.mongodb.net:27017 interrupted due to server monitor timeout',\n [cause]: MongoNetworkTimeoutError: connection <monitor> to 35.154.78.150:27017 timed out\n at Timeout._onTimeout (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongodb/src/cmap/connection.ts:303:20)\n at listOnTimeout (node:internal/timers:594:17)\n at processTimers (node:internal/timers:529:7) {\n [stack]: [Getter/Setter],\n [message]: 'connection <monitor> to 35.154.78.150:27017 timed out',\n [cause]: undefined,\n [Symbol(errorLabels)]: Set(2) { 'ResetPool', 'InterruptInUseConnections' },\n [Symbol(beforeHandshake)]: false,\n [name]: [Getter],\n [errmsg]: [Getter],\n [errorLabels]: [Getter]\n },\n address: 'cluster0-shard-00-01.2ucvg.mongodb.net:27017',\n [Symbol(errorLabels)]: Set(1) { 'PoolRequstedRetry' },\n [name]: [Getter]\n}","service":"user-service","timestamp":"2024-10-19 21:08:27"}
{"level":"error","message":"Error updating user: TypeError: Cannot read properties of undefined (reading 'street')\n at AccountService.<anonymous> (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/accountService.ts:101:68)\n at Generator.next (<anonymous>)\n at fulfilled (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/src/services/accountService.ts:5:58)\n at processTicksAndRejections (node:internal/process/task_queues:105:5) {\n [stack]: [Getter/Setter],\n [message]: \"Cannot read properties of undefined (reading 'street')\"\n}","service":"user-service","timestamp":"2024-10-20 12:11:32"}
{"level":"error","message":"Error updating user: Error: Address validation failed: street: Path `street` is required., city: Path `city` is required., state: Path `state` is required., zipCode: Path `zipCode` is required., country: Path `country` is required.\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'Address validation failed: street: Path `street` is required., city: Path `city` is required., state: Path `state` is required., zipCode: Path `zipCode` is required., country: Path `country` is required.',\n errors: {\n street: ValidatorError: Path `street` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `street` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `street` is required.',\n type: 'required',\n path: 'street',\n fullPath: undefined,\n value: ''\n },\n kind: 'required',\n path: 'street',\n value: '',\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n city: ValidatorError: Path `city` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `city` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `city` is required.',\n type: 'required',\n path: 'city',\n fullPath: undefined,\n value: ''\n },\n kind: 'required',\n path: 'city',\n value: '',\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n state: ValidatorError: Path `state` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `state` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `state` is required.',\n type: 'required',\n path: 'state',\n fullPath: undefined,\n value: ''\n },\n kind: 'required',\n path: 'state',\n value: '',\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n zipCode: ValidatorError: Path `zipCode` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `zipCode` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `zipCode` is required.',\n type: 'required',\n path: 'zipCode',\n fullPath: undefined,\n value: ''\n },\n kind: 'required',\n path: 'zipCode',\n value: '',\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n country: ValidatorError: Path `country` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `country` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `country` is required.',\n type: 'required',\n path: 'country',\n fullPath: undefined,\n value: ''\n },\n kind: 'required',\n path: 'country',\n value: '',\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n }\n },\n _message: 'Address validation failed'\n}","service":"user-service","timestamp":"2024-10-20 12:14:39"}
{"level":"error","message":"Error updating user: Error: Address validation failed: street: Path `street` is required., city: Path `city` is required., state: Path `state` is required., zipCode: Path `zipCode` is required., country: Path `country` is required.\n at ValidationError.inspect (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/error/validation.js:52:26)\n at formatValue (node:internal/util/inspect:806:19)\n at inspect (node:internal/util/inspect:365:10)\n at formatWithOptionsInternal (node:internal/util/inspect:2241:25)\n at Object.format (node:internal/util/inspect:2161:10)\n at Splatter._splat (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:71:25)\n at Splatter.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/splat.js:119:19)\n at Format.transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/logform/combine.js:20:24)\n at DerivedLogger._transform (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/winston/lib/winston/logger.js:313:29)\n at DerivedLogger.Transform._read (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/readable-stream/lib/_stream_transform.js:166:10) {\n [stack]: [Getter/Setter],\n [message]: 'Address validation failed: street: Path `street` is required., city: Path `city` is required., state: Path `state` is required., zipCode: Path `zipCode` is required., country: Path `country` is required.',\n errors: {\n street: ValidatorError: Path `street` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `street` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `street` is required.',\n type: 'required',\n path: 'street',\n fullPath: undefined,\n value: ''\n },\n kind: 'required',\n path: 'street',\n value: '',\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n city: ValidatorError: Path `city` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `city` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `city` is required.',\n type: 'required',\n path: 'city',\n fullPath: undefined,\n value: ''\n },\n kind: 'required',\n path: 'city',\n value: '',\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n state: ValidatorError: Path `state` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `state` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `state` is required.',\n type: 'required',\n path: 'state',\n fullPath: undefined,\n value: ''\n },\n kind: 'required',\n path: 'state',\n value: '',\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n zipCode: ValidatorError: Path `zipCode` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `zipCode` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `zipCode` is required.',\n type: 'required',\n path: 'zipCode',\n fullPath: undefined,\n value: ''\n },\n kind: 'required',\n path: 'zipCode',\n value: '',\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n },\n country: ValidatorError: Path `country` is required.\n at validate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1385:13)\n at SchemaString.SchemaType.doValidate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/schemaType.js:1369:7)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/document.js:3071:18\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Path `country` is required.',\n properties: {\n validator: [Function (anonymous)] {\n [length]: 1,\n [name]: '',\n [prototype]: [Object]\n },\n message: 'Path `country` is required.',\n type: 'required',\n path: 'country',\n fullPath: undefined,\n value: ''\n },\n kind: 'required',\n path: 'country',\n value: '',\n reason: undefined,\n [Symbol(mongoose#validatorError)]: true,\n [name]: 'ValidatorError'\n }\n },\n _message: 'Address validation failed'\n}","service":"user-service","timestamp":"2024-10-20 12:17:17"}
{"level":"error","message":"Error applying for job: {\n error: { message: 'Request Timeout', http_code: 499, name: 'TimeoutError' }\n}","service":"user-service","timestamp":"2024-10-20 19:02:07"}
{"level":"error","message":"Error applying for job: {\n error: { message: 'Request Timeout', http_code: 499, name: 'TimeoutError' }\n}","service":"user-service","timestamp":"2024-10-20 19:04:33"}
{"level":"error","message":"Error finding user by ID: StrictPopulateError: Cannot populate path `AppliedJobs` because it is not in your schema. Set the `strictPopulate` option to false to override.\n at getModelsMapForPopulate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js:50:12)\n at populate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4245:21)\n at _populate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4205:5)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4177:5\n at new Promise (<anonymous>)\n at Function.populate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4176:10)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2546:11\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:3217:21\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Cannot populate path `AppliedJobs` because it is not in your schema. Set the `strictPopulate` option to false to override.',\n path: 'AppliedJobs',\n [name]: 'StrictPopulateError'\n}","service":"user-service","timestamp":"2024-10-22 10:49:52"}
{"level":"error","message":"Error finding user by ID: StrictPopulateError: Cannot populate path `AppliedJobs` because it is not in your schema. Set the `strictPopulate` option to false to override.\n at getModelsMapForPopulate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js:50:12)\n at populate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4245:21)\n at _populate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4205:5)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4177:5\n at new Promise (<anonymous>)\n at Function.populate (/Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/model.js:4176:10)\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:2546:11\n at /Users/ndevu/Desktop/Julien Barber Test/RemoteJobServer/node_modules/mongoose/lib/query.js:3217:21\n at processTicksAndRejections (node:internal/process/task_queues:85:11) {\n [stack]: [Getter/Setter],\n [message]: 'Cannot populate path `AppliedJobs` because it is not in your schema. Set the `strictPopulate` option to false to override.',\n path: 'AppliedJobs',\n [name]: 'StrictPopulateError'\n}","service":"user-service","timestamp":"2024-10-22 10:49:53"}