Error cacao expired

Hi
When I run query it return an error

[2024-12-28T11:07:06.374Z] WARNING: Error loading stream k2t6wzhkhabz40yogz0i847xq1ava5uo08iogw2ny8w938y704s8p45a4v7hcr at time undefined as part of a multiQuery request: Error: CACAO expired: Commit bagcqcerad26fdpw3f6q2fffube4srp4x5oq3mipexwsxrxbwjhqm37nxaptq of Stream k2t6wzhkhabz40yogz0i847xq1ava5uo08iogw2ny8w938y704s8p45a4v7hcr has a CACAO that expired at 1735112692. Loading the stream with ‘sync: SyncOptions.ALWAYS_SYNC’ will restore the stream to a usable state, by discarding the invalid commits (this means losing the data from those invalid writes!)

Hi @ehsan - are you still encountering this issue?

I just tried to load it using the Orbis mainnet node: https://ceramic-cerscan-mainnet.hirenodes.io/api/v0/streams/k2t6wzhkhabz40yogz0i847xq1ava5uo08iogw2ny8w938y704s8p45a4v7hcr

Are you running a local node, by the way? Running a node locally can work but you have to make sure it consistently stays up, otherwise fetching commits from your local IPFS can fail, and that causes them not to get anchored because unless the commit can be loaded, its signature can’t be verified.

Once this has happened a few times, your stream could get stuck in a bad state because updates never got anchored, and the CACAO expiration has passed for an earlier commit that failed to get anchored.