Skip to content

Random error crashing the eliza server #6

@znahas

Description

@znahas

This error shown in the logs below happens randomly and when it happens it crashes the Eliza server and all agents stop working and requires an auto restart.

"@elizaos/cli": "1.0.17",
"@elizaos/core": "^1.0.17",
"@elizaos/plugin-bootstrap": "^1.0.17",
"@elizaos/plugin-discord": "^1.0.10",
"@elizaos/plugin-knowledge": "^1.0.11",
"@elizaos/plugin-openai": "^1.0.6",
"@elizaos/plugin-openrouter": "^1.0.5",
"@elizaos/plugin-sql": "^1.0.17",
"@elizaos/plugin-tee": "^1.0.2",
"@elizaos/plugin-telegram": "^1.0.4",

2025-07-05 08:31:31: node:timers:140
2025-07-05 08:31:31: validateFunction(callback, 'callback');
2025-07-05 08:31:31: ^
2025-07-05 08:31:31:
2025-07-05 08:31:31: TypeError [ERR_INVALID_ARG_TYPE]: The "callback" argument must be of type function. Received type number (5000)
2025-07-05 08:31:31: at setTimeout (node:timers:140:3)
2025-07-05 08:31:31: at file:///home/ubuntu/www/eliza-test-project/node_modules/@sentry/browser/build/npm/esm/integrations/browserapierrors.js:96:21
2025-07-05 08:31:31: at node:internal/util:455:21
2025-07-05 08:31:31: at new Promise ()
2025-07-05 08:31:31: at node:internal/util:441:12
2025-07-05 08:31:31: at [Symbol.asyncIterator] (/home/ubuntu/www/eliza-test-project/node_modules/telegraf/lib/core/network/polling.js:50:27)
2025-07-05 08:31:31: at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
2025-07-05 08:31:31: at async Polling.loop (/home/ubuntu/www/eliza-test-project/node_modules/telegraf/lib/core/network/polling.js:73:30)
2025-07-05 08:31:31: at async Telegraf.launch (/home/ubuntu/www/eliza-test-project/node_modules/telegraf/lib/telegraf.js:194:13) {
2025-07-05 08:31:31: code: 'ERR_INVALID_ARG_TYPE'
2025-07-05 08:31:31: }
2025-07-05 08:31:31:
2025-07-05 08:31:31: Node.js v23.3.0
2025-07-05 08:31:31: Server process exited with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions