@tiledesk/tiledesk-tybot-connector 2.0.12-rc4 → 2.0.12-rc5

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
@@ -571,3 +571,576 @@ error: (TiledeskExpression) evaluateJavascriptExpression error: missing ) after
571
571
  error: (TiledeskExpression)Condition evaluation stopped because of invalid operand2 [object Object]
572
572
  error: (TiledeskExpression) Condition evaluation stopped because of invalid operand1 11height
573
573
  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"}
574
+ info: Starting tilebot server...
575
+ info: (Tilebot) Starting Tilebot..
576
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
577
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
578
+ info: (Tilebot) Log: true
579
+ info: (Tilebot) MAX_STEPS: 1000
580
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
581
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
582
+ info: (Tilebot) Using static bots
583
+ info: (Tilebot) Connecting Redis...
584
+ info: (Tilebot) Redis connected
585
+ info: (Tilebot) Tilebot started
586
+ info: Tilebot route successfully started.
587
+ info: Tilebot connector listening on port...
588
+ info: Starting tilebot server...
589
+ info: (Tilebot) Starting Tilebot..
590
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
591
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
592
+ info: (Tilebot) Log: true
593
+ info: (Tilebot) MAX_STEPS: 1000
594
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
595
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
596
+ info: (Tilebot) Using static bots
597
+ info: (Tilebot) Connecting Redis...
598
+ info: (Tilebot) Redis connected
599
+ info: (Tilebot) Tilebot started
600
+ info: Tilebot route successfully started.
601
+ info: Tilebot connector listening on port
602
+ info: Starting tilebot server...
603
+ info: (Tilebot) Starting Tilebot..
604
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
605
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
606
+ info: (Tilebot) Log: true
607
+ info: (Tilebot) MAX_STEPS: 1000
608
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
609
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
610
+ info: (Tilebot) Using static bots
611
+ info: (Tilebot) Connecting Redis...
612
+ info: (Tilebot) Redis connected
613
+ info: (Tilebot) Tilebot started
614
+ info: Tilebot route successfully started.
615
+ info: Tilebot connector listening on port
616
+ error: Axios error response data: Integration not found for model undefined
617
+ error: Error: DirAiPrompt llm key not found in integrations
618
+ error: Axios error response data: {"detail":[{"loc":["string",0],"msg":"this is the error message","type":"string"}]}
619
+ error: DirAiPrompt openai err: Request failed with status code 422 {"code":"ERR_BAD_REQUEST","config":{"adapter":["xhr","http","fetch"],"data":"{\"question\":\"this is the question\",\"llm\":\"myllm\",\"model\":\"llmmodel\",\"llm_key\":\"example_api_key\",\"temperature\":0.7,\"max_tokens\":512}","env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Content-Length":"131","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:10002/api/ask","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"name":"AxiosError","request":{"_closed":false,"_contentLength":null,"_defaultKeepAlive":true,"_ended":true,"_events":{},"_eventsCount":7,"_hasBody":true,"_header":"POST /api/ask HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nUser-Agent: axios/1.7.7\r\nContent-Length: 131\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: localhost:10002\r\nConnection: close\r\n\r\n","_headerSent":true,"_keepAliveTimeout":0,"_last":true,"_redirectable":{"_currentRequest":"[Circular]","_currentUrl":"http://localhost:10002/api/ask","_ended":true,"_ending":true,"_events":{},"_eventsCount":3,"_options":{"agents":{},"beforeRedirects":{},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Content-Length":"131","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:10002:":[{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"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":"/api/ask","pathname":"/api/ask","port":"10002","protocol":"http:"},"_redirectCount":0,"_redirects":[],"_requestBodyBuffers":[],"_requestBodyLength":131,"_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}},"_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:10002:":[{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null}]},"totalSocketCount":1},"chunkedEncoding":false,"destroyed":false,"finished":true,"host":"localhost","maxHeadersCount":null,"maxRequestsOnConnectionReached":false,"method":"POST","outputData":[],"outputSize":0,"parser":null,"path":"/api/ask","protocol":"http:","res":{"_consuming":false,"_dumped":false,"_events":{"end":[null,null]},"_eventsCount":4,"_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":true,"closed":true,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":true,"emitClose":true,"emittedReadable":false,"encoding":null,"endEmitted":true,"ended":true,"errorEmitted":false,"errored":null,"flowing":true,"highWaterMark":16384,"length":0,"multiAwaitDrain":false,"needReadable":false,"objectMode":false,"pipes":[],"readableListening":false,"reading":false,"readingMore":true,"resumeScheduled":false,"sync":true},"aborted":false,"client":{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null},"complete":true,"httpVersion":"1.1","httpVersionMajor":1,"httpVersionMinor":1,"method":null,"rawHeaders":["X-Powered-By","Express","Content-Type","application/json; charset=utf-8","Content-Length","83","ETag","W/\"53-r1gE0xIC+8fgNRuH768xfjuFcI8\"","Date","Wed, 21 May 2025 15:57:28 GMT","Connection","close"],"rawTrailers":[],"redirects":[],"req":"[Circular]","responseUrl":"http://localhost:10002/api/ask","socket":{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null},"statusCode":422,"statusMessage":"Unprocessable Entity","upgrade":false,"url":""},"reusedSocket":false,"sendDate":false,"shouldKeepAlive":false,"socket":{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null},"timeoutCb":null,"upgradeOrConnect":false,"useChunkedEncodingByDefault":true,"writable":true},"response":{"config":{"adapter":["xhr","http","fetch"],"data":"{\"question\":\"this is the question\",\"llm\":\"myllm\",\"model\":\"llmmodel\",\"llm_key\":\"example_api_key\",\"temperature\":0.7,\"max_tokens\":512}","env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Content-Length":"131","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:10002/api/ask","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"data":{"detail":[{"loc":["string",0],"msg":"this is the error message","type":"string"}]},"headers":{"connection":"close","content-length":"83","content-type":"application/json; charset=utf-8","date":"Wed, 21 May 2025 15:57:28 GMT","etag":"W/\"53-r1gE0xIC+8fgNRuH768xfjuFcI8\"","x-powered-by":"Express"},"request":{"_closed":false,"_contentLength":null,"_defaultKeepAlive":true,"_ended":true,"_events":{},"_eventsCount":7,"_hasBody":true,"_header":"POST /api/ask HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nUser-Agent: axios/1.7.7\r\nContent-Length: 131\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: localhost:10002\r\nConnection: close\r\n\r\n","_headerSent":true,"_keepAliveTimeout":0,"_last":true,"_redirectable":{"_currentRequest":"[Circular]","_currentUrl":"http://localhost:10002/api/ask","_ended":true,"_ending":true,"_events":{},"_eventsCount":3,"_options":{"agents":{},"beforeRedirects":{},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Content-Length":"131","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:10002:":[{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"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":"/api/ask","pathname":"/api/ask","port":"10002","protocol":"http:"},"_redirectCount":0,"_redirects":[],"_requestBodyBuffers":[],"_requestBodyLength":131,"_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}},"_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:10002:":[{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null}]},"totalSocketCount":1},"chunkedEncoding":false,"destroyed":false,"finished":true,"host":"localhost","maxHeadersCount":null,"maxRequestsOnConnectionReached":false,"method":"POST","outputData":[],"outputSize":0,"parser":null,"path":"/api/ask","protocol":"http:","res":{"_consuming":false,"_dumped":false,"_events":{"end":[null,null]},"_eventsCount":4,"_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":true,"closed":true,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":true,"emitClose":true,"emittedReadable":false,"encoding":null,"endEmitted":true,"ended":true,"errorEmitted":false,"errored":null,"flowing":true,"highWaterMark":16384,"length":0,"multiAwaitDrain":false,"needReadable":false,"objectMode":false,"pipes":[],"readableListening":false,"reading":false,"readingMore":true,"resumeScheduled":false,"sync":true},"aborted":false,"client":{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null},"complete":true,"httpVersion":"1.1","httpVersionMajor":1,"httpVersionMinor":1,"method":null,"rawHeaders":["X-Powered-By","Express","Content-Type","application/json; charset=utf-8","Content-Length","83","ETag","W/\"53-r1gE0xIC+8fgNRuH768xfjuFcI8\"","Date","Wed, 21 May 2025 15:57:28 GMT","Connection","close"],"rawTrailers":[],"redirects":[],"req":"[Circular]","responseUrl":"http://localhost:10002/api/ask","socket":{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null},"statusCode":422,"statusMessage":"Unprocessable Entity","upgrade":false,"url":""},"reusedSocket":false,"sendDate":false,"shouldKeepAlive":false,"socket":{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null},"timeoutCb":null,"upgradeOrConnect":false,"useChunkedEncodingByDefault":true,"writable":true},"status":422,"statusText":"Unprocessable Entity"},"stack":"AxiosError: Request failed with status code 422\n at settle (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/axios/dist/node/axios.cjs:2019:12)\n at IncomingMessage.handleStreamEnd (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/node_modules/axios/dist/node/axios.cjs:3135:11)\n at IncomingMessage.emit (node:events:525:35)\n at endReadableNT (node:internal/streams/readable:1358:12)\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)","status":422}
620
+ info: Starting tilebot server...
621
+ info: (Tilebot) Starting Tilebot..
622
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
623
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
624
+ info: (Tilebot) Log: true
625
+ info: (Tilebot) MAX_STEPS: 1000
626
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
627
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
628
+ info: (Tilebot) Using static bots
629
+ info: (Tilebot) Connecting Redis...
630
+ info: (Tilebot) Redis connected
631
+ info: (Tilebot) Tilebot started
632
+ info: Tilebot route successfully started.
633
+ info: Tilebot connector listening on port 10001
634
+ error: (DirAskGPT) Error: gptkey is mandatory
635
+ error: Axios error response data: {"error":"no knowledge base settings found"}
636
+ error: DirAskGPT Get kb settings error {"error":"no knowledge base settings found"}
637
+ error: (DirAskGPT) Error: gptkey is mandatory
638
+ error: (DirAskGPT) Error: question attribute is mandatory. Executing condition false...
639
+ error: (DirAskGPT) Error: kbid attribute is mandatory. Executing condition false...
640
+ info: Starting tilebot server...
641
+ info: (Tilebot) Starting Tilebot..
642
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
643
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
644
+ info: (Tilebot) Log: true
645
+ info: (Tilebot) MAX_STEPS: 1000
646
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
647
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
648
+ info: (Tilebot) Using static bots
649
+ info: (Tilebot) Connecting Redis...
650
+ info: (Tilebot) Redis connected
651
+ info: (Tilebot) Tilebot started
652
+ info: Tilebot route successfully started.
653
+ info: Tilebot connector listening on port 10001
654
+ 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}
655
+ error: DirAskGPTV2 error:
656
+ info: DirAskGPTV2 Error: gptkey is mandatory
657
+ error: Axios error response data: {"error":"no knowledge base settings found"}
658
+ error: DirAskGPTV2 Get kb settings error {"error":"no knowledge base settings found"}
659
+ info: DirAskGPTV2 Error: gptkey is mandatory
660
+ error: DirAskGPTV2 Error: question attribute is mandatory. Executing condition false...
661
+ info: Starting tilebot server...
662
+ info: (Tilebot) Starting Tilebot..
663
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
664
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
665
+ info: (Tilebot) Log: true
666
+ info: (Tilebot) MAX_STEPS: 1000
667
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
668
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
669
+ info: (Tilebot) Using static bots
670
+ info: (Tilebot) Connecting Redis...
671
+ info: (Tilebot) Redis connected
672
+ info: (Tilebot) Tilebot started
673
+ info: Tilebot route successfully started.
674
+ info: Tilebot connector listening on port
675
+ info: Starting tilebot server...
676
+ info: (Tilebot) Starting Tilebot..
677
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
678
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
679
+ info: (Tilebot) Log: true
680
+ info: (Tilebot) MAX_STEPS: 1000
681
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
682
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
683
+ info: (Tilebot) Using static bots
684
+ info: (Tilebot) Connecting Redis...
685
+ info: (Tilebot) Redis connected
686
+ info: (Tilebot) Tilebot started
687
+ info: Tilebot route successfully started.
688
+ info: Tilebot connector listening on port
689
+ info: Wait a little (~1s)...
690
+ info: Starting tilebot server...
691
+ info: (Tilebot) Starting Tilebot..
692
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
693
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
694
+ info: (Tilebot) Log: true
695
+ info: (Tilebot) MAX_STEPS: 1000
696
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
697
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
698
+ info: (Tilebot) Using static bots
699
+ info: (Tilebot) Connecting Redis...
700
+ info: (Tilebot) Redis connected
701
+ info: (Tilebot) Tilebot started
702
+ info: Tilebot route successfully started.
703
+ info: Tilebot connector listening on port
704
+ error: (TiledeskExpression) evaluateJavascriptExpression error: jsondata2 is not defined - while evaluating the following expression: '
705
+ console.log('a var...chatbot_name!', context.attributes.chatbot_name);
706
+ context.setAttribute('myvar', '1');
707
+ context.deleteAttribute('chatbot_name');
708
+ context.deleteAttribute('conversation_id');
709
+ context.attributes.jsondata2.c = 7;
710
+ context.setAttribute('jsondata2', jsondata2);
711
+ console.log("all vars:", context.allVars());
712
+ '
713
+ info: Starting tilebot server...
714
+ info: (Tilebot) Starting Tilebot..
715
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
716
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
717
+ info: (Tilebot) Log: true
718
+ info: (Tilebot) MAX_STEPS: 1000
719
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
720
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
721
+ info: (Tilebot) Using static bots
722
+ info: (Tilebot) Connecting Redis...
723
+ info: (Tilebot) Redis connected
724
+ info: (Tilebot) Tilebot started
725
+ info: Tilebot route successfully started.
726
+ info: Tilebot connector listening on port
727
+ info: Starting tilebot server...
728
+ info: (Tilebot) Starting Tilebot..
729
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
730
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
731
+ info: (Tilebot) Log: true
732
+ info: (Tilebot) MAX_STEPS: 1000
733
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
734
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
735
+ info: (Tilebot) Using static bots
736
+ info: (Tilebot) Connecting Redis...
737
+ info: (Tilebot) Redis connected
738
+ info: (Tilebot) Tilebot started
739
+ info: Tilebot route successfully started.
740
+ info: Tilebot connector listening on port
741
+ info: Starting tilebot server...
742
+ info: (Tilebot) Starting Tilebot..
743
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
744
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
745
+ info: (Tilebot) Log: true
746
+ info: (Tilebot) MAX_STEPS: 1000
747
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
748
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
749
+ info: (Tilebot) Using static bots
750
+ info: (Tilebot) Connecting Redis...
751
+ info: (Tilebot) Redis connected
752
+ info: (Tilebot) Tilebot started
753
+ info: Tilebot route successfully started.
754
+ info: Tilebot connector listening on port
755
+ error: Axios error response data: {"error":"Required parameters botid not found. Value is 'null' or 'undefined'","success":false}
756
+ error: Axios error response data: {"error":"Required parameters botid not found. Value is 'null' or 'undefined'","success":false}
757
+ info: Starting tilebot server...
758
+ info: (Tilebot) Starting Tilebot..
759
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
760
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
761
+ info: (Tilebot) Log: true
762
+ info: (Tilebot) MAX_STEPS: 1000
763
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
764
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
765
+ info: (Tilebot) Using static bots
766
+ info: (Tilebot) Connecting Redis...
767
+ info: (Tilebot) Redis connected
768
+ info: (Tilebot) Tilebot started
769
+ info: Tilebot route successfully started.
770
+ info: Tilebot connector listening on port
771
+ error: (TiledeskChatbot) An error occurred during exact match: Cannot read properties of undefined (reading '/start') {"stack":"TypeError: Cannot read properties of undefined (reading '/start')\n at MockBotsDataSource.getByExactMatch (/Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/engine/mock/MockBotsDataSource.js:41:71)\n at /Users/johnny/Documents/Tiledesk/tiledesk-chatbot/tybotRoute/engine/TiledeskChatbot.js:184:42\n at runMicrotasks (<anonymous>)\n at processTicksAndRejections (node:internal/process/task_queues:96:5)"}
772
+ error: (TiledeskChatbot) An error occurred on IntentsFinder.decode() (/model/parse error):this.intentsFinder.decode is not a function
773
+ info: Starting tilebot server...
774
+ info: (Tilebot) Starting Tilebot..
775
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
776
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
777
+ info: (Tilebot) Log: true
778
+ info: (Tilebot) MAX_STEPS: 1000
779
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
780
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
781
+ info: (Tilebot) Using static bots
782
+ info: (Tilebot) Connecting Redis...
783
+ info: (Tilebot) Redis connected
784
+ info: (Tilebot) Tilebot started
785
+ info: Tilebot route successfully started.
786
+ info: Tilebot connector listening on port
787
+ info: Adding log 'This is a log' with level info
788
+ info: Adding log 'This is a log: Hello from payload' with level info
789
+ info: Adding log 'This is a log: {"name":"John","age":30}' with level info
790
+ info: Starting tilebot server...
791
+ info: (Tilebot) Starting Tilebot..
792
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
793
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
794
+ info: (Tilebot) Log: true
795
+ info: (Tilebot) MAX_STEPS: 1000
796
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
797
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
798
+ info: (Tilebot) Using static bots
799
+ info: (Tilebot) Connecting Redis...
800
+ info: (Tilebot) Redis connected
801
+ info: (Tilebot) Tilebot started
802
+ info: Tilebot route successfully started.
803
+ info: Tilebot connector listening on port 10001
804
+ info: Starting tilebot server...
805
+ info: (Tilebot) Starting Tilebot..
806
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
807
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
808
+ info: (Tilebot) Log: true
809
+ info: (Tilebot) MAX_STEPS: 1000
810
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
811
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
812
+ info: (Tilebot) Using static bots
813
+ info: (Tilebot) Connecting Redis...
814
+ info: (Tilebot) Redis connected
815
+ info: (Tilebot) Tilebot started
816
+ info: Tilebot route successfully started.
817
+ info: Tilebot connector listening on port 10001
818
+ error: Axios error response data: {"error":{"code":null,"message":"you must provide a model parameter","param":null,"type":"invalid_request_error"}}
819
+ error: (DirGptTask) gptkey is mandatory
820
+ error: Axios error response data: Communication interrupted
821
+ error: Axios error response data: <!DOCTYPE html>
822
+ <html lang="en">
823
+ <head>
824
+ <meta charset="utf-8">
825
+ <title>Error</title>
826
+ </head>
827
+ <body>
828
+ <pre>Cannot GET /projectID/kbsettings</pre>
829
+ </body>
830
+ </html>
831
+
832
+ error: (DirGptTask) Get KnowledgeBase err:
833
+ error: (DirGptTask) gptkey is mandatory
834
+ info: Starting tilebot server...
835
+ info: (Tilebot) Starting Tilebot..
836
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
837
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
838
+ info: (Tilebot) Log: true
839
+ info: (Tilebot) MAX_STEPS: 1000
840
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
841
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
842
+ info: (Tilebot) Using static bots
843
+ info: (Tilebot) Connecting Redis...
844
+ info: (Tilebot) Redis connected
845
+ info: (Tilebot) Tilebot started
846
+ info: Tilebot route successfully started.
847
+ info: Tilebot connector listening on port 10001
848
+ error: (DirHubspot) err response: Contact already exists. Existing ID: 801 {"category":"CONFLICT","correlationId":"f426b0c0-1063-4aac-9859-f40108dcb09b","status":"error"}
849
+ error: (DirHubspot) err response: Authentication credentials not found. This API supports OAuth 2.0 authentication and you can find more details at https://developers.hubspot.com/docs/methods/auth/oauth-overview {"category":"INVALID_AUTHENTICATION","correlationId":"53dab600-5de9-4aa3-b631-b0f11f43e062","status":"error"}
850
+ error: (DirHubspot) err response: Property values were not valid: [{"isValid":false,"message":"Email address dsfsafas@ is invalid","error":"INVALID_EMAIL","name":"email"}] {"category":"VALIDATION_ERROR","correlationId":"e3d7ddf8-5d21-4059-86d0-35ae9093755c","status":"error"}
851
+ info: Starting tilebot server...
852
+ info: (Tilebot) Starting Tilebot..
853
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
854
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
855
+ info: (Tilebot) Log: true
856
+ info: (Tilebot) MAX_STEPS: 1000
857
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
858
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
859
+ info: (Tilebot) Using static bots
860
+ info: (Tilebot) Connecting Redis...
861
+ info: (Tilebot) Redis connected
862
+ info: (Tilebot) Tilebot started
863
+ info: Tilebot route successfully started.
864
+ info: Tilebot connector listening on port 10001
865
+ info: Starting tilebot server...
866
+ info: (Tilebot) Starting Tilebot..
867
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
868
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
869
+ info: (Tilebot) Log: true
870
+ info: (Tilebot) MAX_STEPS: 1000
871
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
872
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
873
+ info: (Tilebot) Using static bots
874
+ info: (Tilebot) Connecting Redis...
875
+ info: (Tilebot) Redis connected
876
+ info: (Tilebot) Tilebot started
877
+ info: Tilebot route successfully started.
878
+ info: Tilebot connector listening on port 10001
879
+ info: Starting tilebot server...
880
+ info: (Tilebot) Starting Tilebot..
881
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
882
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
883
+ info: (Tilebot) Log: true
884
+ info: (Tilebot) MAX_STEPS: 1000
885
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
886
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
887
+ info: (Tilebot) Using static bots
888
+ info: (Tilebot) Connecting Redis...
889
+ info: (Tilebot) Redis connected
890
+ info: (Tilebot) Tilebot started
891
+ info: Tilebot route successfully started.
892
+ info: Tilebot connector listening on port 10001
893
+ error: (DirMake) Error: webhook_url is undefined or null or empty string:
894
+ info: Starting tilebot server...
895
+ info: (Tilebot) Starting Tilebot..
896
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
897
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
898
+ info: (Tilebot) Log: true
899
+ info: (Tilebot) MAX_STEPS: 1000
900
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
901
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
902
+ info: (Tilebot) Using static bots
903
+ info: (Tilebot) Connecting Redis...
904
+ info: (Tilebot) Redis connected
905
+ info: (Tilebot) Tilebot started
906
+ info: Tilebot route successfully started.
907
+ info: Tilebot connector listening on port 10001
908
+ info: Starting tilebot server...
909
+ info: (Tilebot) Starting Tilebot..
910
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
911
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
912
+ info: (Tilebot) Log: true
913
+ info: (Tilebot) MAX_STEPS: 1000
914
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
915
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
916
+ info: (Tilebot) Using static bots
917
+ info: (Tilebot) Connecting Redis...
918
+ info: (Tilebot) Redis connected
919
+ info: (Tilebot) Tilebot started
920
+ info: Tilebot route successfully started.
921
+ info: Tilebot connector listening on port 10001
922
+ info: Starting tilebot server...
923
+ info: (Tilebot) Starting Tilebot..
924
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
925
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
926
+ info: (Tilebot) Log: true
927
+ info: (Tilebot) MAX_STEPS: 1000
928
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
929
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
930
+ info: (Tilebot) Using static bots
931
+ info: (Tilebot) Connecting Redis...
932
+ info: (Tilebot) Redis connected
933
+ info: (Tilebot) Tilebot started
934
+ info: Tilebot route successfully started.
935
+ info: Tilebot connector listening on port 10001
936
+ info: Starting tilebot server...
937
+ info: (Tilebot) Starting Tilebot..
938
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
939
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
940
+ info: (Tilebot) Log: true
941
+ info: (Tilebot) MAX_STEPS: 1000
942
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
943
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
944
+ info: (Tilebot) Using static bots
945
+ info: (Tilebot) Connecting Redis...
946
+ info: (Tilebot) Redis connected
947
+ info: (Tilebot) Tilebot started
948
+ info: Tilebot route successfully started.
949
+ info: Tilebot connector listening on port 10001
950
+ info: Starting tilebot server...
951
+ info: (Tilebot) Starting Tilebot..
952
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
953
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
954
+ info: (Tilebot) Log: true
955
+ info: (Tilebot) MAX_STEPS: 1000
956
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
957
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
958
+ info: (Tilebot) Using static bots
959
+ info: (Tilebot) Connecting Redis...
960
+ info: (Tilebot) Redis connected
961
+ info: (Tilebot) Tilebot started
962
+ info: Tilebot route successfully started.
963
+ info: Tilebot connector listening on port 10001
964
+ error: Axios error response data:
965
+ error: Axios error response data:
966
+ error: Axios error response: {"config":{"adapter":["xhr","http","fetch"],"env":{"Blob":null},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"JWT XXX","Content-Type":"application/json","User-Agent":"axios/1.7.7"},"maxBodyLength":-1,"maxContentLength":-1,"method":"get","timeout":0,"transformRequest":[null],"transformResponse":[null],"transitional":{"clarifyTimeoutError":false,"forcedJSONParsing":true,"silentJSONParsing":true},"url":"http://localhost:10002/projectID/integration/name/qapla","xsrfCookieName":"XSRF-TOKEN","xsrfHeaderName":"X-XSRF-TOKEN"},"data":"","headers":{"connection":"close","content-length":"0","date":"Wed, 21 May 2025 15:57:31 GMT","x-powered-by":"Express"},"request":{"_closed":false,"_contentLength":0,"_defaultKeepAlive":true,"_ended":true,"_events":{},"_eventsCount":7,"_hasBody":true,"_header":"GET /projectID/integration/name/qapla HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nContent-Type: application/json\r\nAuthorization: JWT XXX\r\nUser-Agent: axios/1.7.7\r\nAccept-Encoding: gzip, compress, deflate, br\r\nHost: localhost:10002\r\nConnection: close\r\n\r\n","_headerSent":true,"_keepAliveTimeout":0,"_last":true,"_redirectable":{"_currentRequest":"[Circular]","_currentUrl":"http://localhost:10002/projectID/integration/name/qapla","_ended":true,"_ending":true,"_events":{},"_eventsCount":3,"_options":{"agents":{},"beforeRedirects":{},"headers":{"Accept":"application/json, text/plain, */*","Accept-Encoding":"gzip, compress, deflate, br","Authorization":"JWT XXX","Content-Type":"application/json","User-Agent":"axios/1.7.7"},"hostname":"localhost","maxBodyLength":null,"maxRedirects":21,"method":"GET","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:10002:":[{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"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":"/projectID/integration/name/qapla","pathname":"/projectID/integration/name/qapla","port":"10002","protocol":"http:"},"_redirectCount":0,"_redirects":[],"_requestBodyBuffers":[],"_requestBodyLength":0,"_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}},"_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:10002:":[{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null}]},"totalSocketCount":1},"chunkedEncoding":false,"destroyed":false,"finished":true,"host":"localhost","maxHeadersCount":null,"maxRequestsOnConnectionReached":false,"method":"GET","outputData":[],"outputSize":0,"parser":null,"path":"/projectID/integration/name/qapla","protocol":"http:","res":{"_consuming":false,"_dumped":false,"_events":{"end":[null,null]},"_eventsCount":4,"_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":true,"emittedReadable":false,"encoding":null,"endEmitted":true,"ended":true,"errorEmitted":false,"errored":null,"flowing":true,"highWaterMark":16384,"length":0,"multiAwaitDrain":false,"needReadable":false,"objectMode":false,"pipes":[],"readableListening":false,"reading":false,"readingMore":true,"resumeScheduled":false,"sync":true},"aborted":false,"client":{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null},"complete":true,"httpVersion":"1.1","httpVersionMajor":1,"httpVersionMinor":1,"method":null,"rawHeaders":["X-Powered-By","Express","Date","Wed, 21 May 2025 15:57:31 GMT","Connection","close","Content-Length","0"],"rawTrailers":[],"redirects":[],"req":"[Circular]","responseUrl":"http://localhost:10002/projectID/integration/name/qapla","socket":{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null},"statusCode":404,"statusMessage":"Not Found","upgrade":false,"url":""},"reusedSocket":false,"sendDate":false,"shouldKeepAlive":false,"socket":{"_events":{"close":[null,null]},"_eventsCount":7,"_hadError":false,"_host":"localhost","_httpMessage":"[Circular]","_parent":null,"_pendingData":null,"_pendingEncoding":"","_readableState":{"autoDestroy":true,"awaitDrainWriters":null,"buffer":{"head":null,"length":0,"tail":null},"closeEmitted":false,"closed":false,"constructed":true,"dataEmitted":true,"decoder":null,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"emittedReadable":false,"encoding":null,"endEmitted":false,"ended":false,"errorEmitted":false,"errored":null,"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":false,"closed":false,"constructed":true,"corked":0,"decodeStrings":false,"defaultEncoding":"utf8","destroyed":false,"emitClose":false,"ended":true,"ending":true,"errorEmitted":false,"errored":null,"finalCalled":true,"finished":false,"highWaterMark":16384,"length":0,"needDrain":false,"objectMode":false,"pendingcb":1,"prefinished":false,"sync":false,"writecb":null,"writelen":0,"writing":false},"allowHalfOpen":false,"connecting":false,"parser":null,"server":null},"timeoutCb":null,"upgradeOrConnect":false,"useChunkedEncodingByDefault":false,"writable":true},"status":404,"statusText":"Not Found"}
967
+ info: (Tilebot) Starting Tilebot..
968
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
969
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
970
+ info: (Tilebot) Log: true
971
+ info: (Tilebot) MAX_STEPS: 1000
972
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
973
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
974
+ info: (Tilebot) Using static bots
975
+ info: (Tilebot) Connecting Redis...
976
+ info: (Tilebot) Redis connected
977
+ info: (Tilebot) Tilebot started
978
+ info: Starting tilebot server...
979
+ info: (Tilebot) Starting Tilebot..
980
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
981
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
982
+ info: (Tilebot) Log: true
983
+ info: (Tilebot) MAX_STEPS: 1000
984
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
985
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
986
+ info: (Tilebot) Using static bots
987
+ info: (Tilebot) Connecting Redis...
988
+ info: (Tilebot) Redis connected
989
+ info: (Tilebot) Tilebot started
990
+ info: Tilebot route successfully started.
991
+ info: Tilebot connector listening on port 10001
992
+ info: Starting tilebot server...
993
+ info: (Tilebot) Starting Tilebot..
994
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
995
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
996
+ info: (Tilebot) Log: true
997
+ info: (Tilebot) MAX_STEPS: 1000
998
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
999
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
1000
+ info: (Tilebot) Using static bots
1001
+ info: (Tilebot) Connecting Redis...
1002
+ info: (Tilebot) Redis connected
1003
+ info: (Tilebot) Tilebot started
1004
+ info: Tilebot route successfully started.
1005
+ info: Tilebot connector listening on port 10001
1006
+ info: Starting tilebot server...
1007
+ info: (Tilebot) Starting Tilebot..
1008
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
1009
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
1010
+ info: (Tilebot) Log: true
1011
+ info: (Tilebot) MAX_STEPS: 1000
1012
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
1013
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
1014
+ info: (Tilebot) Using static bots
1015
+ info: (Tilebot) Connecting Redis...
1016
+ info: (Tilebot) Redis connected
1017
+ info: (Tilebot) Tilebot started
1018
+ info: Tilebot route successfully started.
1019
+ info: Tilebot connector listening on port 10001
1020
+ info: Wait a little (~2s)...
1021
+ info: Wait a little (~3s)...
1022
+ info: Starting tilebot server...
1023
+ info: (Tilebot) Starting Tilebot..
1024
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
1025
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
1026
+ info: (Tilebot) Log: true
1027
+ info: (Tilebot) MAX_STEPS: 1000
1028
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
1029
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
1030
+ info: (Tilebot) Using static bots
1031
+ info: (Tilebot) Connecting Redis...
1032
+ info: (Tilebot) Redis connected
1033
+ info: (Tilebot) Tilebot started
1034
+ info: Tilebot route successfully started.
1035
+ info: Tilebot connector listening on port 10001
1036
+ info: Starting tilebot server...
1037
+ info: (Tilebot) Starting Tilebot..
1038
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
1039
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10002/modules/tilebot
1040
+ info: (Tilebot) Log: true
1041
+ info: (Tilebot) MAX_STEPS: 1000
1042
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
1043
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
1044
+ info: (Tilebot) Using static bots
1045
+ info: (Tilebot) Connecting Redis...
1046
+ info: (Tilebot) Redis connected
1047
+ info: (Tilebot) Tilebot started
1048
+ info: Tilebot route successfully started.
1049
+ info: Tilebot connector listening on port 10001
1050
+ info: Starting tilebot server...
1051
+ info: (Tilebot) Starting Tilebot..
1052
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
1053
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
1054
+ info: (Tilebot) Log: true
1055
+ info: (Tilebot) MAX_STEPS: 1000
1056
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
1057
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
1058
+ info: (Tilebot) Using static bots
1059
+ info: (Tilebot) Connecting Redis...
1060
+ info: (Tilebot) Redis connected
1061
+ info: (Tilebot) Tilebot started
1062
+ info: Tilebot route successfully started.
1063
+ info: Tilebot connector listening on port 10001
1064
+ info: Starting tilebot server...
1065
+ info: (Tilebot) Starting Tilebot..
1066
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
1067
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
1068
+ info: (Tilebot) Log: true
1069
+ info: (Tilebot) MAX_STEPS: 1000
1070
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
1071
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
1072
+ info: (Tilebot) Using static bots
1073
+ info: (Tilebot) Connecting Redis...
1074
+ info: (Tilebot) Redis connected
1075
+ info: (Tilebot) Tilebot started
1076
+ info: Tilebot route successfully started.
1077
+ info: Tilebot connector listening on port 10001
1078
+ error: (DirWebRequestv2) An error occurred:
1079
+ error: (DirWebRequestv2) An error occurred:
1080
+ error: DirWebRequestV2 Error parsing webRequest jsonBody: "{\"name\":myname,\"email\":\"myemail\"}"
1081
+ Error: {}
1082
+ info: Starting tilebot server...
1083
+ info: (Tilebot) Starting Tilebot..
1084
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
1085
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
1086
+ info: (Tilebot) Log: true
1087
+ info: (Tilebot) MAX_STEPS: 1000
1088
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
1089
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
1090
+ info: (Tilebot) Using static bots
1091
+ info: (Tilebot) Connecting Redis...
1092
+ info: (Tilebot) Redis connected
1093
+ info: (Tilebot) Tilebot started
1094
+ info: Tilebot route successfully started.
1095
+ info: Tilebot connector listening on port 10001
1096
+ info: Redis: value; value: 1
1097
+ info: Redis: value; value: Andrea
1098
+ info: Redis: value; value: Luis
1099
+ info: Redis: value; value: [object Object]
1100
+ info: Redis: value; value: [object Object]
1101
+ info: Redis: total; value: 4
1102
+ info: Redis: total; value: 4
1103
+ info: Redis: total; value: Francesco Latino Tiledesk
1104
+ info: Redis: summary; value: andrea sponziello tiledesk
1105
+ error: (DirSetAttribute) Invalid action: {"0":{"argument":"operands","instance":{"operators":["addAsNumber","subtractAsNumber","divideAsNumber","multiplyAsNumber"]},"message":"requires property \"operands\"","name":"required","path":["operation"],"property":"instance.operation","schema":{"additionalProperties":false,"properties":{"operands":{"items":{"additionalProperties":false,"if":{"properties":{"isVariable":{"const":true}}},"properties":{"function":{"enum":["capitalizeAsString","upperCaseAsString","lowerCaseAsString","absAsNumber","ceilAsNumber","floorAsNumber","roundAsNumber"],"type":"string"},"isVariable":{"type":"boolean"},"value":{"type":"string"}},"required":["value","isVariable"],"then":{"properties":{"value":{"pattern":"^[a-zA-Z_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"}}},"type":"object"},"minItems":1,"type":"array"},"operators":{"items":{"enum":["addAsNumber","addAsString","subtractAsNumber","multiplyAsNumber","divideAsNumber"],"type":"string"},"type":"array"}},"required":["operands"],"type":"object"},"stack":"instance.operation requires property \"operands\""}}
1106
+ error: (DirSetAttribute) Invalid action: {"0":{"argument":"_tdActionType","instance":{},"message":"requires property \"_tdActionType\"","name":"required","path":[],"property":"instance","schema":{"additionalProperties":false,"properties":{"_tdActionId":{"type":["string","null"]},"_tdActionTitle":{"type":["string","null"]},"_tdActionType":{"enum":["setattribute"],"type":"string"},"destination":{"type":"string"},"operation":{"additionalProperties":false,"properties":{"operands":{"items":{"additionalProperties":false,"if":{"properties":{"isVariable":{"const":true}}},"properties":{"function":{"enum":["capitalizeAsString","upperCaseAsString","lowerCaseAsString","absAsNumber","ceilAsNumber","floorAsNumber","roundAsNumber"],"type":"string"},"isVariable":{"type":"boolean"},"value":{"type":"string"}},"required":["value","isVariable"],"then":{"properties":{"value":{"pattern":"^[a-zA-Z_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"}}},"type":"object"},"minItems":1,"type":"array"},"operators":{"items":{"enum":["addAsNumber","addAsString","subtractAsNumber","multiplyAsNumber","divideAsNumber"],"type":"string"},"type":"array"}},"required":["operands"],"type":"object"}},"required":["_tdActionType","destination","operation"],"type":"object"},"stack":"instance requires property \"_tdActionType\""},"1":{"argument":"destination","instance":{},"message":"requires property \"destination\"","name":"required","path":[],"property":"instance","schema":{"additionalProperties":false,"properties":{"_tdActionId":{"type":["string","null"]},"_tdActionTitle":{"type":["string","null"]},"_tdActionType":{"enum":["setattribute"],"type":"string"},"destination":{"type":"string"},"operation":{"additionalProperties":false,"properties":{"operands":{"items":{"additionalProperties":false,"if":{"properties":{"isVariable":{"const":true}}},"properties":{"function":{"enum":["capitalizeAsString","upperCaseAsString","lowerCaseAsString","absAsNumber","ceilAsNumber","floorAsNumber","roundAsNumber"],"type":"string"},"isVariable":{"type":"boolean"},"value":{"type":"string"}},"required":["value","isVariable"],"then":{"properties":{"value":{"pattern":"^[a-zA-Z_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"}}},"type":"object"},"minItems":1,"type":"array"},"operators":{"items":{"enum":["addAsNumber","addAsString","subtractAsNumber","multiplyAsNumber","divideAsNumber"],"type":"string"},"type":"array"}},"required":["operands"],"type":"object"}},"required":["_tdActionType","destination","operation"],"type":"object"},"stack":"instance requires property \"destination\""},"2":{"argument":"operation","instance":{},"message":"requires property \"operation\"","name":"required","path":[],"property":"instance","schema":{"additionalProperties":false,"properties":{"_tdActionId":{"type":["string","null"]},"_tdActionTitle":{"type":["string","null"]},"_tdActionType":{"enum":["setattribute"],"type":"string"},"destination":{"type":"string"},"operation":{"additionalProperties":false,"properties":{"operands":{"items":{"additionalProperties":false,"if":{"properties":{"isVariable":{"const":true}}},"properties":{"function":{"enum":["capitalizeAsString","upperCaseAsString","lowerCaseAsString","absAsNumber","ceilAsNumber","floorAsNumber","roundAsNumber"],"type":"string"},"isVariable":{"type":"boolean"},"value":{"type":"string"}},"required":["value","isVariable"],"then":{"properties":{"value":{"pattern":"^[a-zA-Z_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"}}},"type":"object"},"minItems":1,"type":"array"},"operators":{"items":{"enum":["addAsNumber","addAsString","subtractAsNumber","multiplyAsNumber","divideAsNumber"],"type":"string"},"type":"array"}},"required":["operands"],"type":"object"}},"required":["_tdActionType","destination","operation"],"type":"object"},"stack":"instance requires property \"operation\""}}
1107
+ error: (DirSetAttribute) Invalid action: operators === undefined && operands.length !== 1
1108
+ error: (DirSetAttribute) Invalid action: operators.length !== operands.length - 1
1109
+ error: (DirSetAttribute) Invalid action: {"0":{"argument":"^[a-zA-Z_]*[a-zA-Z_]+[a-zA-Z0-9_]*$","instance":"inject(here);","message":"does not match pattern \"^[a-zA-Z_]*[a-zA-Z_]+[a-zA-Z0-9_]*$\"","name":"pattern","path":["operation","operands",0,"value"],"property":"instance.operation.operands[0].value","schema":{"pattern":"^[a-zA-Z_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"},"stack":"instance.operation.operands[0].value does not match pattern \"^[a-zA-Z_]*[a-zA-Z_]+[a-zA-Z0-9_]*$\""}}
1110
+ error: (DirSetAttribute) Invalid action: {"0":{"argument":"^[a-zA-Z_]*[a-zA-Z_]+[a-zA-Z0-9_]*$","instance":"inject(here);","message":"does not match pattern \"^[a-zA-Z_]*[a-zA-Z_]+[a-zA-Z0-9_]*$\"","name":"pattern","path":["operation","operands",1,"value"],"property":"instance.operation.operands[1].value","schema":{"pattern":"^[a-zA-Z_]*[a-zA-Z_]+[a-zA-Z0-9_]*$"},"stack":"instance.operation.operands[1].value does not match pattern \"^[a-zA-Z_]*[a-zA-Z_]+[a-zA-Z0-9_]*$\""}}
1111
+ warn: DirIfOnlineAgents Incorrect directive:
1112
+ warn: DirIfOnlineAgents Incorrect directive:
1113
+ info: Starting tilebot server...
1114
+ info: (Tilebot) Starting Tilebot..
1115
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
1116
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
1117
+ info: (Tilebot) Log: true
1118
+ info: (Tilebot) MAX_STEPS: 1000
1119
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
1120
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
1121
+ info: (Tilebot) Using static bots
1122
+ info: (Tilebot) Connecting Redis...
1123
+ info: (Tilebot) Redis connected
1124
+ info: (Tilebot) Tilebot started
1125
+ info: Tilebot route successfully started.
1126
+ info: Tilebot connector listening on port 10001
1127
+ info: Starting tilebot server...
1128
+ info: (Tilebot) Starting Tilebot..
1129
+ info: (Tilebot) settings.API_ENDPOINT:http://localhost:10002
1130
+ info: (Tilebot) settings.TILEBOT_ENDPOINT:http://localhost:10001
1131
+ info: (Tilebot) Log: true
1132
+ info: (Tilebot) MAX_STEPS: 1000
1133
+ info: (Tilebot) MAX_EXECUTION_TIME: 28800000
1134
+ info: (Tilebot) Starting Tilebot connector v2.0.12-rc5
1135
+ info: (Tilebot) Using static bots
1136
+ info: (Tilebot) Connecting Redis...
1137
+ info: (Tilebot) Redis connected
1138
+ info: (Tilebot) Tilebot started
1139
+ info: Tilebot route successfully started.
1140
+ info: Tilebot connector listening on port 10001
1141
+ error: (TiledeskExpression) evaluateJavascriptExpression error: Unexpected token ']' - while evaluating the following expression: '$data.andrea[].{ === undefined'
1142
+ error: (TiledeskExpression) evaluateJavascriptExpression error: Unexpected token ']' - while evaluating the following expression: 'Number($data.varName) === Number($data.var[].{)'
1143
+ error: (TiledeskExpression) evaluateJavascriptExpression error: missing ) after argument list - while evaluating the following expression: 'Number($data.age()...[) < Number("10")'
1144
+ error: (TiledeskExpression)Condition evaluation stopped because of invalid operand2 [object Object]
1145
+ error: (TiledeskExpression) Condition evaluation stopped because of invalid operand1 11height
1146
+ 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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "2.0.12-rc4",
3
+ "version": "2.0.12-rc5",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -793,7 +793,7 @@ class TiledeskChatbotUtil {
793
793
  }
794
794
  } else if (requestId.startsWith("automation-request-")) {
795
795
  const parts = requestId.split("-");
796
- if (parts.length === 4) {
796
+ if (parts.length === 4 || parts.length === 5) {
797
797
  isValid = (parts[0] === "automation" && parts[1] === "request" && parts[2] === projectId && parts[3].length > 0);
798
798
  }
799
799
  else {