js-ceramic icon indicating copy to clipboard operation
js-ceramic copied to clipboard

TypeError: Cannot destructure property 'controllers' of 'payload.header' as it is undefined.

Open betamax opened this issue 2 years ago • 0 comments

Describe the bug I'm running a Ceramic node that's interacted with via ComposeDB. I am getting occasional errors when applying a commit to stream:

Error while applying commit bafyreihg7r2zsfxpeulbrowt73fn2itjqpo2icuppnax3pqigoykdnkixq to stream null: TypeError: Cannot destructure property 'controllers' of 'payload.header' as it is undefined.

And also:

TypeError: Cannot read properties of null (reading 'anchorStatus')

I'm not sure if the two are related. It seems strrange that stream is null in this instance too.

Logs

Nov 01 07:35:14 discourse-graph-demo ceramic[31031]: [2022-11-01T07:35:14.245Z] ERROR: TypeError: Cannot read properties of null (reading 'anchorStatus')
Nov 01 07:35:14 discourse-graph-demo ceramic[31031]: [2022-11-01T07:35:14.245Z] WARNING: Error while applying commit bafyreihg7r2zsfxpeulbrowt73fn2itjqpo2icuppnax3pqigoykdnkixq to stream null: TypeError: Cannot destructure property 'controllers' of 'payload.header' as it is undefined.
Nov 01 07:35:13 discourse-graph-demo ceramic[31031]: [2022-11-01T07:35:13.943Z] WARNING: Error while applying commit bafyreifgukatwmlbaaumzzv5rnn5crzwoklowwivkccbqveacclxqxzkce to stream null: TypeError: Cannot destructure property 'controllers' of 'payload.header' as it is undefined.
Nov 01 07:35:13 discourse-graph-demo ceramic[31031]: [2022-11-01T07:35:13.942Z] WARNING: Error while applying commit bagcqceraiwjfa3wfjk4lekvgsd5d7d3ubtirh3ewvd5ahzlrhzjobkdlxxyq to stream null: Error: Can not verify signature for commit bagcqceraiwjfa3wfjk4lekvgsd5d7d3ubtirh3ewvd5ahzlrhzjobkdlxxyq: CACAO has expired

Ceramic versions

2.8.0

Machine, OS, browser information (please complete the following information):

Ubuntu 18.04.6 LTS

betamax avatar Nov 02 '22 08:11 betamax