"error": "order: proto: can't skip unknown wire type 4"

I am getting the following error once every few minutes. The orders.db passes the integrity check. This is on windows with a SATA attached drive.

Can anyone advise what it means and/or how to fix it?

Thank you!


orders listing orders {“error”: “order: proto: can’t skip unknown wire type 4”, “errorVerbose”: “order: proto: can’t skip unknown wire type 4\n\tstorj.io/storj/storagenode/orders.readLimit:526\n\tstorj.io/storj/storagenode/orders.(*FileStore).ListUnsentBySatellite.func1:238\n\tpath/filepath.walk:360\n\tpath/filepath.walk:384\n\tpath/filepath.Walk:406\n\tstorj.io/storj/storagenode/orders.(*FileStore).ListUnsentBySatellite:196\n\tstorj.io/storj/storagenode/orders.(*Service).sendOrdersFromFileStore:398\n\tstorj.io/storj/storagenode/orders.(*Service).SendOrders:192\n\tstorj.io/storj/storagenode/orders.(*Service).Run.func1:139\n\tstorj.io/common/sync2.(*Cycle).Run:92\n\tstorj.io/common/sync2.(*Cycle).Start.func1:71\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57”}

Try removing the oldest (check timestamp) 5 order files from orders/unsent and check your log. These 5 files are for 5 satellites.

@nerdatwork Hey, out of curiosity, would this situation get resolved by itself if no manual action were taken? I.e. do old orders get automatically cleaned up after a while?

It should as per this PR with corrupted order files.