Error in selfhost tiledesk messenger-connector #38
Unanswered
ajaysehwal
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
nlp-bay-server | error: uncaughtException: Cannot read properties of undefined (reading 'collection')
nlp-bay-server | TypeError: Cannot read properties of undefined (reading 'collection')
nlp-bay-server | at /usr/src/app/node_modules/@tiledesk/tiledesk-messenger-connector/tiledesk/KVBaseMongo.js:66:15
nlp-bay-server | at new Promise ()
nlp-bay-server | at KVBaseMongo.get (/usr/src/app/node_modules/@tiledesk/tiledesk-messenger-connector/tiledesk/KVBaseMongo.js:61:12)
nlp-bay-server | at /usr/src/app/node_modules/@tiledesk/tiledesk-messenger-connector/index.js:162:27
nlp-bay-server | at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
nlp-bay-server | at next (/usr/src/app/node_modules/express/lib/router/route.js:149:13)
nlp-bay-server | at Route.dispatch (/usr/src/app/node_modules/express/lib/router/route.js:119:3)
nlp-bay-server | at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
nlp-bay-server | at /usr/src/app/node_modules/express/lib/router/index.js:284:15
nlp-bay-server | at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12)
nlp-bay-server | at next (/usr/src/app/node_modules/express/lib/router/index.js:280:10)
nlp-bay-server | at SendStream.error (/usr/src/app/node_modules/serve-static/index.js:121:7)
nlp-bay-server | at SendStream.emit (node:events:513:28)
nlp-bay-server | at SendStream.error (/usr/src/app/node_modules/send/index.js:270:17)
nlp-bay-server | at SendStream.onStatError (/usr/src/app/node_modules/send/index.js:417:12)
nlp-bay-server | at next (/usr/src/app/node_modules/send/index.js:730:16)
nlp-bay-server | at onstat (/usr/src/app/node_modules/send/index.js:719:14)
nlp-bay-server | at FSReqCallback.oncomplete (node:fs:206:21) {"date":"Fri Jan 03 2025 06:40:34 GMT+0000 (Coordinated Universal Time)","error":{},"exception":true,"os":{"loadavg":[3.33,4.18,3.58],"uptime":7666.1},"process":{"argv":["/usr/local/bin/node","/usr/src/app/bin/www"],"cwd":"/usr/src/app","execPath":"/usr/local/bin/node","gid":0,"memoryUsage":{"arrayBuffers":237499399,"external":238785059,"heapTotal":211996672,"heapUsed":184770776,"rss":433274880},"pid":19,"uid":0,"version":"v16.17.0"},"stack":"TypeError: Cannot read properties of undefined (reading 'collection')\n at /usr/src/app/node_modules/@tiledesk/tiledesk-messenger-connector/tiledesk/KVBaseMongo.js:66:15\n at new Promise ()\n at KVBaseMongo.get (/usr/src/app/node_modules/@tiledesk/tiledesk-messenger-connector/tiledesk/KVBaseMongo.js:61:12)\n at /usr/src/app/node_modules/@tiledesk/tiledesk-messenger-connector/index.js:162:27\n at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/src/app/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/src/app/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)\n at /usr/src/app/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/src/app/node_modules/express/lib/router/index.js:280:10)\n at SendStream.error (/usr/src/app/node_modules/serve-static/index.js:121:7)\n at SendStream.emit (node:events:513:28)\n at SendStream.error (/usr/src/app/node_modules/send/index.js:270:17)\n at SendStream.onStatError (/usr/src/app/node_modules/send/index.js:417:12)\n at next (/usr/src/app/node_modules/send/index.js:730:16)\n at onstat (/usr/src/app/node_modules/send/index.js:719:14)\n at FSReqCallback.oncomplete (node:fs:206:21)","trace":[{"column":15,"file":"/usr/src/app/node_modules/@tiledesk/tiledesk-messenger-connector/tiledesk/KVBaseMongo.js","function":null,"line":66,"method":null,"native":false},{"column":null,"file":null,"function":"new Promise","line":null,"method":null,"native":false},{"column":12,"file":"/usr/src/app/node_modules/@tiledesk/tiledesk-messenger-connector/tiledesk/KVBaseMongo.js","function":"KVBaseMongo.get","line":61,"method":"get","native":false},{"column":27,"file":"/usr/src/app/node_modules/@tiledesk/tiledesk-messenger-connector/index.js","function":null,"line":162,"method":null,"native":false},{"column":5,"file":"/usr/src/app/node_modules/express/lib/router/layer.js","function":"Layer.handle [as handle_request]","line":95,"method":"handle [as handle_request]","native":false},{"column":13,"file":"/usr/src/app/node_modules/express/lib/router/route.js","function":"next","line":149,"method":null,"native":false},{"column":3,"file":"/usr/src/app/node_modules/express/lib/router/route.js","function":"Route.dispatch","line":119,"method":"dispatch","native":false},{"column":5,"file":"/usr/src/app/node_modules/express/lib/router/layer.js","function":"Layer.handle [as handle_request]","line":95,"method":"handle [as handle_request]","native":false},{"column":15,"file":"/usr/src/app/node_modules/express/lib/router/index.js","function":null,"line":284,"method":null,"native":false},{"column":12,"file":"/usr/src/app/node_modules/express/lib/router/index.js","function":"Function.process_params","line":346,"method":"process_params","native":false},{"column":10,"file":"/usr/src/app/node_modules/express/lib/router/index.js","function":"next","line":280,"method":null,"native":false},{"column":7,"file":"/usr/src/app/node_modules/serve-static/index.js","function":"SendStream.error","line":121,"method":"error","native":false},{"column":28,"file":"node:events","function":"SendStream.emit","line":513,"method":"emit","native":false},{"column":17,"file":"/usr/src/app/node_modules/send/index.js","function":"SendStream.error","line":270,"method":"error","native":false},{"column":12,"file":"/usr/src/app/node_modules/send/index.js","function":"SendStream.onStatError","line":417,"method":"onStatError","native":false},{"column":16,"file":"/usr/src/app/node_modules/send/index.js","function":"next","line":730,"method":null,"native":false},{"column":14,"file":"/usr/src/app/node_modules/send/index.js","function":"onstat","line":719,"method":null,"native":false},{"column":21,"file":"node:fs","function":"FSReqCallback.oncomplete","line":206,"method":"oncomplete","native":false}]}
Beta Was this translation helpful? Give feedback.
All reactions