Local Docker Agent Error

When I ask a new Agent (even from template) what can it do, I get an error..
The docker logs are ..

Everything in docker is running…

Version..

Welcome to the community, @tonycasey! Thanks for reaching out. :slightly_smiling_face: Have you implemented any other AI features or would this be your first? It's possible that you just need to set a key - either you're own or one managed by Retool - but the logs you've shared aren't clear about that.

Hi Darren,

I have upgraded to the latest version 3.284.6-stable and the issue still happens.

Here is a backend log …

{"err":{"message":"this.parentLogger.debug is not a function","stack":"TypeError: this.parentLogger.debug is not a function\n at LoggerWithMetadata.debug (/retool_backend/node_modules/.pnpm/@temporalio+worker@1.11.6_@swc+helpers@0.5.3_metro@0.80.9_encoding@0.1.13_metro-minify-terser@0.80.9_/node_modules/@temporalio/worker/lib/logger.js:130:27)\n at Object.fn (/retool_backend/node_modules/.pnpm/@temporalio+worker@1.11.6_@swc+helpers@0.5.3_metro@0.80.9_encoding@0.1.13_metro-minify-terser@0.80.9_/node_modules/@temporalio/worker/lib/workflow/logger.js:20:28)\n at /retool_backend/node_modules/.pnpm/@temporalio+worker@1.11.6_@swc+helpers@0.5.3_metro@0.80.9_encoding@0.1.13_metro-minify-terser@0.80.9_/node_modules/@temporalio/worker/lib/worker.js:899:29\n at Array.map ()\n at Worker.processSinkCalls (/retool_backend/node_modules/.pnpm/@temporalio+worker@1.11.6_@swc+helpers@0.5.3_metro@0.80.9_encoding@0.1.13_metro-minify-terser@0.80.9_/node_modules/@temporalio/worker/lib/worker.js:897:41)\n at Worker.handleActivation (/retool_backend/node_modules/.pnpm/@temporalio+worker@1.11.6_@swc+helpers@0.5.3_metro@0.80.9_encoding@0.1.13_metro-minify-terser@0.80.9_/node_modules/@temporalio/worker/lib/worker.js:778:32)"},"fnName":"debug","ifaceName":"__temporal_logger","label":"worker","level":"error","message":"External sink function threw an error","namespace":"workflows","runId":"b407ce66-a8bd-420d-b380-b2b4fb77d6ff","sdkComponent":"worker","taskQueue":"agent","timestamp":1763678571361,"workflowId":"agent-chat-agent-execution-161f5992-18fc-4854-9dda-a9e752d670a7-ae54995f-1c7b-46ff-b9e0-47a02fb48a1d","workflowInfo":{"attempt":1,"continueAsNewSuggested":false,"currentBuildId":"@temporalio/worker@1.11.6+28263cdb5f8ded30576e4373bf093db8dddd9200489730158d4c158c11f8f5b0","executionExpirationTime":"2025-11-22T04:42:51.270Z","executionTimeoutMs":108000000,"firstExecutionRunId":"b407ce66-a8bd-420d-b380-b2b4fb77d6ff","historyLength":3,"historySize":0,"memo":{},"namespace":"workflows","runId":"b407ce66-a8bd-420d-b380-b2b4fb77d6ff","runStartTime":"2025-11-20T22:42:51.281Z","runTimeoutMs":108000000,"searchAttributes":{},"startTime":"2025-11-20T22:42:51.270Z","taskQueue":"agent","taskTimeoutMs":10000,"unsafe":{"isReplaying":false},"workflowId":"agent-chat-agent-execution-161f5992-18fc-4854-9dda-a9e752d670a7-ae54995f-1c7b-46ff-b9e0-47a02fb48a1d","workflowType":"RunWorkflowOnpremV3"},"workflowType":"RunWorkflowOnpremV3"}
2025-11-20T22:42:51.383341375Z {"activityId":"1","activityType":"setWorkflowRunInProgressV2","attempt":1,"isLocal":false,"label":"activity","level":"info","message":"Activity started (Attempt 1) - setWorkflowRunInProgressV2","namespace":"workflows","organizationId":1,"pid":11,"requestId":"b93b60e6-84c8-42c9-b1a0-de2d8942404d","taskQueue":"agent","taskToken":"CiQ0ZWY5MmViMy02NzQ0LTRiZDMtYTQ0Ny00NTFiMDlmMjM2MjASZGFnZW50LWNoYXQtYWdlbnQtZXhlY3V0aW9uLTE2MWY1OTkyLTE4ZmMtNDg1NC05ZGRhLWE5ZTc1MmQ2NzBhNy1hZTU0OTk1Zi0xYzdiLTQ2ZmYtYjllMC00N2EwMmZiNDhhMWQaJGI0MDdjZTY2LWE4YmQtNDIwZC1iMzgwLWIyYjRmYjc3ZDZmZiAFKAEyATFCGnNldFdvcmtmbG93UnVuSW5Qcm9ncmVzc1YySgkIARCVgIAEGAE=","temporalWorkflowId":"agent-chat-agent-execution-161f5992-18fc-4854-9dda-a9e752d670a7-ae54995f-1c7b-46ff-b9e0-47a02fb48a1d","temporalWorkflowRunId":"b407ce66-a8bd-420d-b380-b2b4fb77d6ff","timestamp":"2025-11-20T22:42:51.382Z","workflowId":"161f5992-18fc-4854-9dda-a9e752d670a7","workflowRunId":"ae54995f-1c7b-46ff-b9e0-47a02fb48a1d","workflowType":"RunWorkflowOnpremV3"}
2025-11-20T22:42:51.399139926Z {"activityId":"1","activityType":"setWorkflowRunInProgressV2","attempt":1,"durationMs":15,"isLocal":false,"label":"activity","level":"info","message":"Activity completed (Attempt 1) - setWorkflowRunInProgressV2","namespace":"workflows","organizationId":1,"pid":11,"requestId":"b93b60e6-84c8-42c9-b1a0-de2d8942404d","sequelizeConnectionCount":1,"sequelizeCount":4,"taskQueue":"agent","taskToken":"CiQ0ZWY5MmViMy02NzQ0LTRiZDMtYTQ0Ny00NTFiMDlmMjM2MjASZGFnZW50LWNoYXQtYWdlbnQtZXhlY3V0aW9uLTE2MWY1OTkyLTE4ZmMtNDg1NC05ZGRhLWE5ZTc1MmQ2NzBhNy1hZTU0OTk1Zi0xYzdiLTQ2ZmYtYjllMC00N2EwMmZiNDhhMWQaJGI0MDdjZTY2LWE4YmQtNDIwZC1iMzgwLWIyYjRmYjc3ZDZmZiAFKAEyATFCGnNldFdvcmtmbG93UnVuSW5Qcm9ncmVzc1YySgkIARCVgIAEGAE=","temporalWorkflowId":"agent-chat-agent-execution-161f5992-18fc-4854-9dda-a9e752d670a7-ae54995f-1c7b-46ff-b9e0-47a02fb48a1d","temporalWorkflowRunId":"b407ce66-a8bd-420d-b380-b2b4fb77d6ff","timestamp":"2025-11-20T22:42:51.398Z","workflowId":"161f5992-18fc-4854-9dda-a9e752d670a7","workflowRunId":"ae54995f-1c7b-46ff-b9e0-47a02fb48a1d","workflowType":"RunWorkflowOnpremV3"}
2025-11-20T22:42:51.441911075Z {"activityId":"2","activityType":"generateExecutionPlan","attempt":1,"isLocal":false,"label":"activity","level":"info","message":"Activity started (Attempt 1) - generateExecutionPlan","namespace":"workflows","pid":11,"requestId":"d04da62d-491a-4330-832c-ef4ce9b3622b","taskQueue":"agent","taskToken":"CiQ0ZWY5MmViMy02NzQ0LTRiZDMtYTQ0Ny00NTFiMDlmMjM2MjASZGFnZW50LWNoYXQtYWdlbnQtZXhlY3V0aW9uLTE2MWY1OTkyLTE4ZmMtNDg1NC05ZGRhLWE5ZTc1MmQ2NzBhNy1hZTU0OTk1Zi0xYzdiLTQ2ZmYtYjllMC00N2EwMmZiNDhhMWQaJGI0MDdjZTY2LWE4YmQtNDIwZC1iMzgwLWIyYjRmYjc3ZDZmZiAMKAEyATJCFWdlbmVyYXRlRXhlY3V0aW9uUGxhbkoJCAEQpYCABBgB","temporalWorkflowId":"agent-chat-agent-execution-161f5992-18fc-4854-9dda-a9e752d670a7-ae54995f-1c7b-46ff-b9e0-47a02fb48a1d","temporalWorkflowRunId":"b407ce66-a8bd-420d-b380-b2b4fb77d6ff","timestamp":"2025-11-20T22:42:51.441Z","workflowId":"161f5992-18fc-4854-9dda-a9e752d670a7","workflowRunId":"ae54995f-1c7b-46ff-b9e0-47a02fb48a1d","workflowType":"RunWorkflowOnpremV3"}
2025-11-20T22:42:51.454768015Z {"activityId":"2","activityType":"generateExecutionPlan","attempt":1,"durationMs":12,"isLocal":false,"label":"activity","level":"info","message":"Activity completed (Attempt 1) - generateExecutionPlan","namespace":"workflows","pid":11,"requestId":"d04da62d-491a-4330-832c-ef4ce9b3622b","sequelizeConnectionCount":1,"sequelizeCount":2,"taskQueue":"agent","taskToken":"CiQ0ZWY5MmViMy02NzQ0LTRiZDMtYTQ0Ny00NTFiMDlmMjM2MjASZGFnZW50LWNoYXQtYWdlbnQtZXhlY3V0aW9uLTE2MWY1OTkyLTE4ZmMtNDg1NC05ZGRhLWE5ZTc1MmQ2NzBhNy1hZTU0OTk1Zi0xYzdiLTQ2ZmYtYjllMC00N2EwMmZiNDhhMWQaJGI0MDdjZTY2LWE4YmQtNDIwZC1iMzgwLWIyYjRmYjc3ZDZmZiAMKAEyATJCFWdlbmVyYXRlRXhlY3V0aW9uUGxhbkoJCAEQpYCABBgB","temporalWorkflowId":"agent-chat-agent-execution-161f5992-18fc-4854-9dda-a9e752d670a7-ae54995f-1c7b-46ff-b9e0-47a02fb48a1d","temporalWorkflowRunId":"b407ce66-a8bd-420d-b380-b2b4fb77d6ff","timestamp":"2025-11-20T22:42:51.454Z","workflowId":"161f5992-18fc-4854-9dda-a9e752d670a7","workflowRunId":"ae54995f-1c7b-46ff-b9e0-47a02fb48a1d","workflowType":"RunWorkflowOnpremV3"}
2025-11-20T22:42:51.455204353Z (node:11) [DEP0106] DeprecationWarning: crypto.createDecipher is deprecated.

I have set my own OpenAI & Anthropic API Keys…

The following Retool_AI Query works fine….

But once I create a new basic agent..

Say hello…

{"level":"info","message":{"http":{"method":"POST","url_path":"http://code-executor:3004/api/runMultipleBlocks"},"type":"CLIENT_REQUEST"},"pid":11,"requestId":"a5314e70-7a06-46d6-a83d-29d187391a9f","sequelizeConnectionCount":1,"sequelizeCount":9,"timestamp":"2025-11-20T23:26:19.826Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowType":"agent"}
2025-11-20T23:26:23.669844218Z {"level":"info","message":{"http":{"method":"POST","request":{"time":3.843254343000008},"url_path":"http://code-executor:3004/api/runMultipleBlocks"},"status":200,"type":"CLIENT_FINISH"},"pid":11,"requestId":"a5314e70-7a06-46d6-a83d-29d187391a9f","sequelizeConnectionCount":1,"sequelizeCount":9,"timestamp":"2025-11-20T23:26:23.669Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowType":"agent"}
2025-11-20T23:26:23.670726116Z {"activityId":"3","activityType":"runBlocksMinimalPayloadVm2","attempt":1,"durationMs":3860,"isLocal":false,"label":"activity","level":"info","message":"Activity completed (Attempt 1) - runBlocksMinimalPayloadVm2","namespace":"workflows","pid":11,"requestId":"a5314e70-7a06-46d6-a83d-29d187391a9f","sequelizeConnectionCount":1,"sequelizeCount":9,"taskQueue":"agent","taskToken":"CiQ0ZWY5MmViMy02NzQ0LTRiZDMtYTQ0Ny00NTFiMDlmMjM2MjASZGFnZW50LWNoYXQtYWdlbnQtZXhlY3V0aW9uLWIyY2FhNWVhLTlkOGEtNGRhMy1hNGUxLWY3MWJhNWZiMTgxMC0wMTlhYTM5Ny0xODA5LTcyMWYtYjM0OC1iZTI2NWVmOTQ3ZmMaJGExNTE0NDZkLWRkNzItNDU4Mi04OWIzLWQzYzQ3OTU1MjIwOSASKAEyATNCGnJ1bkJsb2Nrc01pbmltYWxQYXlsb2FkVm0ySgkIAhCNhcAEGAE=","temporalWorkflowId":"agent-chat-agent-execution-b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810-019aa397-1809-721f-b348-be265ef947fc","temporalWorkflowRunId":"a151446d-dd72-4582-89b3-d3c479552209","timestamp":"2025-11-20T23:26:23.670Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowType":"RunWorkflowOnpremV3"}
2025-11-20T23:26:23.697486183Z {"activityId":"4","activityType":"finalizeWorkflowRunV2","attempt":1,"isLocal":false,"label":"activity","level":"info","message":"Activity started (Attempt 1) - finalizeWorkflowRunV2","namespace":"workflows","organizationId":1,"pid":11,"requestId":"729ff883-9ac9-402e-bf73-c7111a3d5c12","taskQueue":"agent","taskToken":"CiQ0ZWY5MmViMy02NzQ0LTRiZDMtYTQ0Ny00NTFiMDlmMjM2MjASZGFnZW50LWNoYXQtYWdlbnQtZXhlY3V0aW9uLWIyY2FhNWVhLTlkOGEtNGRhMy1hNGUxLWY3MWJhNWZiMTgxMC0wMTlhYTM5Ny0xODA5LTcyMWYtYjM0OC1iZTI2NWVmOTQ3ZmMaJGExNTE0NDZkLWRkNzItNDU4Mi04OWIzLWQzYzQ3OTU1MjIwOSAYKAEyATRCFWZpbmFsaXplV29ya2Zsb3dSdW5WMkoJCAIQnoXABBgB","temporalWorkflowId":"agent-chat-agent-execution-b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810-019aa397-1809-721f-b348-be265ef947fc","temporalWorkflowRunId":"a151446d-dd72-4582-89b3-d3c479552209","timestamp":"2025-11-20T23:26:23.697Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowType":"RunWorkflowOnpremV3"}
2025-11-20T23:26:23.701030231Z [RETOOL INTERNAL ONLY - LOG] {"context":{"versionNumber":"3.284.6"},"event":"Agent Span","level":"info","message":"[agents][spans] Operation AGENT_END completed successfully","organizationId":1,"pid":11,"properties":{"agentId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","agentRunId":"019aa397-1809-721f-b348-be265ef947fc","content":{"reason":"error"},"isOnPrem":false,"iteration":0,"orgSid":"org_61e76b37d9594da6a3248a1f2321cf87","parentRunId":"019aa397-1809-721f-b348-be265ef947fc","rootRunId":"019aa397-1809-721f-b348-be265ef947fc","spanType":"AGENT_END","timestamp":1763681183700},"requestId":"729ff883-9ac9-402e-bf73-c7111a3d5c12","sequelizeConnectionCount":1,"sequelizeCount":2,"sid":"org_61e76b37d9594da6a3248a1f2321cf87","timestamp":"2025-11-20T23:26:23.700Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc"} [RETOOL INTERNAL ONLY - LOG END]
2025-11-20T23:26:23.701073284Z [RETOOL INTERNAL ONLY - LOG] {"level":"info","message":{"http":{"method":"POST","url_path":"https://p.tryretool.com/v2/agents"},"type":"CLIENT_REQUEST"},"organizationId":1,"pid":11,"requestId":"729ff883-9ac9-402e-bf73-c7111a3d5c12","sequelizeConnectionCount":1,"sequelizeCount":2,"timestamp":"2025-11-20T23:26:23.700Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc"} [RETOOL INTERNAL ONLY - LOG END]
2025-11-20T23:26:23.707548391Z {"activityId":"4","activityType":"finalizeWorkflowRunV2","attempt":1,"durationMs":10,"isLocal":false,"label":"activity","level":"info","message":"Activity completed (Attempt 1) - finalizeWorkflowRunV2","namespace":"workflows","organizationId":1,"pid":11,"requestId":"729ff883-9ac9-402e-bf73-c7111a3d5c12","sequelizeConnectionCount":1,"sequelizeCount":4,"taskQueue":"agent","taskToken":"CiQ0ZWY5MmViMy02NzQ0LTRiZDMtYTQ0Ny00NTFiMDlmMjM2MjASZGFnZW50LWNoYXQtYWdlbnQtZXhlY3V0aW9uLWIyY2FhNWVhLTlkOGEtNGRhMy1hNGUxLWY3MWJhNWZiMTgxMC0wMTlhYTM5Ny0xODA5LTcyMWYtYjM0OC1iZTI2NWVmOTQ3ZmMaJGExNTE0NDZkLWRkNzItNDU4Mi04OWIzLWQzYzQ3OTU1MjIwOSAYKAEyATRCFWZpbmFsaXplV29ya2Zsb3dSdW5WMkoJCAIQnoXABBgB","temporalWorkflowId":"agent-chat-agent-execution-b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810-019aa397-1809-721f-b348-be265ef947fc","temporalWorkflowRunId":"a151446d-dd72-4582-89b3-d3c479552209","timestamp":"2025-11-20T23:26:23.707Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowType":"RunWorkflowOnpremV3"}
2025-11-20T23:26:23.771920575Z {"activityId":"1","activityType":"updateWorkflowUsageAggregateV2","attempt":1,"isLocal":false,"label":"activity","level":"info","message":"Activity started (Attempt 1) - updateWorkflowUsageAggregateV2","namespace":"workflows","pid":11,"requestId":"c76591dd-eae1-45dd-a25b-4eeb18e97b00","taskQueue":"agent","taskToken":"CiQ0ZWY5MmViMy02NzQ0LTRiZDMtYTQ0Ny00NTFiMDlmMjM2MjASPWFmdGVyLXdvcmtmbG93LWV4ZWN1dGlvbi0wMTlhYTM5Ny0xODA5LTcyMWYtYjM0OC1iZTI2NWVmOTQ3ZmMaJDdkZGRiZDQzLTA4OTItNDBhZC04YjhjLWI4NTY4OWJjNTg0ZCAFKAEyATFCHnVwZGF0ZVdvcmtmbG93VXNhZ2VBZ2dyZWdhdGVWMkoJCAIQzYXABBgB","temporalWorkflowId":"after-workflow-execution-019aa397-1809-721f-b348-be265ef947fc","temporalWorkflowRunId":"7dddbd43-0892-40ad-8b8c-b85689bc584d","timestamp":"2025-11-20T23:26:23.771Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowType":"ExecuteAfterWorkflowTasksV2"}
2025-11-20T23:26:23.781415850Z {"activityId":"1","activityType":"updateWorkflowUsageAggregateV2","attempt":1,"durationMs":9,"isLocal":false,"label":"activity","level":"info","message":"Activity completed (Attempt 1) - updateWorkflowUsageAggregateV2","namespace":"workflows","pid":11,"requestId":"c76591dd-eae1-45dd-a25b-4eeb18e97b00","sequelizeConnectionCount":1,"sequelizeCount":8,"taskQueue":"agent","taskToken":"CiQ0ZWY5MmViMy02NzQ0LTRiZDMtYTQ0Ny00NTFiMDlmMjM2MjASPWFmdGVyLXdvcmtmbG93LWV4ZWN1dGlvbi0wMTlhYTM5Ny0xODA5LTcyMWYtYjM0OC1iZTI2NWVmOTQ3ZmMaJDdkZGRiZDQzLTA4OTItNDBhZC04YjhjLWI4NTY4OWJjNTg0ZCAFKAEyATFCHnVwZGF0ZVdvcmtmbG93VXNhZ2VBZ2dyZWdhdGVWMkoJCAIQzYXABBgB","temporalWorkflowId":"after-workflow-execution-019aa397-1809-721f-b348-be265ef947fc","temporalWorkflowRunId":"7dddbd43-0892-40ad-8b8c-b85689bc584d","timestamp":"2025-11-20T23:26:23.781Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowType":"ExecuteAfterWorkflowTasksV2"}
2025-11-20T23:26:23.805136446Z {"activityId":"2","activityType":"emitWorkflowExecutionEventsV2","attempt":1,"isLocal":false,"label":"activity","level":"info","message":"Activity started (Attempt 1) - emitWorkflowExecutionEventsV2","namespace":"workflows","pid":11,"requestId":"e6a6b737-28e8-412e-a899-f872a3f8871c","taskQueue":"agent","taskToken":"CiQ0ZWY5MmViMy02NzQ0LTRiZDMtYTQ0Ny00NTFiMDlmMjM2MjASPWFmdGVyLXdvcmtmbG93LWV4ZWN1dGlvbi0wMTlhYTM5Ny0xODA5LTcyMWYtYjM0OC1iZTI2NWVmOTQ3ZmMaJDdkZGRiZDQzLTA4OTItNDBhZC04YjhjLWI4NTY4OWJjNTg0ZCALKAEyATJCHWVtaXRXb3JrZmxvd0V4ZWN1dGlvbkV2ZW50c1YySgkIAhDehcAEGAE=","temporalWorkflowId":"after-workflow-execution-019aa397-1809-721f-b348-be265ef947fc","temporalWorkflowRunId":"7dddbd43-0892-40ad-8b8c-b85689bc584d","timestamp":"2025-11-20T23:26:23.804Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowType":"ExecuteAfterWorkflowTasksV2"}
2025-11-20T23:26:23.810597452Z {"level":"info","message":"[Workflow migration] setting workflow version from 3.303.0 to 3.303.0","organizationId":1,"pid":11,"requestId":"e6a6b737-28e8-412e-a899-f872a3f8871c","sequelizeConnectionCount":1,"sequelizeCount":5,"timestamp":"2025-11-20T23:26:23.810Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowSaveId":"617d79ac-c9f1-4afc-8488-f4d94875cedd","workflowType":"agent"}
2025-11-20T23:26:23.819508396Z {"level":"info","message":"[getLatestAgentPriceFromDB] tableLatestUpdatedAt","pid":11,"requestId":"e6a6b737-28e8-412e-a899-f872a3f8871c","sequelizeConnectionCount":1,"sequelizeCount":11,"tableLatestUpdatedAt":"2025-11-20T23:01:29.970Z","timestamp":"2025-11-20T23:26:23.819Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowType":"agent"}
2025-11-20T23:26:23.826794372Z {"action":"agent_execution_finished","agentId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","agentModelProviderMetadata":{"actualModel":"gpt-4.1","actualProviderName":"openAI","templateModel":"gpt-4.1","templateProviderId":"retoolAIBuiltIn::openAI","templateProviderName":"openAI"},"agentRunId":"019aa397-1809-721f-b348-be265ef947fc","agent_namespace":"agents","agentsPriceTableLatestPriceStartDate":"2025-11-13T00:00:00.000Z","agentsPriceTableLatestUpdatedAt":"2025-11-20T23:01:29.970Z","category":"workflow","completedAt":"2025-11-20T23:26:23.697Z","completionTokens":"[REDACTED]","createdAt":"2025-11-20T23:26:19.657Z","dollarCost":0.0055143300000000004,"durationMs":3970,"err":{"message":"Workflow status is FAILURE","stack":"Error: Workflow status is FAILURE\n    at Ts7 (/retool_backend/bundle/main.js:5052:4208)\n    at Y_e (/retool_backend/bundle/main.js:5052:5239)\n    at /retool_backend/bundle/main.js:11675:6444\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Pel.execute (/retool_backend/bundle/main.js:11656:18364)\n    at async t0l.execute (/retool_backend/bundle/main.js:11724:9499)\n    at async Activity.execute (/retool_backend/node_modules/.pnpm/@temporalio+worker@1.11.6_@swc+helpers@0.5.3_metro@0.80.9_encoding@0.1.13_metro-minify-terser@0.80.9_/node_modules/@temporalio/worker/lib/activity.js:64:20)\n    at async /retool_backend/node_modules/.pnpm/@temporalio+worker@1.11.6_@swc+helpers@0.5.3_metro@0.80.9_encoding@0.1.13_metro-minify-terser@0.80.9_/node_modules/@temporalio/worker/lib/activity.js:93:32\n    at async /retool_backend/node_modules/.pnpm/@temporalio+worker@1.11.6_@swc+helpers@0.5.3_metro@0.80.9_encoding@0.1.13_metro-minify-terser@0.80.9_/node_modules/@temporalio/worker/lib/worker.js:648:30"},"isUsingCustomProvider":false,"level":"error","message":"[agents][workflow] Operation agent_execution_finished failed","model":"gpt-4.1","modelFamily":"gpt-4.1","modelPricePerSec":0.001389,"nonBillableRuntimeMs":0,"operation_phase":"finish","orgSid":"org_61e76b37d9594da6a3248a1f2321cf87","pid":11,"promptTokens":"[REDACTED]","providerId":"retoolAIBuiltIn::openAI","providerName":"openAI","reason":"unknown","requestId":"e6a6b737-28e8-412e-a899-f872a3f8871c","runId":"019aa397-1809-721f-b348-be265ef947fc","runtimeInMilliseconds":3970,"sequelizeConnectionCount":1,"sequelizeCount":15,"startedAt":"2025-11-20T23:26:19.727Z","status":"FAILURE","success":false,"timestamp":"2025-11-20T23:26:23.697Z","totalBillableRuntimeMs":3970,"totalTokens":"[REDACTED]","triggerSourceId":"52de5f33-1dda-4099-ba02-f6dc731c4485","triggerType":"agent-chat","userSid":"user_c4913bd5761949a2b0e19386b99e1bc3","usingRetoolManagedKey":false,"workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowSaveId":"617d79ac-c9f1-4afc-8488-f4d94875cedd","workflowType":"agent"}
2025-11-20T23:26:23.829944240Z {"activityId":"2","activityType":"emitWorkflowExecutionEventsV2","attempt":1,"durationMs":24,"isLocal":false,"label":"activity","level":"info","message":"Activity completed (Attempt 1) - emitWorkflowExecutionEventsV2","namespace":"workflows","pid":11,"requestId":"e6a6b737-28e8-412e-a899-f872a3f8871c","sequelizeConnectionCount":1,"sequelizeCount":17,"taskQueue":"agent","taskToken":"CiQ0ZWY5MmViMy02NzQ0LTRiZDMtYTQ0Ny00NTFiMDlmMjM2MjASPWFmdGVyLXdvcmtmbG93LWV4ZWN1dGlvbi0wMTlhYTM5Ny0xODA5LTcyMWYtYjM0OC1iZTI2NWVmOTQ3ZmMaJDdkZGRiZDQzLTA4OTItNDBhZC04YjhjLWI4NTY4OWJjNTg0ZCALKAEyATJCHWVtaXRXb3JrZmxvd0V4ZWN1dGlvbkV2ZW50c1YySgkIAhDehcAEGAE=","temporalWorkflowId":"after-workflow-execution-019aa397-1809-721f-b348-be265ef947fc","temporalWorkflowRunId":"7dddbd43-0892-40ad-8b8c-b85689bc584d","timestamp":"2025-11-20T23:26:23.829Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowType":"ExecuteAfterWorkflowTasksV2"}
2025-11-20T23:26:23.858133880Z {"activityId":"3","activityType":"deleteBlobAndLogDataIfNoRetentionPolicy","attempt":1,"isLocal":false,"label":"activity","level":"info","message":"Activity started (Attempt 1) - deleteBlobAndLogDataIfNoRetentionPolicy","namespace":"workflows","organizationId":1,"pid":11,"requestId":"f89870c1-69b9-422f-8f34-1a9ce8c3af87","taskQueue":"agent","taskToken":"CiQ0ZWY5MmViMy02NzQ0LTRiZDMtYTQ0Ny00NTFiMDlmMjM2MjASPWFmdGVyLXdvcmtmbG93LWV4ZWN1dGlvbi0wMTlhYTM5Ny0xODA5LTcyMWYtYjM0OC1iZTI2NWVmOTQ3ZmMaJDdkZGRiZDQzLTA4OTItNDBhZC04YjhjLWI4NTY4OWJjNTg0ZCARKAEyATNCJ2RlbGV0ZUJsb2JBbmRMb2dEYXRhSWZOb1JldGVudGlvblBvbGljeUoJCAIQ74XABBgB","temporalWorkflowId":"after-workflow-execution-019aa397-1809-721f-b348-be265ef947fc","temporalWorkflowRunId":"7dddbd43-0892-40ad-8b8c-b85689bc584d","timestamp":"2025-11-20T23:26:23.857Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowType":"ExecuteAfterWorkflowTasksV2"}
2025-11-20T23:26:23.861169713Z {"activityId":"3","activityType":"deleteBlobAndLogDataIfNoRetentionPolicy","attempt":1,"durationMs":2,"isLocal":false,"label":"activity","level":"info","message":"Activity completed (Attempt 1) - deleteBlobAndLogDataIfNoRetentionPolicy","namespace":"workflows","organizationId":1,"pid":11,"requestId":"f89870c1-69b9-422f-8f34-1a9ce8c3af87","sequelizeConnectionCount":1,"sequelizeCount":2,"taskQueue":"agent","taskToken":"CiQ0ZWY5MmViMy02NzQ0LTRiZDMtYTQ0Ny00NTFiMDlmMjM2MjASPWFmdGVyLXdvcmtmbG93LWV4ZWN1dGlvbi0wMTlhYTM5Ny0xODA5LTcyMWYtYjM0OC1iZTI2NWVmOTQ3ZmMaJDdkZGRiZDQzLTA4OTItNDBhZC04YjhjLWI4NTY4OWJjNTg0ZCARKAEyATNCJ2RlbGV0ZUJsb2JBbmRMb2dEYXRhSWZOb1JldGVudGlvblBvbGljeUoJCAIQ74XABBgB","temporalWorkflowId":"after-workflow-execution-019aa397-1809-721f-b348-be265ef947fc","temporalWorkflowRunId":"7dddbd43-0892-40ad-8b8c-b85689bc584d","timestamp":"2025-11-20T23:26:23.860Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc","workflowType":"ExecuteAfterWorkflowTasksV2"}
2025-11-20T23:26:24.203333354Z [RETOOL INTERNAL ONLY - LOG] {"attempt":1,"http":{"method":"POST","request":{"time":0.5017877979998011},"url_path":"https://p.tryretool.com/v2/agents"},"level":"info","message":"FetchError network timeout at: https://p.tryretool.com/v2/agents ","organizationId":1,"pid":11,"requestId":"729ff883-9ac9-402e-bf73-c7111a3d5c12","sequelizeConnectionCount":1,"sequelizeCount":4,"timestamp":"2025-11-20T23:26:24.202Z","type":"CLIENT_RETRY","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc"} [RETOOL INTERNAL ONLY - LOG END]
2025-11-20T23:26:24.755772137Z [RETOOL INTERNAL ONLY - LOG] {"attempt":2,"http":{"method":"POST","request":{"time":0.501598905999912},"url_path":"https://p.tryretool.com/v2/agents"},"level":"info","message":"FetchError network timeout at: https://p.tryretool.com/v2/agents ","organizationId":1,"pid":11,"requestId":"729ff883-9ac9-402e-bf73-c7111a3d5c12","sequelizeConnectionCount":1,"sequelizeCount":4,"timestamp":"2025-11-20T23:26:24.755Z","type":"CLIENT_RETRY","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc"} [RETOOL INTERNAL ONLY - LOG END]
2025-11-20T23:26:25.308599307Z [RETOOL INTERNAL ONLY - LOG] {"attempt":3,"http":{"method":"POST","request":{"time":0.5019604449998587},"url_path":"https://p.tryretool.com/v2/agents"},"level":"info","message":"FetchError network timeout at: https://p.tryretool.com/v2/agents ","organizationId":1,"pid":11,"requestId":"729ff883-9ac9-402e-bf73-c7111a3d5c12","sequelizeConnectionCount":1,"sequelizeCount":4,"timestamp":"2025-11-20T23:26:25.308Z","type":"CLIENT_RETRY","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc"} [RETOOL INTERNAL ONLY - LOG END]
2025-11-20T23:26:25.861371051Z [RETOOL INTERNAL ONLY - LOG] {"attempt":4,"http":{"method":"POST","request":{"time":0.5025271230000071},"url_path":"https://p.tryretool.com/v2/agents"},"level":"info","message":"FetchError network timeout at: https://p.tryretool.com/v2/agents ","organizationId":1,"pid":11,"requestId":"729ff883-9ac9-402e-bf73-c7111a3d5c12","sequelizeConnectionCount":1,"sequelizeCount":4,"timestamp":"2025-11-20T23:26:25.861Z","type":"CLIENT_RETRY","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc"} [RETOOL INTERNAL ONLY - LOG END]
2025-11-20T23:26:26.415012639Z [RETOOL INTERNAL ONLY - LOG] {"attempt":5,"http":{"method":"POST","request":{"time":0.5023587859999389},"url_path":"https://p.tryretool.com/v2/agents"},"level":"info","message":"FetchError network timeout at: https://p.tryretool.com/v2/agents ","organizationId":1,"pid":11,"requestId":"729ff883-9ac9-402e-bf73-c7111a3d5c12","sequelizeConnectionCount":1,"sequelizeCount":4,"timestamp":"2025-11-20T23:26:26.414Z","type":"CLIENT_RETRY","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc"} [RETOOL INTERNAL ONLY - LOG END]
2025-11-20T23:26:26.967525518Z [RETOOL INTERNAL ONLY - LOG] {"level":"warn","message":{"http":{"method":"POST","request":{"time":0.5019803619999439},"url_path":"https://p.tryretool.com/v2/agents"},"timeoutSeconds":1,"type":"CLIENT_TIMEOUT"},"organizationId":1,"pid":11,"requestId":"729ff883-9ac9-402e-bf73-c7111a3d5c12","sequelizeConnectionCount":1,"sequelizeCount":4,"timestamp":"2025-11-20T23:26:26.967Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc"} [RETOOL INTERNAL ONLY - LOG END]
2025-11-20T23:26:26.967893051Z [RETOOL INTERNAL ONLY - LOG] {"err":{"message":"network timeout at: https://p.tryretool.com/v2/agents","stack":"FetchError: network timeout at: https://p.tryretool.com/v2/agents\n    at Timeout.<anonymous> (/retool_backend/bundle/main.js:278:436787)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)"},"level":"error","message":"ANALYTICS_TRACKING_ERROR","organizationId":1,"pid":11,"requestId":"729ff883-9ac9-402e-bf73-c7111a3d5c12","sequelizeConnectionCount":1,"sequelizeCount":4,"stack":"FetchError: network timeout at: https://p.tryretool.com/v2/agents\n    at Timeout.<anonymous> (/retool_backend/bundle/main.js:278:436787)\n    at listOnTimeout (node:internal/timers:581:17)\n    at process.processTimers (node:internal/timers:519:7)","timestamp":"2025-11-20T23:26:26.967Z","workflowId":"b2caa5ea-9d8a-4da3-a4e1-f71ba5fb1810","workflowRunId":"019aa397-1809-721f-b348-be265ef947fc"} [RETOOL INTERNAL ONLY - LOG END]

Any help would be appreciated, I’m actually paying for this and I can’t use it.

I’ve tried some more over the weekend…

  1. Completely uninstalled Docker Desktop
  2. Downloaded and installed Docker 4.52.0
  3. Installed Retool latest version 3.284.6 -stable with..
    docker compose build, docker compose up -d
  4. Disabled all Retool AI Models
  5. Added my OpenAI key (refreshed numerous times) & Anthropic Key (refreshed)
  6. Created a simple AI Agent
  7. Created a simple AI query on a page.

The AI query works - showing the AI setup is correct
The AI Agent does NOT work - returning the error shown. :warning:

Did the EXACT same setup on my MacBook and everything works. :astonished_face:
I mean EXACT SAME steps.

2025-11-24 23:02:54.054 | TransportError: tonic::transport::Error(Transport, ConnectError(ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" })))
2025-11-24 23:02:54.054 |     at NativeConnection.connect (/retool_backend/node_modules/.pnpm/@temporalio+worker@1.11.6_@swc+helpers@0.5.3_metro@0.80.9_encoding@0.1.13_metro-minify-terser@0.80.9_/node_modules/@temporalio/worker/lib/connection.js:58:23)
2025-11-24 23:02:54.054 |     at async mG (/retool_backend/bundle/main.js:11656:22095)
2025-11-24 23:02:54.054 |     at async XDo (/retool_backend/bundle/main.js:11724:12212)
2025-11-24 23:02:54.054 |     at async Object.JIb (/retool_backend/bundle/main.js:11724:15638)
2025-11-24 23:02:54.054 |
2025-11-24 23:02:54.054 | Node.js v20.18.1
2025-11-24 23:02:55.531 | sed: can't read ./dist/**/*.html: No such file or directory
2025-11-24 23:02:55.532 | Running in standard Node.js mode
2025-11-24 23:02:55.534 | [WARN  tini (8)] Tini is not running as PID 1 and isn't registered as a child subreaper.
2025-11-24 23:02:55.534 | Zombie processes will not be re-parented to Tini, so zombie reaping won't work.
2025-11-24 23:02:55.534 | To fix the problem, use the -s option or set the environment variable TINI_SUBREAPER to register Tini as a child subreaper, or run Tini as PID 1.
2025-11-24 23:02:56.796 | {"level":"info","message":"Not configuring StatsD..."}
2025-11-24 23:02:57.286 | {"level":"info","message":"[process service types] WORKFLOW_TEMPORAL_WORKER"}
2025-11-24 23:02:57.562 | {"level":"info","message":"Not configuring StatsD..."}
2025-11-24 23:02:57.562 | {"level":"info","message":"Not configuring StatsD..."}
2025-11-24 23:02:58.297 | (node:11) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
2025-11-24 23:02:58.297 | (Use `node --trace-deprecation ...` to show where the warning was created)
2025-11-24 23:02:58.299 | {"level":"info","message":"installing temporal runtime","timestamp":"2025-11-24T23:02:58.298Z"}
2025-11-24 23:02:58.306 | {"level":"info","message":"Rechecking license status...","timestamp":"2025-11-24T23:02:58.305Z"}
2025-11-24 23:02:58.313 | (node:11) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
2025-11-24 23:02:58.313 |
2025-11-24 23:02:58.313 | Please migrate your code to use AWS SDK for JavaScript (v3).
2025-11-24 23:02:58.313 | For more information, check the migration guide at https://a.co/7PzMCcy
2025-11-24 23:02:59.248 | {"level":"info","message":"license check http response code: 200","timestamp":"2025-11-24T23:02:59.247Z"}
2025-11-24 23:02:59.913 | {"level":"info","message":"License key feature flag overrides: {}","timestamp":"2025-11-24T23:02:59.912Z"}
2025-11-24 23:02:59.915 | {"level":"info","message":"Updated license status from licensing server","timestamp":"2025-11-24T23:02:59.914Z"}
2025-11-24 23:02:59.915 | {"err":{"message":"Cannot read properties of undefined (reading 'sid')","stack":"TypeError: Cannot read properties of undefined (reading 'sid')\n    at $u6 (/retool_backend/bundle/main.js:278:444012)\n    at wn (/retool_backend/bundle/main.js:278:444401)\n    at kte (/retool_backend/bundle/main.js:298:3464)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Object.JIb (/retool_backend/bundle/main.js:11724:15205)"},"level":"error","message":"ANALYTICS_TRACKING_ERROR","stack":"TypeError: Cannot read properties of undefined (reading 'sid')\n    at $u6 (/retool_backend/bundle/main.js:278:444012)\n    at wn (/retool_backend/bundle/main.js:278:444401)\n    at kte (/retool_backend/bundle/main.js:298:3464)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Object.JIb (/retool_backend/bundle/main.js:11724:15205)","timestamp":"2025-11-24T23:02:59.915Z"}
2025-11-24 23:02:59.951 | {"level":"info","message":"Successfully populated 21 agent model unit prices","timestamp":"2025-11-24T23:02:59.951Z"}
2025-11-24 23:02:59.971 | {"level":"info","message":"Successfully populated 14 copilot model unit prices","timestamp":"2025-11-24T23:02:59.970Z"}
2025-11-24 23:02:59.975 | {"level":"info","message":"Successfully populated 1 copilot credit conversion rates","timestamp":"2025-11-24T23:02:59.974Z"}
2025-11-24 23:02:59.989 | [withRequestId] called from outside an async context
2025-11-24 23:02:59.990 | {"level":"info","message":{"http":{"method":"GET","url_path":"http://code-executor:3004/api/checkHealth"},"type":"CLIENT_REQUEST"},"timestamp":"2025-11-24T23:02:59.990Z"}
2025-11-24 23:02:59.997 | {"level":"info","message":{"http":{"method":"GET","request":{"time":0.006673647999999957},"url_path":"http://code-executor:3004/api/checkHealth"},"status":200,"type":"CLIENT_FINISH"},"timestamp":"2025-11-24T23:02:59.996Z"}
2025-11-24 23:03:00.006 | {"level":"warn","message":"Workflow backend (http://localhost:3000) not healthy or unreachable: FetchError: request to http://localhost:3000/api/checkHealth failed, reason: connect ECONNREFUSED 127.0.0.1:3000","timestamp":"2025-11-24T23:03:00.006Z"}
2025-11-24 23:03:10.072 | {"level":"info","message":"creating temporal worker connection","timestamp":"2025-11-24T23:03:10.072Z"}
2025-11-24 23:03:13.814 | /retool_backend/node_modules/.pnpm/@temporalio+worker@1.11.6_@swc+helpers@0.5.3_metro@0.80.9_encoding@0.1.13_metro-minify-terser@0.80.9_/node_modules/@temporalio/worker/lib/connection.js:58
2025-11-24 23:03:13.814 |                 throw new core_bridge_1.TransportError(err.message);
2025-11-24 23:03:13.814 |                       ^
2025-11-24 23:03:13.814 |
2025-11-24 23:03:13.814 | TransportError: tonic::transport::Error(Transport, ConnectError(ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" })))
2025-11-24 23:03:13.814 |     at NativeConnection.connect (/retool_backend/node_modules/.pnpm/@temporalio+worker@1.11.6_@swc+helpers@0.5.3_metro@0.80.9_encoding@0.1.13_metro-minify-terser@0.80.9_/node_modules/@temporalio/worker/lib/connection.js:58:23)
2025-11-24 23:03:13.814 |     at async mG (/retool_backend/bundle/main.js:11656:22095)
2025-11-24 23:03:13.814 |     at async XDo (/retool_backend/bundle/main.js:11724:12212)
2025-11-24 23:03:13.814 |     at async Object.JIb (/retool_backend/bundle/main.js:11724:15638)
2025-11-24 23:03:13.814 |
2025-11-24 23:03:13.814 | Node.js v20.18.1
2025-11-24 23:03:15.317 | sed: can't read ./dist/**/*.html: No such file or directory
2025-11-24 23:03:15.319 | Running in standard Node.js mode
2025-11-24 23:03:15.320 | [WARN  tini (8)] Tini is not running as PID 1 and isn't registered as a child subreaper.
2025-11-24 23:03:15.320 | Zombie processes will not be re-parented to Tini, so zombie reaping won't work.
2025-11-24 23:03:15.320 | To fix the problem, use the -s option or set the environment variable TINI_SUBREAPER to register Tini as a child subreaper, or run Tini as PID 1.
2025-11-24 23:03:16.604 | {"level":"info","message":"Not configuring StatsD..."}
2025-11-24 23:03:17.077 | {"level":"info","message":"[process service types] WORKFLOW_TEMPORAL_WORKER"}
2025-11-24 23:03:17.457 | {"level":"info","message":"Not configuring StatsD..."}
2025-11-24 23:03:17.457 | {"level":"info","message":"Not configuring StatsD..."}
2025-11-24 23:03:18.220 | (node:11) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
2025-11-24 23:03:18.220 | (Use `node --trace-deprecation ...` to show where the warning was created)
2025-11-24 23:03:18.222 | {"level":"info","message":"installing temporal runtime","timestamp":"2025-11-24T23:03:18.221Z"}
2025-11-24 23:03:18.227 | {"level":"info","message":"Rechecking license status...","timestamp":"2025-11-24T23:03:18.227Z"}
2025-11-24 23:03:18.234 | (node:11) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
2025-11-24 23:03:18.234 |
2025-11-24 23:03:18.234 | Please migrate your code to use AWS SDK for JavaScript (v3).
2025-11-24 23:03:18.234 | For more information, check the migration guide at https://a.co/7PzMCcy
2025-11-24 23:03:18.881 | {"level":"info","message":"license check http response code: 200","timestamp":"2025-11-24T23:03:18.880Z"}
2025-11-24 23:03:19.060 | {"level":"info","message":"License key feature flag overrides: {}","timestamp":"2025-11-24T23:03:19.060Z"}
2025-11-24 23:03:19.062 | {"level":"info","message":"Updated license status from licensing server","timestamp":"2025-11-24T23:03:19.062Z"}
2025-11-24 23:03:19.063 | {"err":{"message":"Cannot read properties of undefined (reading 'sid')","stack":"TypeError: Cannot read properties of undefined (reading 'sid')\n    at $u6 (/retool_backend/bundle/main.js:278:444012)\n    at wn (/retool_backend/bundle/main.js:278:444401)\n    at kte (/retool_backend/bundle/main.js:298:3464)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Object.JIb (/retool_backend/bundle/main.js:11724:15205)"},"level":"error","message":"ANALYTICS_TRACKING_ERROR","stack":"TypeError: Cannot read properties of undefined (reading 'sid')\n    at $u6 (/retool_backend/bundle/main.js:278:444012)\n    at wn (/retool_backend/bundle/main.js:278:444401)\n    at kte (/retool_backend/bundle/main.js:298:3464)\n    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Object.JIb (/retool_backend/bundle/main.js:11724:15205)","timestamp":"2025-11-24T23:03:19.062Z"}
2025-11-24 23:03:19.104 | {"level":"info","message":"Successfully populated 21 agent model unit prices","timestamp":"2025-11-24T23:03:19.104Z"}
2025-11-24 23:03:19.122 | {"level":"info","message":"Successfully populated 14 copilot model unit prices","timestamp":"2025-11-24T23:03:19.121Z"}
2025-11-24 23:03:19.126 | {"level":"info","message":"Successfully populated 1 copilot credit conversion rates","timestamp":"2025-11-24T23:03:19.126Z"}
2025-11-24 23:03:19.140 | [withRequestId] called from outside an async context
2025-11-24 23:03:19.141 | {"level":"info","message":{"http":{"method":"GET","url_path":"http://code-executor:3004/api/checkHealth"},"type":"CLIENT_REQUEST"},"timestamp":"2025-11-24T23:03:19.140Z"}
2025-11-24 23:03:19.146 | {"level":"info","message":{"http":{"method":"GET","request":{"time":0.005835577000000285},"url_path":"http://code-executor:3004/api/checkHealth"},"status":200,"type":"CLIENT_FINISH"},"timestamp":"2025-11-24T23:03:19.146Z"}
2025-11-24 23:03:19.154 | {"level":"warn","message":"Workflow backend (http://localhost:3000) not healthy or unreachable: FetchError: request to http://localhost:3000/api/checkHealth failed, reason: connect ECONNREFUSED 127.0.0.1:3000","timestamp":"2025-11-24T23:03:19.154Z"}
2025-11-24 23:03:29.213 | {"level":"info","message":"creating temporal worker connection","timestamp":"2025-11-24T23:03:29.213Z"}
2025-11-24 23:03:33.721 | /retool_backend/node_modules/.pnpm/@temporalio+worker@1.11.6_@swc+helpers@0.5.3_metro@0.80.9_encoding@0.1.13_metro-minify-terser@0.80.9_/node_modules/@temporalio/worker/lib/connection.js:58
2025-11-24 23:03:33.721 |                 throw new core_bridge_1.TransportError(err.message);
2025-11-24 23:03:33.721 |                       ^
2025-11-24 23:03:33.721 |
2025-11-24 23:03:33.721 | TransportError: tonic::transport::Error(Transport, ConnectError(ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: Name or service not known" })))
2025-11-24 23:03:33.721 |     at NativeConnection.connect (/retool_backend/node_modules/.pnpm/@temporalio+worker@1.11.6_@swc+helpers@0.5.3_metro@0.80.9_encoding@0.1.13_metro-minify-terser@0.80.9_/node_modules/@temporalio/worker/lib/connection.js:58:23)
2025-11-24 23:03:33.721 |     at async mG (/retool_backend/bundle/main.js:11656:22095)
2025-11-24 23:03:33.721 |     at async XDo (/retool_backend/bundle/main.js:11724:12212)
2025-11-24 23:03:33.721 |     at async Object.JIb (/retool_backend/bundle/main.js:11724:15638)
2025-11-24 23:03:33.721 |

It mentions that localhost:3000 is not healthy or unreachable.. but look at this…

Page AI query working…

Retool AI models disabled..

My Machine Specs

Windows 11 Home

Thanks for taking a deep dive, @tonycasey! This is all super useful. To be clear, are you trying to set this up locally? What OS is the VM running, if so? Newer versions of Ubuntu - specifically anything past 24.04 - include a security module called AppArmor that interferes with the functioning of the code-executor service. You can modify that with the following commands:

sudo sysctl-w kernel.apparmor_restrict_unprivileged_unconfined=0
sudo sysctl-w kernel.apparmor_restrict_unprivileged_userns=0

Or set the ALLOW_UNSAFE_CODE_EXECUTION environment variable on the code-executor to true.

If I'm right, you'd run into the same error if you tried running any workflows on your instance. Is that something you've tried?

Have you had a chance to revisit this, @tonycasey?