Intermittent "Signature verification failed" errors from AgentJS

Recently, one out of every 3-5 times one of our integration tests runs that communicates with the ICP ledger, a specific test returns this error.

Invalid certificate: Signature verification failed
(node:4446) V8: /home/runner/work/CycleOps/CycleOps/node_modules/borc/src/decoder.asm.js:3 Linking failure in asm.js: Unexpected stdlib member

We’re having trouble pinpointing exactly where this got introduced, since it happens intermittently and we’re sure it doesn’t impact actual backend functionality (I think the first time we noticed it was after changing the readme).

1 Like

Do you still need help with this?

1 Like

Hi Jennifer,

Do you know what causes the certification verifiation failed errors on a local dfx setup when raising an SNS proposal?

Thanks, James

Let me check for you

Hi @jennifertran thanks for following up.

We haven’t received this issue in awhile, but then again it’s an intermittent issue that shows up in CI (local dfx) from time to time. I’ll post here again once we hit it again.

This was solved here by passing insecure dev mode flag

2 Likes