Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Request message serialization failure on Node.js v22 #910

Open
vavido opened this issue Sep 26, 2024 · 1 comment
Open

[Bug] Request message serialization failure on Node.js v22 #910

vavido opened this issue Sep 26, 2024 · 1 comment
Assignees

Comments

@vavido
Copy link

vavido commented Sep 26, 2024

Since switching to Node.js 22, my hatchet worker is unable to connect to my local hatchet-lite instance.
The same code works on v20.

Error message:

Failed to initialize Hatchet HatchetError: Could not register workflow: /WorkflowService/PutWorkflow INTERNAL: Request message serialization failure: "length" is outside of buffer bounds
     at Worker.<anonymous> (node_modules/.pnpm/@[email protected]/node_modules/@hatchet-dev/typescript-sdk/clients/worker/worker.js:146:23)
     at Generator.throw (<anonymous>)
     at rejected (node_modules/.pnpm/@[email protected]/node_modules/@hatchet-dev/typescript-sdk/clients/worker/worker.js:6:65)
@abelanger5
Copy link
Contributor

Hi @vavido, we'll be working on tackling compatibility issues on the Typescript SDK next week. Thanks for flagging this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants