在自主托管的 Stackauth 上发送电子邮件时,捕获了 js-execution-freestyle-failed 中的错误
Hello, I'm deploying Stackauth on my Ubuntu server and I'm getting an error when sending email through Freestyle. I also use the newest version of StackAuth (c4fe559 - dashboard-v1.0.123) with correct configs (env & smtp): - STACK_FREESTYLE_API_KEY - STACK_FREESTYLE_SNAPSHOT_ID The error logs: stackauth-1 | Captured error in js-execution-freestyle-failed: HexclaveAssertionError: JS execution freestyle engine failed, falling back to Vercel sandbox engine stackauth-1 | Stack: stackauth-1 | This is likely an error in Hexclave. Please make sure you are running the newest version and report it. stackauth-1 | at runWithFallback (file:///var/tmp/stack-runtime/apps/backend/dist/smart-route-handler-D96JAdw9.mjs:33845:48) stackauth-1 | at process.processTicksAndRejections (node:internal/process/task_queues:104:5) stackauth-1 | at async file:///var/tmp/stack-runtime/apps/backend/dist/smart-route-handler-D96JAdw9.mjs:33772:11 stackauth-1 | at async file:///var/tmp/stack-runtime/apps/backend/dist/smart-route-handler-D96JAdw9.mjs:1515:11 stackauth-1 | at async traceSpan (file:///var/tmp/stack-runtime/apps/backend/dist/smart-route-handler-D96JAdw9.mjs:1512:9) stackauth-1 | at async executeJavascript (file:///var/tmp/stack-runtime/apps/backend/dist/smart-route-handler-D96JAdw9.mjs:33762:9) stackauth-1 | at async bundleAndExecute (file:///var/tmp/stack-runtime/apps/backend/dist/smart-route-handler-D96JAdw9.mjs:75133:24) stackauth-1 | at async renderEmailsForTenancyBatched (file:///var/tmp/stack-runtime/apps/backend/dist/smart-route-handler-D96JAdw9.mjs:75282:9) stackauth-1 | at async renderTenancyEmails (file:///var/tmp/stack-runtime/apps/backend/dist/smart-route-handler-D96JAdw9.mjs:119224:27) stackauth-1 | at async renderEmails (file:///var/tmp/stack-runtime/apps/backend/dist/smart-route-handler-D96JAdw9.mjs:119117:3) stackauth-1 | Extra properties: { "extraData": { "cause": RetryError: Error after 2 attempts. Stack: Attempt 1: HexclaveAssertionError: Freestyle VM JavaScript runner exited with non-zero code Stack: This is likely an error in Hexclave. Please make sure you are running the newest version and report it. at executeJavascriptInFreestyleVm (file:///var/tmp/stack-runtime/apps/backend/dist/smart-route-handler-D96JAdw9.mjs:33460:29) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async Object.execute (file:///var/tmp/stack-runtime/apps/backend/dist/smart-route-handler-D96JAdw9.mjs:33600:11) at async Result.retry.exponentialDelayBase …
内容来源: hexclave/hexclave