@tiledesk/tiledesk-tybot-connector 2.0.16-rc4 → 2.0.16-rc6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/logs/app.log
CHANGED
|
@@ -6090,3 +6090,233 @@ error: (TiledeskExpression) evaluateJavascriptExpression error: missing ) after
|
|
|
6090
6090
|
error: (TiledeskExpression)Condition evaluation stopped because of invalid operand2 [object Object]
|
|
6091
6091
|
error: (TiledeskExpression) Condition evaluation stopped because of invalid operand1 11height
|
|
6092
6092
|
error: (TiledeskExpression) Invalid JSON Group expression {"conditions":[{"operand1":"11height","operand2":{"type":"const","value":"1"},"operator":"greaterThan","type":"condition"},{"operator":"AND","type":"operator"},{"operand1":"name","operand2":{"type":"const","value":"And"},"operator":"startsWith","type":"condition"}],"type":"expression"}
|
|
6093
|
+
info: Starting tilebot server...
|
|
6094
|
+
info: (Tilebot) Starting Tilebot..
|
|
6095
|
+
info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
|
|
6096
|
+
info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
|
|
6097
|
+
info: (Tilebot) Log Level: info
|
|
6098
|
+
info: (Tilebot) MAX_STEPS: 1000
|
|
6099
|
+
info: (Tilebot) MAX_EXECUTION_TIME: 28800000
|
|
6100
|
+
info: (Tilebot) Starting Tilebot connector v2.0.15
|
|
6101
|
+
info: (Tilebot) Using static bots
|
|
6102
|
+
info: (Tilebot) Connecting Redis...
|
|
6103
|
+
error: (Tilebot) Redis connection error: connect ECONNREFUSED 127.0.0.1:6379 {"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":6379,"stack":"Error: connect ECONNREFUSED 127.0.0.1:6379\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1247:16)","syscall":"connect"}
|
|
6104
|
+
info: Starting tilebot server...
|
|
6105
|
+
info: (Tilebot) Starting Tilebot..
|
|
6106
|
+
info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
|
|
6107
|
+
info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
|
|
6108
|
+
info: (Tilebot) Log Level: info
|
|
6109
|
+
info: (Tilebot) MAX_STEPS: 1000
|
|
6110
|
+
info: (Tilebot) MAX_EXECUTION_TIME: 28800000
|
|
6111
|
+
info: (Tilebot) Starting Tilebot connector v2.0.15
|
|
6112
|
+
info: (Tilebot) Using static bots
|
|
6113
|
+
info: (Tilebot) Connecting Redis...
|
|
6114
|
+
info: (Tilebot) Redis connected
|
|
6115
|
+
info: (Tilebot) Tilebot started
|
|
6116
|
+
info: Tilebot route successfully started.
|
|
6117
|
+
info: Tilebot connector listening on port 10001
|
|
6118
|
+
error: Axios error response data: <!DOCTYPE html>
|
|
6119
|
+
<html lang="en">
|
|
6120
|
+
<head>
|
|
6121
|
+
<meta charset="utf-8">
|
|
6122
|
+
<title>Error</title>
|
|
6123
|
+
</head>
|
|
6124
|
+
<body>
|
|
6125
|
+
<pre>AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:<br><br> assert(req.body.search_type === "chunks")<br><br> at /Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/test/conversation-askgptv2_test.js:1228:7<br> at Layer.handle [as handle_request] (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/layer.js:95:5)<br> at next (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/route.js:144:13)<br> at Route.dispatch (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/route.js:114:3)<br> at Layer.handle [as handle_request] (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/layer.js:95:5)<br> at /Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/index.js:284:15<br> at Function.process_params (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/index.js:346:12)<br> at next (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/index.js:280:10)<br> at /Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/body-parser/lib/read.js:137:5<br> at AsyncResource.runInAsyncScope (node:async_hooks:203:9)<br> at invokeCallback (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/raw-body/index.js:231:16)<br> at done (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/raw-body/index.js:220:7)<br> at IncomingMessage.onEnd (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/raw-body/index.js:280:7)<br> at IncomingMessage.emit (node:events:525:35)<br> at endReadableNT (node:internal/streams/readable:1358:12)<br> at processTicksAndRejections (node:internal/process/task_queues:83:21)</pre>
|
|
6126
|
+
</body>
|
|
6127
|
+
</html>
|
|
6128
|
+
|
|
6129
|
+
error: DirAskGPTV2 error:
|
|
6130
|
+
info: Starting tilebot server...
|
|
6131
|
+
info: (Tilebot) Starting Tilebot..
|
|
6132
|
+
info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
|
|
6133
|
+
info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
|
|
6134
|
+
info: (Tilebot) Log Level: info
|
|
6135
|
+
info: (Tilebot) MAX_STEPS: 1000
|
|
6136
|
+
info: (Tilebot) MAX_EXECUTION_TIME: 28800000
|
|
6137
|
+
info: (Tilebot) Starting Tilebot connector v2.0.15
|
|
6138
|
+
info: (Tilebot) Using static bots
|
|
6139
|
+
info: (Tilebot) Connecting Redis...
|
|
6140
|
+
info: (Tilebot) Redis connected
|
|
6141
|
+
info: (Tilebot) Tilebot started
|
|
6142
|
+
info: Tilebot route successfully started.
|
|
6143
|
+
info: Tilebot connector listening on port 10001
|
|
6144
|
+
info: Starting tilebot server...
|
|
6145
|
+
info: (Tilebot) Starting Tilebot..
|
|
6146
|
+
info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
|
|
6147
|
+
info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
|
|
6148
|
+
info: (Tilebot) Log Level: info
|
|
6149
|
+
info: (Tilebot) MAX_STEPS: 1000
|
|
6150
|
+
info: (Tilebot) MAX_EXECUTION_TIME: 28800000
|
|
6151
|
+
info: (Tilebot) Starting Tilebot connector v2.0.15
|
|
6152
|
+
info: (Tilebot) Using static bots
|
|
6153
|
+
info: (Tilebot) Connecting Redis...
|
|
6154
|
+
info: (Tilebot) Redis connected
|
|
6155
|
+
info: (Tilebot) Tilebot started
|
|
6156
|
+
info: Tilebot route successfully started.
|
|
6157
|
+
info: Tilebot connector listening on port...
|
|
6158
|
+
error: Axios error: connect ECONNREFUSED 127.0.0.1:10001 {"address":"127.0.0.1","cause":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"code":"ECONNREFUSED","config":{"adapter":["xhr","http","fetch"],"data":"{\"payload\":{\"_id\":\"3ebd8909-d43b-414a-9ab1-c59cdd4c7c79\",\"senderFullname\":\"_tdinternal\",\"type\":\"text\",\"sender\":\"_tdinternal\",\"recipient\":\"support-group-projectID-bc49ae08c9fd41b38c9de085082a714d\",\"text\":\"/anomaly\",\"id_project\":\"projectID\",\"request\":{\"request_id\":\"support-group-projectID-bc49ae08c9fd41b38c9de085082a714d\",\"id_project\":\"projectID\"}},\"token\":\"XXX\"}","env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Content-Length":"363","Content-Type":"application/json","User-Agent":"axios/1.7.7"},"maxBodyLength":-1,"maxContentLength":-1,"method":"post","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"http://localhost:10001/ext/botID","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"errno":-61,"name":"Error","port":10001,"request":{"_currentRequest":{"_closed":false,"_contentLength":null,"_defaultKeepAlive":true,"_ended":false,"_events":{},"_eventsCount":7,"_hasBody":true,"_header":"POST /ext/botID HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nUser-Agent: axios/1.7.7\r\nContent-Length: 363\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: localhost:10001\r\nConnection: close\r\n\r\n","_headerSent":true,"_keepAliveTimeout":0,"_last":true,"_redirectable":"[Circular]","_removedConnection":false,"_removedContLen":false,"_removedTE":false,"_trailer":"","aborted":false,"agent":{"_events":{},"_eventsCount":2,"defaultPort":80,"freeSockets":{},"keepAlive":false,"keepAliveMsecs":1000,"maxFreeSockets":256,"maxSockets":null,"maxTotalSockets":null,"options":{"path":null},"protocol":"http:","requests":{},"scheduling":"lifo","sockets":{"localhost:10001:":[{"_events":{"close":[null,null],"connect":[null,null,null]},"_eventsCount":8,"_hadError":true,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":[{"chunk":"POST /ext/botID HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nUser-Agent: axios/1.7.7\r\nContent-Length: 363\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: localhost:10001\r\nConnection: close\r\n\r\n","encoding":"latin1"},{"chunk":{"data":[123,34,112,97,121,108,111,97,100,34,58,123,34,95,105,100,34,58,34,51,101,98,100,56,57,48,57,45,100,52,51,98,45,52,49,52,97,45,57,97,98,49,45,99,53,57,99,100,100,52,99,55,99,55,57,34,44,34,115,101,110,100,101,114,70,117,108,108,110,97,109,101,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,116,121,112,101,34,58,34,116,101,120,116,34,44,34,115,101,110,100,101,114,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,114,101,99,105,112,105,101,110,116,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,98,99,52,57,97,101,48,56,99,57,102,100,52,49,98,51,56,99,57,100,101,48,56,53,48,56,50,97,55,49,52,100,34,44,34,116,101,120,116,34,58,34,47,97,110,111,109,97,108,121,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,44,34,114,101,113,117,101,115,116,34,58,123,34,114,101,113,117,101,115,116,95,105,100,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,98,99,52,57,97,101,48,56,99,57,102,100,52,49,98,51,56,99,57,100,101,48,56,53,48,56,50,97,55,49,52,100,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,125,125,44,34,116,111,107,101,110,34,58,34,88,88,88,34,125],"type":"Buffer"},"encoding":"buffer"}],"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":true,"closed":true,"constructed":true,"dataEmitted":false,"decoder":null,"defaultEncoding":"utf8","destroyed":true,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":true,"errored":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"flowing":true,"highWaterMark":16384,"length":0,"multiAwaitDrain":false,"needReadable":true,"objectMode":false,"pipes":[],"readableListening":false,"reading":true,"readingMore":false,"resumeScheduled":false,"sync":false},"_server":null,"_sockname":null,"_writableState":{"afterWriteTickInfo":null,"allBuffers":true,"allNoop":true,"autoDestroy":true,"bufferProcessing":false,"buffered":[],"bufferedIndex":0,"closeEmitted":true,"closed":true,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":true,"emitClose":false,"ended":false,"ending":false,"errorEmitted":true,"errored":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"finalCalled":false,"finished":false,"highWaterMark":16384,"length":600,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writelen":600,"writing":true},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null}]},"totalSocketCount":1},"chunkedEncoding":false,"destroyed":false,"finished":false,"host":"localhost","maxHeadersCount":null,"maxRequestsOnConnectionReached":false,"method":"POST","outputData":[],"outputSize":0,"parser":null,"path":"/ext/botID","protocol":"http:","res":null,"reusedSocket":false,"sendDate":false,"shouldKeepAlive":false,"socket":{"_events":{"close":[null,null],"connect":[null,null,null]},"_eventsCount":8,"_hadError":true,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":[{"chunk":"POST /ext/botID HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nUser-Agent: axios/1.7.7\r\nContent-Length: 363\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: localhost:10001\r\nConnection: close\r\n\r\n","encoding":"latin1"},{"chunk":{"data":[123,34,112,97,121,108,111,97,100,34,58,123,34,95,105,100,34,58,34,51,101,98,100,56,57,48,57,45,100,52,51,98,45,52,49,52,97,45,57,97,98,49,45,99,53,57,99,100,100,52,99,55,99,55,57,34,44,34,115,101,110,100,101,114,70,117,108,108,110,97,109,101,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,116,121,112,101,34,58,34,116,101,120,116,34,44,34,115,101,110,100,101,114,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,114,101,99,105,112,105,101,110,116,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,98,99,52,57,97,101,48,56,99,57,102,100,52,49,98,51,56,99,57,100,101,48,56,53,48,56,50,97,55,49,52,100,34,44,34,116,101,120,116,34,58,34,47,97,110,111,109,97,108,121,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,44,34,114,101,113,117,101,115,116,34,58,123,34,114,101,113,117,101,115,116,95,105,100,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,98,99,52,57,97,101,48,56,99,57,102,100,52,49,98,51,56,99,57,100,101,48,56,53,48,56,50,97,55,49,52,100,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,125,125,44,34,116,111,107,101,110,34,58,34,88,88,88,34,125],"type":"Buffer"},"encoding":"buffer"}],"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":true,"closed":true,"constructed":true,"dataEmitted":false,"decoder":null,"defaultEncoding":"utf8","destroyed":true,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":true,"errored":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"flowing":true,"highWaterMark":16384,"length":0,"multiAwaitDrain":false,"needReadable":true,"objectMode":false,"pipes":[],"readableListening":false,"reading":true,"readingMore":false,"resumeScheduled":false,"sync":false},"_server":null,"_sockname":null,"_writableState":{"afterWriteTickInfo":null,"allBuffers":true,"allNoop":true,"autoDestroy":true,"bufferProcessing":false,"buffered":[],"bufferedIndex":0,"closeEmitted":true,"closed":true,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":true,"emitClose":false,"ended":false,"ending":false,"errorEmitted":true,"errored":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"finalCalled":false,"finished":false,"highWaterMark":16384,"length":600,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writelen":600,"writing":true},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null},"timeoutCb":null,"upgradeOrConnect":false,"useChunkedEncodingByDefault":true,"writable":true},"_currentUrl":"http://localhost:10001/ext/botID","_ended":false,"_ending":true,"_events":{},"_eventsCount":3,"_options":{"agents":{},"beforeRedirects":{},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Content-Length":"363","Content-Type":"application/json","User-Agent":"axios/1.7.7"},"hostname":"localhost","maxBodyLength":null,"maxRedirects":21,"method":"POST","nativeProtocols":{"http:":{"METHODS":["ACL","BIND","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LINK","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REBIND","REPORT","SEARCH","SOURCE","SUBSCRIBE","TRACE","UNBIND","UNLINK","UNLOCK","UNSUBSCRIBE"],"STATUS_CODES":{"100":"Continue","101":"Switching Protocols","102":"Processing","103":"Early Hints","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a Teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Too Early","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"},"globalAgent":{"_events":{},"_eventsCount":2,"defaultPort":80,"freeSockets":{},"keepAlive":false,"keepAliveMsecs":1000,"maxFreeSockets":256,"maxSockets":null,"maxTotalSockets":null,"options":{"path":null},"protocol":"http:","requests":{},"scheduling":"lifo","sockets":{"localhost:10001:":[{"_events":{"close":[null,null],"connect":[null,null,null]},"_eventsCount":8,"_hadError":true,"_host":"localhost","_httpMessage":{"_closed":false,"_contentLength":null,"_defaultKeepAlive":true,"_ended":false,"_events":{},"_eventsCount":7,"_hasBody":true,"_header":"POST /ext/botID HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nUser-Agent: axios/1.7.7\r\nContent-Length: 363\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: localhost:10001\r\nConnection: close\r\n\r\n","_headerSent":true,"_keepAliveTimeout":0,"_last":true,"_redirectable":"[Circular]","_removedConnection":false,"_removedContLen":false,"_removedTE":false,"_trailer":"","aborted":false,"agent":"[Circular]","chunkedEncoding":false,"destroyed":false,"finished":false,"host":"localhost","maxHeadersCount":null,"maxRequestsOnConnectionReached":false,"method":"POST","outputData":[],"outputSize":0,"parser":null,"path":"/ext/botID","protocol":"http:","res":null,"reusedSocket":false,"sendDate":false,"shouldKeepAlive":false,"socket":"[Circular]","timeoutCb":null,"upgradeOrConnect":false,"useChunkedEncodingByDefault":true,"writable":true},"_parent":null,"_pendingData":[{"chunk":"POST /ext/botID HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nUser-Agent: axios/1.7.7\r\nContent-Length: 363\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: localhost:10001\r\nConnection: close\r\n\r\n","encoding":"latin1"},{"chunk":{"data":[123,34,112,97,121,108,111,97,100,34,58,123,34,95,105,100,34,58,34,51,101,98,100,56,57,48,57,45,100,52,51,98,45,52,49,52,97,45,57,97,98,49,45,99,53,57,99,100,100,52,99,55,99,55,57,34,44,34,115,101,110,100,101,114,70,117,108,108,110,97,109,101,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,116,121,112,101,34,58,34,116,101,120,116,34,44,34,115,101,110,100,101,114,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,114,101,99,105,112,105,101,110,116,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,98,99,52,57,97,101,48,56,99,57,102,100,52,49,98,51,56,99,57,100,101,48,56,53,48,56,50,97,55,49,52,100,34,44,34,116,101,120,116,34,58,34,47,97,110,111,109,97,108,121,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,44,34,114,101,113,117,101,115,116,34,58,123,34,114,101,113,117,101,115,116,95,105,100,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,98,99,52,57,97,101,48,56,99,57,102,100,52,49,98,51,56,99,57,100,101,48,56,53,48,56,50,97,55,49,52,100,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,125,125,44,34,116,111,107,101,110,34,58,34,88,88,88,34,125],"type":"Buffer"},"encoding":"buffer"}],"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":true,"closed":true,"constructed":true,"dataEmitted":false,"decoder":null,"defaultEncoding":"utf8","destroyed":true,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":true,"errored":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"flowing":true,"highWaterMark":16384,"length":0,"multiAwaitDrain":false,"needReadable":true,"objectMode":false,"pipes":[],"readableListening":false,"reading":true,"readingMore":false,"resumeScheduled":false,"sync":false},"_server":null,"_sockname":null,"_writableState":{"afterWriteTickInfo":null,"allBuffers":true,"allNoop":true,"autoDestroy":true,"bufferProcessing":false,"buffered":[],"bufferedIndex":0,"closeEmitted":true,"closed":true,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":true,"emitClose":false,"ended":false,"ending":false,"errorEmitted":true,"errored":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"finalCalled":false,"finished":false,"highWaterMark":16384,"length":600,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writelen":600,"writing":true},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null}]},"totalSocketCount":1},"maxHeaderSize":16384},"https:":{"globalAgent":{"_events":{},"_eventsCount":2,"_sessionCache":{"list":[],"map":{}},"defaultPort":443,"freeSockets":{},"keepAlive":false,"keepAliveMsecs":1000,"maxCachedSessions":100,"maxFreeSockets":256,"maxSockets":null,"maxTotalSockets":null,"options":{"path":null},"protocol":"https:","requests":{},"scheduling":"lifo","sockets":{},"totalSocketCount":0}}},"path":"/ext/botID","pathname":"/ext/botID","port":"10001","protocol":"http:"},"_redirectCount":0,"_redirects":[],"_requestBodyBuffers":[{"data":{"data":[123,34,112,97,121,108,111,97,100,34,58,123,34,95,105,100,34,58,34,51,101,98,100,56,57,48,57,45,100,52,51,98,45,52,49,52,97,45,57,97,98,49,45,99,53,57,99,100,100,52,99,55,99,55,57,34,44,34,115,101,110,100,101,114,70,117,108,108,110,97,109,101,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,116,121,112,101,34,58,34,116,101,120,116,34,44,34,115,101,110,100,101,114,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,114,101,99,105,112,105,101,110,116,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,98,99,52,57,97,101,48,56,99,57,102,100,52,49,98,51,56,99,57,100,101,48,56,53,48,56,50,97,55,49,52,100,34,44,34,116,101,120,116,34,58,34,47,97,110,111,109,97,108,121,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,44,34,114,101,113,117,101,115,116,34,58,123,34,114,101,113,117,101,115,116,95,105,100,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,98,99,52,57,97,101,48,56,99,57,102,100,52,49,98,51,56,99,57,100,101,48,56,53,48,56,50,97,55,49,52,100,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,125,125,44,34,116,111,107,101,110,34,58,34,88,88,88,34,125],"type":"Buffer"}}],"_requestBodyLength":363,"_writableState":{"afterWriteTickInfo":null,"allBuffers":true,"allNoop":true,"autoDestroy":true,"bufferProcessing":false,"buffered":[],"bufferedIndex":0,"closeEmitted":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":true,"defaultEncoding":"utf8","destroyed":false,"emitClose":true,"ended":false,"ending":false,"errorEmitted":false,"errored":null,"finalCalled":false,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":0,"prefinished":false,"sync":true,"writecb":null,"writelen":0,"writing":false}},"stack":"Error: connect ECONNREFUSED 127.0.0.1:10001\n at Function.AxiosError.from (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/axios/dist/node/axios.cjs:876:14)\n at RedirectableRequest.handleRequestError (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/axios/dist/node/axios.cjs:3156:25)\n at RedirectableRequest.emit (node:events:513:28)\n at ClientRequest.eventHandlers.<computed> (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/follow-redirects/index.js:49:24)\n at ClientRequest.emit (node:events:513:28)\n at Socket.socketErrorListener (node:_http_client:481:9)\n at Socket.emit (node:events:513:28)\n at emitErrorNT (node:internal/streams/destroy:157:8)\n at emitErrorCloseNT (node:internal/streams/destroy:122:3)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)\n at Axios.request (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/axios/dist/node/axios.cjs:4287:41)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)","syscall":"connect"}
|
|
6159
|
+
info: Starting tilebot server...
|
|
6160
|
+
info: (Tilebot) Starting Tilebot..
|
|
6161
|
+
info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
|
|
6162
|
+
info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
|
|
6163
|
+
info: (Tilebot) Log Level: info
|
|
6164
|
+
info: (Tilebot) MAX_STEPS: 1000
|
|
6165
|
+
info: (Tilebot) MAX_EXECUTION_TIME: 28800000
|
|
6166
|
+
info: (Tilebot) Starting Tilebot connector v2.0.15
|
|
6167
|
+
info: (Tilebot) Using static bots
|
|
6168
|
+
info: (Tilebot) Connecting Redis...
|
|
6169
|
+
info: (Tilebot) Redis connected
|
|
6170
|
+
info: (Tilebot) Tilebot started
|
|
6171
|
+
info: Tilebot route successfully started.
|
|
6172
|
+
info: Tilebot connector listening on port
|
|
6173
|
+
error: uncaughtException: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6174
|
+
Error: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6175
|
+
at Server.setupListenHandle [as _listen2] (node:net:1432:16)
|
|
6176
|
+
at listenInCluster (node:net:1480:12)
|
|
6177
|
+
at doListen (node:net:1629:7)
|
|
6178
|
+
at processTicksAndRejections (node:internal/process/task_queues:84:21) {"date":"Wed Jun 11 2025 11:46:15 GMT+0200 (Ora legale dell’Europa centrale)","error":{"address":"0.0.0.0","code":"EADDRINUSE","errno":-48,"port":10002,"syscall":"listen"},"exception":true,"os":{"loadavg":[2.60888671875,2.87109375,2.93212890625],"uptime":160677},"process":{"argv":["/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","/Users/johnny/.nvm/versions/node/v16.17.0/bin/mocha","test","./test/conversation-askgptv2_test.js","--exit"],"cwd":"/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute","execPath":"/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","gid":20,"memoryUsage":{"arrayBuffers":18475221,"external":19813043,"heapTotal":107200512,"heapUsed":77150152,"rss":163446784},"pid":39213,"uid":501,"version":"v16.17.0"},"stack":"Error: listen EADDRINUSE: address already in use 0.0.0.0:10002\n at Server.setupListenHandle [as _listen2] (node:net:1432:16)\n at listenInCluster (node:net:1480:12)\n at doListen (node:net:1629:7)\n at processTicksAndRejections (node:internal/process/task_queues:84:21)","trace":[{"column":16,"file":"node:net","function":"Server.setupListenHandle [as _listen2]","line":1432,"method":"setupListenHandle [as _listen2]","native":false},{"column":12,"file":"node:net","function":"listenInCluster","line":1480,"method":null,"native":false},{"column":7,"file":"node:net","function":"doListen","line":1629,"method":null,"native":false},{"column":21,"file":"node:internal/process/task_queues","function":"processTicksAndRejections","line":84,"method":null,"native":false}]}
|
|
6179
|
+
error: uncaughtException: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6180
|
+
Error: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6181
|
+
at Server.setupListenHandle [as _listen2] (node:net:1432:16)
|
|
6182
|
+
at listenInCluster (node:net:1480:12)
|
|
6183
|
+
at doListen (node:net:1629:7)
|
|
6184
|
+
at processTicksAndRejections (node:internal/process/task_queues:84:21) {"date":"Wed Jun 11 2025 11:46:15 GMT+0200 (Ora legale dell’Europa centrale)","error":{"address":"0.0.0.0","code":"EADDRINUSE","errno":-48,"port":10002,"syscall":"listen"},"exception":true,"os":{"loadavg":[2.60888671875,2.87109375,2.93212890625],"uptime":160677},"process":{"argv":["/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","/Users/johnny/.nvm/versions/node/v16.17.0/bin/mocha","test","./test/conversation-askgptv2_test.js","--exit"],"cwd":"/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute","execPath":"/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","gid":20,"memoryUsage":{"arrayBuffers":18467005,"external":19804787,"heapTotal":107200512,"heapUsed":77076592,"rss":163430400},"pid":39213,"uid":501,"version":"v16.17.0"},"stack":"Error: listen EADDRINUSE: address already in use 0.0.0.0:10002\n at Server.setupListenHandle [as _listen2] (node:net:1432:16)\n at listenInCluster (node:net:1480:12)\n at doListen (node:net:1629:7)\n at processTicksAndRejections (node:internal/process/task_queues:84:21)","trace":[{"column":16,"file":"node:net","function":"Server.setupListenHandle [as _listen2]","line":1432,"method":"setupListenHandle [as _listen2]","native":false},{"column":12,"file":"node:net","function":"listenInCluster","line":1480,"method":null,"native":false},{"column":7,"file":"node:net","function":"doListen","line":1629,"method":null,"native":false},{"column":21,"file":"node:internal/process/task_queues","function":"processTicksAndRejections","line":84,"method":null,"native":false}]}
|
|
6185
|
+
info: Starting tilebot server...
|
|
6186
|
+
info: (Tilebot) Starting Tilebot..
|
|
6187
|
+
info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
|
|
6188
|
+
info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
|
|
6189
|
+
info: (Tilebot) Log Level: info
|
|
6190
|
+
info: (Tilebot) MAX_STEPS: 1000
|
|
6191
|
+
info: (Tilebot) MAX_EXECUTION_TIME: 28800000
|
|
6192
|
+
info: (Tilebot) Starting Tilebot connector v2.0.15
|
|
6193
|
+
info: (Tilebot) Using static bots
|
|
6194
|
+
info: (Tilebot) Connecting Redis...
|
|
6195
|
+
info: (Tilebot) Redis connected
|
|
6196
|
+
info: (Tilebot) Tilebot started
|
|
6197
|
+
info: Tilebot route successfully started.
|
|
6198
|
+
info: Tilebot connector listening on port...
|
|
6199
|
+
error: Axios error: connect ECONNREFUSED 127.0.0.1:10001 {"address":"127.0.0.1","cause":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"code":"ECONNREFUSED","config":{"adapter":["xhr","http","fetch"],"data":"{\"payload\":{\"_id\":\"1c8da0d4-f057-46a9-9223-c0861ac07524\",\"senderFullname\":\"_tdinternal\",\"type\":\"text\",\"sender\":\"_tdinternal\",\"recipient\":\"support-group-projectID-4a8036170367462a84ac9d3d379c5d34\",\"text\":\"/anomaly\",\"id_project\":\"projectID\",\"request\":{\"request_id\":\"support-group-projectID-4a8036170367462a84ac9d3d379c5d34\",\"id_project\":\"projectID\"}},\"token\":\"XXX\"}","env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Content-Length":"363","Content-Type":"application/json","User-Agent":"axios/1.7.7"},"maxBodyLength":-1,"maxContentLength":-1,"method":"post","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"http://localhost:10001/ext/botID","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"errno":-61,"name":"Error","port":10001,"request":{"_currentRequest":{"_closed":false,"_contentLength":null,"_defaultKeepAlive":true,"_ended":false,"_events":{},"_eventsCount":7,"_hasBody":true,"_header":"POST /ext/botID HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nUser-Agent: axios/1.7.7\r\nContent-Length: 363\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: localhost:10001\r\nConnection: close\r\n\r\n","_headerSent":true,"_keepAliveTimeout":0,"_last":true,"_redirectable":"[Circular]","_removedConnection":false,"_removedContLen":false,"_removedTE":false,"_trailer":"","aborted":false,"agent":{"_events":{},"_eventsCount":2,"defaultPort":80,"freeSockets":{},"keepAlive":false,"keepAliveMsecs":1000,"maxFreeSockets":256,"maxSockets":null,"maxTotalSockets":null,"options":{"path":null},"protocol":"http:","requests":{},"scheduling":"lifo","sockets":{"localhost:10001:":[{"_events":{"close":[null,null],"connect":[null,null,null]},"_eventsCount":8,"_hadError":true,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":[{"chunk":"POST /ext/botID HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nUser-Agent: axios/1.7.7\r\nContent-Length: 363\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: localhost:10001\r\nConnection: close\r\n\r\n","encoding":"latin1"},{"chunk":{"data":[123,34,112,97,121,108,111,97,100,34,58,123,34,95,105,100,34,58,34,49,99,56,100,97,48,100,52,45,102,48,53,55,45,52,54,97,57,45,57,50,50,51,45,99,48,56,54,49,97,99,48,55,53,50,52,34,44,34,115,101,110,100,101,114,70,117,108,108,110,97,109,101,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,116,121,112,101,34,58,34,116,101,120,116,34,44,34,115,101,110,100,101,114,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,114,101,99,105,112,105,101,110,116,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,52,97,56,48,51,54,49,55,48,51,54,55,52,54,50,97,56,52,97,99,57,100,51,100,51,55,57,99,53,100,51,52,34,44,34,116,101,120,116,34,58,34,47,97,110,111,109,97,108,121,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,44,34,114,101,113,117,101,115,116,34,58,123,34,114,101,113,117,101,115,116,95,105,100,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,52,97,56,48,51,54,49,55,48,51,54,55,52,54,50,97,56,52,97,99,57,100,51,100,51,55,57,99,53,100,51,52,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,125,125,44,34,116,111,107,101,110,34,58,34,88,88,88,34,125],"type":"Buffer"},"encoding":"buffer"}],"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":true,"closed":true,"constructed":true,"dataEmitted":false,"decoder":null,"defaultEncoding":"utf8","destroyed":true,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":true,"errored":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"flowing":true,"highWaterMark":16384,"length":0,"multiAwaitDrain":false,"needReadable":true,"objectMode":false,"pipes":[],"readableListening":false,"reading":true,"readingMore":false,"resumeScheduled":false,"sync":false},"_server":null,"_sockname":null,"_writableState":{"afterWriteTickInfo":null,"allBuffers":true,"allNoop":true,"autoDestroy":true,"bufferProcessing":false,"buffered":[],"bufferedIndex":0,"closeEmitted":true,"closed":true,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":true,"emitClose":false,"ended":false,"ending":false,"errorEmitted":true,"errored":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"finalCalled":false,"finished":false,"highWaterMark":16384,"length":600,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writelen":600,"writing":true},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null}]},"totalSocketCount":1},"chunkedEncoding":false,"destroyed":false,"finished":false,"host":"localhost","maxHeadersCount":null,"maxRequestsOnConnectionReached":false,"method":"POST","outputData":[],"outputSize":0,"parser":null,"path":"/ext/botID","protocol":"http:","res":null,"reusedSocket":false,"sendDate":false,"shouldKeepAlive":false,"socket":{"_events":{"close":[null,null],"connect":[null,null,null]},"_eventsCount":8,"_hadError":true,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":[{"chunk":"POST /ext/botID HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nUser-Agent: axios/1.7.7\r\nContent-Length: 363\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: localhost:10001\r\nConnection: close\r\n\r\n","encoding":"latin1"},{"chunk":{"data":[123,34,112,97,121,108,111,97,100,34,58,123,34,95,105,100,34,58,34,49,99,56,100,97,48,100,52,45,102,48,53,55,45,52,54,97,57,45,57,50,50,51,45,99,48,56,54,49,97,99,48,55,53,50,52,34,44,34,115,101,110,100,101,114,70,117,108,108,110,97,109,101,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,116,121,112,101,34,58,34,116,101,120,116,34,44,34,115,101,110,100,101,114,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,114,101,99,105,112,105,101,110,116,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,52,97,56,48,51,54,49,55,48,51,54,55,52,54,50,97,56,52,97,99,57,100,51,100,51,55,57,99,53,100,51,52,34,44,34,116,101,120,116,34,58,34,47,97,110,111,109,97,108,121,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,44,34,114,101,113,117,101,115,116,34,58,123,34,114,101,113,117,101,115,116,95,105,100,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,52,97,56,48,51,54,49,55,48,51,54,55,52,54,50,97,56,52,97,99,57,100,51,100,51,55,57,99,53,100,51,52,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,125,125,44,34,116,111,107,101,110,34,58,34,88,88,88,34,125],"type":"Buffer"},"encoding":"buffer"}],"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":true,"closed":true,"constructed":true,"dataEmitted":false,"decoder":null,"defaultEncoding":"utf8","destroyed":true,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":true,"errored":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"flowing":true,"highWaterMark":16384,"length":0,"multiAwaitDrain":false,"needReadable":true,"objectMode":false,"pipes":[],"readableListening":false,"reading":true,"readingMore":false,"resumeScheduled":false,"sync":false},"_server":null,"_sockname":null,"_writableState":{"afterWriteTickInfo":null,"allBuffers":true,"allNoop":true,"autoDestroy":true,"bufferProcessing":false,"buffered":[],"bufferedIndex":0,"closeEmitted":true,"closed":true,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":true,"emitClose":false,"ended":false,"ending":false,"errorEmitted":true,"errored":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"finalCalled":false,"finished":false,"highWaterMark":16384,"length":600,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writelen":600,"writing":true},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null},"timeoutCb":null,"upgradeOrConnect":false,"useChunkedEncodingByDefault":true,"writable":true},"_currentUrl":"http://localhost:10001/ext/botID","_ended":false,"_ending":true,"_events":{},"_eventsCount":3,"_options":{"agents":{},"beforeRedirects":{},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Content-Length":"363","Content-Type":"application/json","User-Agent":"axios/1.7.7"},"hostname":"localhost","maxBodyLength":null,"maxRedirects":21,"method":"POST","nativeProtocols":{"http:":{"METHODS":["ACL","BIND","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LINK","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCALENDAR","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REBIND","REPORT","SEARCH","SOURCE","SUBSCRIBE","TRACE","UNBIND","UNLINK","UNLOCK","UNSUBSCRIBE"],"STATUS_CODES":{"100":"Continue","101":"Switching Protocols","102":"Processing","103":"Early Hints","200":"OK","201":"Created","202":"Accepted","203":"Non-Authoritative Information","204":"No Content","205":"Reset Content","206":"Partial Content","207":"Multi-Status","208":"Already Reported","226":"IM Used","300":"Multiple Choices","301":"Moved Permanently","302":"Found","303":"See Other","304":"Not Modified","305":"Use Proxy","307":"Temporary Redirect","308":"Permanent Redirect","400":"Bad Request","401":"Unauthorized","402":"Payment Required","403":"Forbidden","404":"Not Found","405":"Method Not Allowed","406":"Not Acceptable","407":"Proxy Authentication Required","408":"Request Timeout","409":"Conflict","410":"Gone","411":"Length Required","412":"Precondition Failed","413":"Payload Too Large","414":"URI Too Long","415":"Unsupported Media Type","416":"Range Not Satisfiable","417":"Expectation Failed","418":"I'm a Teapot","421":"Misdirected Request","422":"Unprocessable Entity","423":"Locked","424":"Failed Dependency","425":"Too Early","426":"Upgrade Required","428":"Precondition Required","429":"Too Many Requests","431":"Request Header Fields Too Large","451":"Unavailable For Legal Reasons","500":"Internal Server Error","501":"Not Implemented","502":"Bad Gateway","503":"Service Unavailable","504":"Gateway Timeout","505":"HTTP Version Not Supported","506":"Variant Also Negotiates","507":"Insufficient Storage","508":"Loop Detected","509":"Bandwidth Limit Exceeded","510":"Not Extended","511":"Network Authentication Required"},"globalAgent":{"_events":{},"_eventsCount":2,"defaultPort":80,"freeSockets":{},"keepAlive":false,"keepAliveMsecs":1000,"maxFreeSockets":256,"maxSockets":null,"maxTotalSockets":null,"options":{"path":null},"protocol":"http:","requests":{},"scheduling":"lifo","sockets":{"localhost:10001:":[{"_events":{"close":[null,null],"connect":[null,null,null]},"_eventsCount":8,"_hadError":true,"_host":"localhost","_httpMessage":{"_closed":false,"_contentLength":null,"_defaultKeepAlive":true,"_ended":false,"_events":{},"_eventsCount":7,"_hasBody":true,"_header":"POST /ext/botID HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nUser-Agent: axios/1.7.7\r\nContent-Length: 363\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: localhost:10001\r\nConnection: close\r\n\r\n","_headerSent":true,"_keepAliveTimeout":0,"_last":true,"_redirectable":"[Circular]","_removedConnection":false,"_removedContLen":false,"_removedTE":false,"_trailer":"","aborted":false,"agent":"[Circular]","chunkedEncoding":false,"destroyed":false,"finished":false,"host":"localhost","maxHeadersCount":null,"maxRequestsOnConnectionReached":false,"method":"POST","outputData":[],"outputSize":0,"parser":null,"path":"/ext/botID","protocol":"http:","res":null,"reusedSocket":false,"sendDate":false,"shouldKeepAlive":false,"socket":"[Circular]","timeoutCb":null,"upgradeOrConnect":false,"useChunkedEncodingByDefault":true,"writable":true},"_parent":null,"_pendingData":[{"chunk":"POST /ext/botID HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nUser-Agent: axios/1.7.7\r\nContent-Length: 363\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: localhost:10001\r\nConnection: close\r\n\r\n","encoding":"latin1"},{"chunk":{"data":[123,34,112,97,121,108,111,97,100,34,58,123,34,95,105,100,34,58,34,49,99,56,100,97,48,100,52,45,102,48,53,55,45,52,54,97,57,45,57,50,50,51,45,99,48,56,54,49,97,99,48,55,53,50,52,34,44,34,115,101,110,100,101,114,70,117,108,108,110,97,109,101,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,116,121,112,101,34,58,34,116,101,120,116,34,44,34,115,101,110,100,101,114,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,114,101,99,105,112,105,101,110,116,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,52,97,56,48,51,54,49,55,48,51,54,55,52,54,50,97,56,52,97,99,57,100,51,100,51,55,57,99,53,100,51,52,34,44,34,116,101,120,116,34,58,34,47,97,110,111,109,97,108,121,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,44,34,114,101,113,117,101,115,116,34,58,123,34,114,101,113,117,101,115,116,95,105,100,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,52,97,56,48,51,54,49,55,48,51,54,55,52,54,50,97,56,52,97,99,57,100,51,100,51,55,57,99,53,100,51,52,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,125,125,44,34,116,111,107,101,110,34,58,34,88,88,88,34,125],"type":"Buffer"},"encoding":"buffer"}],"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":true,"closed":true,"constructed":true,"dataEmitted":false,"decoder":null,"defaultEncoding":"utf8","destroyed":true,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":true,"errored":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"flowing":true,"highWaterMark":16384,"length":0,"multiAwaitDrain":false,"needReadable":true,"objectMode":false,"pipes":[],"readableListening":false,"reading":true,"readingMore":false,"resumeScheduled":false,"sync":false},"_server":null,"_sockname":null,"_writableState":{"afterWriteTickInfo":null,"allBuffers":true,"allNoop":true,"autoDestroy":true,"bufferProcessing":false,"buffered":[],"bufferedIndex":0,"closeEmitted":true,"closed":true,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":true,"emitClose":false,"ended":false,"ending":false,"errorEmitted":true,"errored":{"address":"127.0.0.1","code":"ECONNREFUSED","errno":-61,"port":10001,"syscall":"connect"},"finalCalled":false,"finished":false,"highWaterMark":16384,"length":600,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writelen":600,"writing":true},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null}]},"totalSocketCount":1},"maxHeaderSize":16384},"https:":{"globalAgent":{"_events":{},"_eventsCount":2,"_sessionCache":{"list":[],"map":{}},"defaultPort":443,"freeSockets":{},"keepAlive":false,"keepAliveMsecs":1000,"maxCachedSessions":100,"maxFreeSockets":256,"maxSockets":null,"maxTotalSockets":null,"options":{"path":null},"protocol":"https:","requests":{},"scheduling":"lifo","sockets":{},"totalSocketCount":0}}},"path":"/ext/botID","pathname":"/ext/botID","port":"10001","protocol":"http:"},"_redirectCount":0,"_redirects":[],"_requestBodyBuffers":[{"data":{"data":[123,34,112,97,121,108,111,97,100,34,58,123,34,95,105,100,34,58,34,49,99,56,100,97,48,100,52,45,102,48,53,55,45,52,54,97,57,45,57,50,50,51,45,99,48,56,54,49,97,99,48,55,53,50,52,34,44,34,115,101,110,100,101,114,70,117,108,108,110,97,109,101,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,116,121,112,101,34,58,34,116,101,120,116,34,44,34,115,101,110,100,101,114,34,58,34,95,116,100,105,110,116,101,114,110,97,108,34,44,34,114,101,99,105,112,105,101,110,116,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,52,97,56,48,51,54,49,55,48,51,54,55,52,54,50,97,56,52,97,99,57,100,51,100,51,55,57,99,53,100,51,52,34,44,34,116,101,120,116,34,58,34,47,97,110,111,109,97,108,121,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,44,34,114,101,113,117,101,115,116,34,58,123,34,114,101,113,117,101,115,116,95,105,100,34,58,34,115,117,112,112,111,114,116,45,103,114,111,117,112,45,112,114,111,106,101,99,116,73,68,45,52,97,56,48,51,54,49,55,48,51,54,55,52,54,50,97,56,52,97,99,57,100,51,100,51,55,57,99,53,100,51,52,34,44,34,105,100,95,112,114,111,106,101,99,116,34,58,34,112,114,111,106,101,99,116,73,68,34,125,125,44,34,116,111,107,101,110,34,58,34,88,88,88,34,125],"type":"Buffer"}}],"_requestBodyLength":363,"_writableState":{"afterWriteTickInfo":null,"allBuffers":true,"allNoop":true,"autoDestroy":true,"bufferProcessing":false,"buffered":[],"bufferedIndex":0,"closeEmitted":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":true,"defaultEncoding":"utf8","destroyed":false,"emitClose":true,"ended":false,"ending":false,"errorEmitted":false,"errored":null,"finalCalled":false,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":0,"prefinished":false,"sync":true,"writecb":null,"writelen":0,"writing":false}},"stack":"Error: connect ECONNREFUSED 127.0.0.1:10001\n at Function.AxiosError.from (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/axios/dist/node/axios.cjs:876:14)\n at RedirectableRequest.handleRequestError (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/axios/dist/node/axios.cjs:3156:25)\n at RedirectableRequest.emit (node:events:513:28)\n at ClientRequest.eventHandlers.<computed> (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/follow-redirects/index.js:49:24)\n at ClientRequest.emit (node:events:513:28)\n at Socket.socketErrorListener (node:_http_client:481:9)\n at Socket.emit (node:events:513:28)\n at emitErrorNT (node:internal/streams/destroy:157:8)\n at emitErrorCloseNT (node:internal/streams/destroy:122:3)\n at processTicksAndRejections (node:internal/process/task_queues:83:21)\n at Axios.request (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/axios/dist/node/axios.cjs:4287:41)\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)","syscall":"connect"}
|
|
6200
|
+
info: Starting tilebot server...
|
|
6201
|
+
info: (Tilebot) Starting Tilebot..
|
|
6202
|
+
info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
|
|
6203
|
+
info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
|
|
6204
|
+
info: (Tilebot) Log Level: info
|
|
6205
|
+
info: (Tilebot) MAX_STEPS: 1000
|
|
6206
|
+
info: (Tilebot) MAX_EXECUTION_TIME: 28800000
|
|
6207
|
+
info: (Tilebot) Starting Tilebot connector v2.0.15
|
|
6208
|
+
info: (Tilebot) Using static bots
|
|
6209
|
+
info: (Tilebot) Connecting Redis...
|
|
6210
|
+
info: (Tilebot) Redis connected
|
|
6211
|
+
info: (Tilebot) Tilebot started
|
|
6212
|
+
info: Tilebot route successfully started.
|
|
6213
|
+
info: Tilebot connector listening on port
|
|
6214
|
+
error: uncaughtException: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6215
|
+
Error: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6216
|
+
at Server.setupListenHandle [as _listen2] (node:net:1432:16)
|
|
6217
|
+
at listenInCluster (node:net:1480:12)
|
|
6218
|
+
at doListen (node:net:1629:7)
|
|
6219
|
+
at processTicksAndRejections (node:internal/process/task_queues:84:21) {"date":"Wed Jun 11 2025 11:51:03 GMT+0200 (Ora legale dell’Europa centrale)","error":{"address":"0.0.0.0","code":"EADDRINUSE","errno":-48,"port":10002,"syscall":"listen"},"exception":true,"os":{"loadavg":[2.23193359375,2.23974609375,2.60693359375],"uptime":160965},"process":{"argv":["/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/.bin/mocha","test","./test/conversation-askgptv2_test.js","--exit"],"cwd":"/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute","execPath":"/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","gid":20,"memoryUsage":{"arrayBuffers":18453082,"external":19422061,"heapTotal":99860480,"heapUsed":69514984,"rss":159678464},"pid":39336,"uid":501,"version":"v16.17.0"},"stack":"Error: listen EADDRINUSE: address already in use 0.0.0.0:10002\n at Server.setupListenHandle [as _listen2] (node:net:1432:16)\n at listenInCluster (node:net:1480:12)\n at doListen (node:net:1629:7)\n at processTicksAndRejections (node:internal/process/task_queues:84:21)","trace":[{"column":16,"file":"node:net","function":"Server.setupListenHandle [as _listen2]","line":1432,"method":"setupListenHandle [as _listen2]","native":false},{"column":12,"file":"node:net","function":"listenInCluster","line":1480,"method":null,"native":false},{"column":7,"file":"node:net","function":"doListen","line":1629,"method":null,"native":false},{"column":21,"file":"node:internal/process/task_queues","function":"processTicksAndRejections","line":84,"method":null,"native":false}]}
|
|
6220
|
+
error: uncaughtException: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6221
|
+
Error: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6222
|
+
at Server.setupListenHandle [as _listen2] (node:net:1432:16)
|
|
6223
|
+
at listenInCluster (node:net:1480:12)
|
|
6224
|
+
at doListen (node:net:1629:7)
|
|
6225
|
+
at processTicksAndRejections (node:internal/process/task_queues:84:21) {"date":"Wed Jun 11 2025 11:51:03 GMT+0200 (Ora legale dell’Europa centrale)","error":{"address":"0.0.0.0","code":"EADDRINUSE","errno":-48,"port":10002,"syscall":"listen"},"exception":true,"os":{"loadavg":[2.23193359375,2.23974609375,2.60693359375],"uptime":160965},"process":{"argv":["/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/.bin/mocha","test","./test/conversation-askgptv2_test.js","--exit"],"cwd":"/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute","execPath":"/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","gid":20,"memoryUsage":{"arrayBuffers":18453058,"external":19421997,"heapTotal":99860480,"heapUsed":69427136,"rss":159662080},"pid":39336,"uid":501,"version":"v16.17.0"},"stack":"Error: listen EADDRINUSE: address already in use 0.0.0.0:10002\n at Server.setupListenHandle [as _listen2] (node:net:1432:16)\n at listenInCluster (node:net:1480:12)\n at doListen (node:net:1629:7)\n at processTicksAndRejections (node:internal/process/task_queues:84:21)","trace":[{"column":16,"file":"node:net","function":"Server.setupListenHandle [as _listen2]","line":1432,"method":"setupListenHandle [as _listen2]","native":false},{"column":12,"file":"node:net","function":"listenInCluster","line":1480,"method":null,"native":false},{"column":7,"file":"node:net","function":"doListen","line":1629,"method":null,"native":false},{"column":21,"file":"node:internal/process/task_queues","function":"processTicksAndRejections","line":84,"method":null,"native":false}]}
|
|
6226
|
+
info: Starting tilebot server...
|
|
6227
|
+
info: (Tilebot) Starting Tilebot..
|
|
6228
|
+
info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
|
|
6229
|
+
info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
|
|
6230
|
+
info: (Tilebot) Log Level: info
|
|
6231
|
+
info: (Tilebot) MAX_STEPS: 1000
|
|
6232
|
+
info: (Tilebot) MAX_EXECUTION_TIME: 28800000
|
|
6233
|
+
info: (Tilebot) Starting Tilebot connector v2.0.15
|
|
6234
|
+
info: (Tilebot) Using static bots
|
|
6235
|
+
info: (Tilebot) Connecting Redis...
|
|
6236
|
+
info: (Tilebot) Redis connected
|
|
6237
|
+
info: (Tilebot) Tilebot started
|
|
6238
|
+
info: Tilebot route successfully started.
|
|
6239
|
+
info: Tilebot connector listening on port 10001
|
|
6240
|
+
error: Axios error response data: <!DOCTYPE html>
|
|
6241
|
+
<html lang="en">
|
|
6242
|
+
<head>
|
|
6243
|
+
<meta charset="utf-8">
|
|
6244
|
+
<title>Error</title>
|
|
6245
|
+
</head>
|
|
6246
|
+
<body>
|
|
6247
|
+
<pre>AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:<br><br> assert(req.body.search_type === "chunks")<br><br> at /Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/test/conversation-askgptv2_test.js:1080:7<br> at Layer.handle [as handle_request] (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/layer.js:95:5)<br> at next (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/route.js:144:13)<br> at Route.dispatch (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/route.js:114:3)<br> at Layer.handle [as handle_request] (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/layer.js:95:5)<br> at /Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/index.js:284:15<br> at Function.process_params (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/index.js:346:12)<br> at next (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/index.js:280:10)<br> at /Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/body-parser/lib/read.js:137:5<br> at AsyncResource.runInAsyncScope (node:async_hooks:203:9)<br> at invokeCallback (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/raw-body/index.js:231:16)<br> at done (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/raw-body/index.js:220:7)<br> at IncomingMessage.onEnd (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/raw-body/index.js:280:7)<br> at IncomingMessage.emit (node:events:525:35)<br> at endReadableNT (node:internal/streams/readable:1358:12)<br> at processTicksAndRejections (node:internal/process/task_queues:83:21)</pre>
|
|
6248
|
+
</body>
|
|
6249
|
+
</html>
|
|
6250
|
+
|
|
6251
|
+
error: DirAskGPTV2 error:
|
|
6252
|
+
error: uncaughtException: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6253
|
+
Error: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6254
|
+
at Server.setupListenHandle [as _listen2] (node:net:1432:16)
|
|
6255
|
+
at listenInCluster (node:net:1480:12)
|
|
6256
|
+
at doListen (node:net:1629:7)
|
|
6257
|
+
at processTicksAndRejections (node:internal/process/task_queues:84:21) {"date":"Wed Jun 11 2025 11:51:21 GMT+0200 (Ora legale dell’Europa centrale)","error":{"address":"0.0.0.0","code":"EADDRINUSE","errno":-48,"port":10002,"syscall":"listen"},"exception":true,"os":{"loadavg":[2.53369140625,2.31787109375,2.62646484375],"uptime":160983},"process":{"argv":["/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/.bin/mocha","./test/conversation-askgptv2_test.js","--exit"],"cwd":"/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute","execPath":"/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","gid":20,"memoryUsage":{"arrayBuffers":18553440,"external":20312506,"heapTotal":83083264,"heapUsed":54846968,"rss":132415488},"pid":39357,"uid":501,"version":"v16.17.0"},"stack":"Error: listen EADDRINUSE: address already in use 0.0.0.0:10002\n at Server.setupListenHandle [as _listen2] (node:net:1432:16)\n at listenInCluster (node:net:1480:12)\n at doListen (node:net:1629:7)\n at processTicksAndRejections (node:internal/process/task_queues:84:21)","trace":[{"column":16,"file":"node:net","function":"Server.setupListenHandle [as _listen2]","line":1432,"method":"setupListenHandle [as _listen2]","native":false},{"column":12,"file":"node:net","function":"listenInCluster","line":1480,"method":null,"native":false},{"column":7,"file":"node:net","function":"doListen","line":1629,"method":null,"native":false},{"column":21,"file":"node:internal/process/task_queues","function":"processTicksAndRejections","line":84,"method":null,"native":false}]}
|
|
6258
|
+
error: uncaughtException: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6259
|
+
Error: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6260
|
+
at Server.setupListenHandle [as _listen2] (node:net:1432:16)
|
|
6261
|
+
at listenInCluster (node:net:1480:12)
|
|
6262
|
+
at doListen (node:net:1629:7)
|
|
6263
|
+
at processTicksAndRejections (node:internal/process/task_queues:84:21) {"date":"Wed Jun 11 2025 11:51:21 GMT+0200 (Ora legale dell’Europa centrale)","error":{"address":"0.0.0.0","code":"EADDRINUSE","errno":-48,"port":10002,"syscall":"listen"},"exception":true,"os":{"loadavg":[2.53369140625,2.31787109375,2.62646484375],"uptime":160983},"process":{"argv":["/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/.bin/mocha","./test/conversation-askgptv2_test.js","--exit"],"cwd":"/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute","execPath":"/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","gid":20,"memoryUsage":{"arrayBuffers":18561656,"external":20320762,"heapTotal":83083264,"heapUsed":54925264,"rss":132431872},"pid":39357,"uid":501,"version":"v16.17.0"},"stack":"Error: listen EADDRINUSE: address already in use 0.0.0.0:10002\n at Server.setupListenHandle [as _listen2] (node:net:1432:16)\n at listenInCluster (node:net:1480:12)\n at doListen (node:net:1629:7)\n at processTicksAndRejections (node:internal/process/task_queues:84:21)","trace":[{"column":16,"file":"node:net","function":"Server.setupListenHandle [as _listen2]","line":1432,"method":"setupListenHandle [as _listen2]","native":false},{"column":12,"file":"node:net","function":"listenInCluster","line":1480,"method":null,"native":false},{"column":7,"file":"node:net","function":"doListen","line":1629,"method":null,"native":false},{"column":21,"file":"node:internal/process/task_queues","function":"processTicksAndRejections","line":84,"method":null,"native":false}]}
|
|
6264
|
+
info: Starting tilebot server...
|
|
6265
|
+
info: (Tilebot) Starting Tilebot..
|
|
6266
|
+
info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
|
|
6267
|
+
info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
|
|
6268
|
+
info: (Tilebot) Log Level: info
|
|
6269
|
+
info: (Tilebot) MAX_STEPS: 1000
|
|
6270
|
+
info: (Tilebot) MAX_EXECUTION_TIME: 28800000
|
|
6271
|
+
info: (Tilebot) Starting Tilebot connector v2.0.15
|
|
6272
|
+
info: (Tilebot) Using static bots
|
|
6273
|
+
info: (Tilebot) Connecting Redis...
|
|
6274
|
+
info: (Tilebot) Redis connected
|
|
6275
|
+
info: (Tilebot) Tilebot started
|
|
6276
|
+
info: Tilebot route successfully started.
|
|
6277
|
+
info: Tilebot connector listening on port 10001
|
|
6278
|
+
error: Axios error response data: <!DOCTYPE html>
|
|
6279
|
+
<html lang="en">
|
|
6280
|
+
<head>
|
|
6281
|
+
<meta charset="utf-8">
|
|
6282
|
+
<title>Error</title>
|
|
6283
|
+
</head>
|
|
6284
|
+
<body>
|
|
6285
|
+
<pre>AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:<br><br> assert(req.body.search_type === "hybrid")<br><br> at /Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/test/conversation-askgptv2_test.js:1080:7<br> at Layer.handle [as handle_request] (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/layer.js:95:5)<br> at next (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/route.js:144:13)<br> at Route.dispatch (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/route.js:114:3)<br> at Layer.handle [as handle_request] (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/layer.js:95:5)<br> at /Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/index.js:284:15<br> at Function.process_params (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/index.js:346:12)<br> at next (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/express/lib/router/index.js:280:10)<br> at /Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/body-parser/lib/read.js:137:5<br> at AsyncResource.runInAsyncScope (node:async_hooks:203:9)<br> at invokeCallback (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/raw-body/index.js:231:16)<br> at done (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/raw-body/index.js:220:7)<br> at IncomingMessage.onEnd (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/raw-body/index.js:280:7)<br> at IncomingMessage.emit (node:events:525:35)<br> at endReadableNT (node:internal/streams/readable:1358:12)<br> at processTicksAndRejections (node:internal/process/task_queues:83:21)</pre>
|
|
6286
|
+
</body>
|
|
6287
|
+
</html>
|
|
6288
|
+
|
|
6289
|
+
error: DirAskGPTV2 error:
|
|
6290
|
+
error: uncaughtException: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6291
|
+
Error: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6292
|
+
at Server.setupListenHandle [as _listen2] (node:net:1432:16)
|
|
6293
|
+
at listenInCluster (node:net:1480:12)
|
|
6294
|
+
at doListen (node:net:1629:7)
|
|
6295
|
+
at processTicksAndRejections (node:internal/process/task_queues:84:21) {"date":"Wed Jun 11 2025 11:53:08 GMT+0200 (Ora legale dell’Europa centrale)","error":{"address":"0.0.0.0","code":"EADDRINUSE","errno":-48,"port":10002,"syscall":"listen"},"exception":true,"os":{"loadavg":[2.63427734375,2.42626953125,2.63232421875],"uptime":161090},"process":{"argv":["/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/.bin/mocha","./test/conversation-askgptv2_test.js","--exit"],"cwd":"/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute","execPath":"/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","gid":20,"memoryUsage":{"arrayBuffers":18490406,"external":19905465,"heapTotal":78888960,"heapUsed":46628792,"rss":129253376},"pid":39407,"uid":501,"version":"v16.17.0"},"stack":"Error: listen EADDRINUSE: address already in use 0.0.0.0:10002\n at Server.setupListenHandle [as _listen2] (node:net:1432:16)\n at listenInCluster (node:net:1480:12)\n at doListen (node:net:1629:7)\n at processTicksAndRejections (node:internal/process/task_queues:84:21)","trace":[{"column":16,"file":"node:net","function":"Server.setupListenHandle [as _listen2]","line":1432,"method":"setupListenHandle [as _listen2]","native":false},{"column":12,"file":"node:net","function":"listenInCluster","line":1480,"method":null,"native":false},{"column":7,"file":"node:net","function":"doListen","line":1629,"method":null,"native":false},{"column":21,"file":"node:internal/process/task_queues","function":"processTicksAndRejections","line":84,"method":null,"native":false}]}
|
|
6296
|
+
error: uncaughtException: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6297
|
+
Error: listen EADDRINUSE: address already in use 0.0.0.0:10002
|
|
6298
|
+
at Server.setupListenHandle [as _listen2] (node:net:1432:16)
|
|
6299
|
+
at listenInCluster (node:net:1480:12)
|
|
6300
|
+
at doListen (node:net:1629:7)
|
|
6301
|
+
at processTicksAndRejections (node:internal/process/task_queues:84:21) {"date":"Wed Jun 11 2025 11:53:08 GMT+0200 (Ora legale dell’Europa centrale)","error":{"address":"0.0.0.0","code":"EADDRINUSE","errno":-48,"port":10002,"syscall":"listen"},"exception":true,"os":{"loadavg":[2.63427734375,2.42626953125,2.63232421875],"uptime":161090},"process":{"argv":["/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/.bin/mocha","./test/conversation-askgptv2_test.js","--exit"],"cwd":"/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute","execPath":"/Users/johnny/.nvm/versions/node/v16.17.0/bin/node","gid":20,"memoryUsage":{"arrayBuffers":18498622,"external":19913721,"heapTotal":78888960,"heapUsed":46702840,"rss":129286144},"pid":39407,"uid":501,"version":"v16.17.0"},"stack":"Error: listen EADDRINUSE: address already in use 0.0.0.0:10002\n at Server.setupListenHandle [as _listen2] (node:net:1432:16)\n at listenInCluster (node:net:1480:12)\n at doListen (node:net:1629:7)\n at processTicksAndRejections (node:internal/process/task_queues:84:21)","trace":[{"column":16,"file":"node:net","function":"Server.setupListenHandle [as _listen2]","line":1432,"method":"setupListenHandle [as _listen2]","native":false},{"column":12,"file":"node:net","function":"listenInCluster","line":1480,"method":null,"native":false},{"column":7,"file":"node:net","function":"doListen","line":1629,"method":null,"native":false},{"column":21,"file":"node:internal/process/task_queues","function":"processTicksAndRejections","line":84,"method":null,"native":false}]}
|
|
6302
|
+
info: Starting tilebot server...
|
|
6303
|
+
info: (Tilebot) Starting Tilebot..
|
|
6304
|
+
info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
|
|
6305
|
+
info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
|
|
6306
|
+
info: (Tilebot) Log Level: info
|
|
6307
|
+
info: (Tilebot) MAX_STEPS: 1000
|
|
6308
|
+
info: (Tilebot) MAX_EXECUTION_TIME: 28800000
|
|
6309
|
+
info: (Tilebot) Starting Tilebot connector v2.0.15
|
|
6310
|
+
info: (Tilebot) Using static bots
|
|
6311
|
+
info: (Tilebot) Connecting Redis...
|
|
6312
|
+
info: (Tilebot) Redis connected
|
|
6313
|
+
info: (Tilebot) Tilebot started
|
|
6314
|
+
info: Tilebot route successfully started.
|
|
6315
|
+
info: Tilebot connector listening on port 10001
|
|
6316
|
+
error: Axios error response data: {"error":{"answer":"No answer","chat_history_dict":{},"citations":null,"content_chunks":null,"error_message":"IndexError('list index out of range')","id":null,"ids":null,"namespace":"66ec24a028a0c600130baa6a","prompt_token_size":0,"source":null,"sources":null,"success":false},"statusText":"Bad Request","success":false}
|
|
6317
|
+
error: DirAskGPTV2 error:
|
|
6318
|
+
info: DirAskGPTV2 Error: gptkey is mandatory
|
|
6319
|
+
error: Axios error response data: {"error":"no knowledge base settings found"}
|
|
6320
|
+
error: DirAskGPTV2 Get kb settings error {"error":"no knowledge base settings found"}
|
|
6321
|
+
info: DirAskGPTV2 Error: gptkey is mandatory
|
|
6322
|
+
error: DirAskGPTV2 Error: question attribute is mandatory. Executing condition false...
|
package/package.json
CHANGED
|
@@ -209,7 +209,6 @@ class DirAskGPTV2 {
|
|
|
209
209
|
|
|
210
210
|
let ns;
|
|
211
211
|
|
|
212
|
-
console.log("namespace: ", namespace)
|
|
213
212
|
if (action.namespaceAsName) {
|
|
214
213
|
// Namespace could be an attribute
|
|
215
214
|
const filled_namespace = filler.fill(action.namespace, requestVariables)
|
|
@@ -220,7 +219,6 @@ class DirAskGPTV2 {
|
|
|
220
219
|
} else {
|
|
221
220
|
this.logger.native("[Ask Knowledge Base] Searching namespace by id ", namespace);
|
|
222
221
|
ns = await this.getNamespace(null, namespace);
|
|
223
|
-
console.log("ns ?: ", ns)
|
|
224
222
|
}
|
|
225
223
|
|
|
226
224
|
if (!ns) {
|
|
@@ -271,16 +269,15 @@ class DirAskGPTV2 {
|
|
|
271
269
|
if (max_tokens) {
|
|
272
270
|
json.max_tokens = max_tokens;
|
|
273
271
|
}
|
|
272
|
+
if (chunks_only) {
|
|
273
|
+
json.chunks_only = chunks_only;
|
|
274
|
+
}
|
|
274
275
|
|
|
275
276
|
if (engine.type === 'serverless') {
|
|
276
277
|
json.search_type = 'hybrid';
|
|
277
278
|
json.alpha = alpha;
|
|
278
279
|
}
|
|
279
280
|
|
|
280
|
-
if (chunks_only && chunks_only === true) {
|
|
281
|
-
json.search_type = 'chunks';
|
|
282
|
-
}
|
|
283
|
-
|
|
284
281
|
if (!action.advancedPrompt) {
|
|
285
282
|
if (filled_context) {
|
|
286
283
|
json.system_context = filled_context + "\n" + contexts[model];
|
|
@@ -42,6 +42,7 @@ class DirIntent {
|
|
|
42
42
|
const intentName = action.intentName;
|
|
43
43
|
const projectId = this.supportRequest.id_project;
|
|
44
44
|
const requestId = this.supportRequest.request_id;
|
|
45
|
+
const draft = this.supportRequest.draft;
|
|
45
46
|
const botId = this.supportRequest.bot_id;
|
|
46
47
|
let intent_command;
|
|
47
48
|
if (intentName) {
|
|
@@ -63,7 +64,8 @@ class DirIntent {
|
|
|
63
64
|
"id_project": projectId,
|
|
64
65
|
"request": {
|
|
65
66
|
"request_id": requestId,
|
|
66
|
-
"id_project": projectId
|
|
67
|
+
"id_project": projectId,
|
|
68
|
+
"draft": draft
|
|
67
69
|
// "bot_id": botId
|
|
68
70
|
}
|
|
69
71
|
},
|