dvidsilva
03/26/2025, 10:21 PM[medplum] [2025-03-26 22:17:41] {"level": "ERROR", "timestamp": "2025-03-26T22: 17:41.151Z", "msg": "Uncaught exception thrown", "error":
LID_ARG_TYPE]: The \"msecs\" argument must be of type number. Received type string ('600001000')", "stack": ["TypeError CERR_INVALID ecs\" argument must be of type number. Received type string ('600001000')"
at getTimerDuration (node: internal/timers:426:3)"
reamTimeout [as setTimeout] (node:internal/stream_base_commons: 243:11)",
node: events: 519:35)","
at resOnFinish (node:_http_server: 1017:14)","
at S
at onFinish (node:_http_outgoing: 1081:10)","
at afterWrite (node: internal/streams/writable:708:5)","
(node: internal/streams/writable: 694:10)","
at process.processTicksAndRejections (node:internal/process/task_queues: 89:21) "]}
[medplum]
[] exited with exit code
Unsure what could be causing it, I don't see where those libraries are called, or arguments with that namecody
03/27/2025, 10:09 PMsetTimeout directly in a handful of cases, mostly around the Medplum Agent. Are you using the Agent?
The next most likely candidate would probably be somewhere inside BullMQ for job management. Are you using Medplum cron jobs?
Google turns up basically zero results for "CERR_INVALID", so that is a puzzler.
We can look to see if there's a way to log more details inside the "uncaught exception" handler.cody
03/27/2025, 10:16 PMshutdownTimeoutMilliseconds server config setting?dvidsilva
03/28/2025, 3:29 PM