A better Rust ATProto crate

Errors decoding firehose #26

closed
opened by vielle.dev edited

When subscribed to the firehose (tested on https://katproto.girlonthemoon.xyz/) I occasionally get decode errors:
Warning: Websocket error: Decode error: Failed to deserialize DAG-CBOR: Mismatch { expect_major: 6, byte: 246 }

The error seems to occour in serde_ipld_dagcbor (looks like it probably comes from here)

Issue seems to occour on record deletions, where cid is null.

ah yes. i think i know what this is from. will take a look.

what version of jacquard are you on right now there? because i do remember this, but I also remember doing a fix in this area, and i'm now trying to remember if that made it into the latest release or not.

yep. definitely in 0.9.5/0.9.6, so this just might be a matter of cargo updating and/or re-running codegen.

going to close this as I am reasonably sure i've already fixed it.

issue still occours in jacquard 0.9.5; ill try make a minimal reproducible example

nvm my lock file was using jacquard 0.9.2 for some deps (like jacquard-oauth) which was causing the issues it seems !!

ah yep that'd do it then. wonder why they didn't get updated

sign up or login to add to the discussion
Labels

None yet.

assignee

None yet.

Participants 2
AT URI
at://did:plc:4zht3z4caxwrw3dlsybodywc/sh.tangled.repo.issue/3marej5wnll22