Last night I upgraded our ceramic node to the latest release as per the recommendation to @ceramicnetwork/cli@2.8.0
. Today we are having problems with the CAS:
[2022-10-07T12:14:23.631Z] ERROR: Error: Error connecting to CAS while attempting to anchor k2t6wyfsu4pfwyk74vomr9xqlg5bb3gnkvbrej275bo3te00pg4zusf6adqa72 at commit bafyreiak6g2wgaexlyn4m46widt4u3il4qrae6vxg7m3dnhmgpb743tldy: HTTP request to 'https://cas.3boxlabs.com/api/v0/requests' failed with status 'Bad Request': {"error":"Creating request with streamId k2t6wyfsu4pfwyk74vomr9xqlg5bb3gnkvbrej275bo3te00pg4zusf6adqa72 and commit CID bafyreiak6g2wgaexlyn4m46widt4u3il4qrae6vxg7m3dnhmgpb743tldy failed: Cannot read properties of undefined (reading 'cid')"}
Obviously our requestAnchor
call has a streamID and a cid or it wouldn’t be able to log them.
The error points directly at the new retry logic that was added in the most recent release: feat: Ceramic asks CAS to anchor indefinitely until some ok response … · ceramicnetwork/js-ceramic@18150a9 · GitHub