Step 1: Am I affected?
If you see something like this in your logfile you should worry.
orders.12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S sending {"count": 1582}
orders.118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW sending {"count": 7666}
orders.121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6 sending {"count": 2611}
orders.12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S gRPC client when sending new orders settlements {"error": "order: sending settlement agreements returned an error: EOF", "errorVerbose": "order: sending settlement agreements returned an error: EOF\n\tstorj.io/storj/storagenode/orders.(*Service).settle.func2:283\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57", "request": {"limit":{"serial_number":"...","satellite_id":"12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S","uplink_public_key":{},"storage_node_id":"...","piece_id":"...","limit":1303808,"action":2,"piece_expiration":"0001-01-01T00:00:00Z","order_expiration":"2019-09-05T16:35:52.596900042Z","order_creation":"2019-08-29T16:35:52.714474718Z","satellite_signature":"...","satellite_address":{"address":"us-central-1.tardigrade.io:7777"}},"order":{"serial_number":"...","amount":1303552,"uplink_signature":"..."}}}
orders.12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S gRPC client error when receiveing new order settlements {"error": "order: failed to receive settlement response: rpc error: code = Unknown desc = pq: deadlock detected", "errorVerbose": "order: failed to receive settlement response: rpc error: code = Unknown desc = pq: deadlock detected\n\tstorj.io/storj/storagenode/orders.(*Service).settle:310\n\tstorj.io/storj/storagenode/orders.(*Service).Settle:190\n\tstorj.io/storj/storagenode/orders.(*Service).sendOrders.func2:169\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
orders.12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S finished
orders.12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S failed to settle orders {"error": "order: sending settlement agreements returned an error: EOF; order: failed to receive settlement response: rpc error: code = Unknown desc = pq: deadlock detected", "errorVerbose": "group:\n--- order: sending settlement agreements returned an error: EOF\n\tstorj.io/storj/storagenode/orders.(*Service).settle.func2:283\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57\n--- order: failed to receive settlement response: rpc error: code = Unknown desc = pq: deadlock detected\n\tstorj.io/storj/storagenode/orders.(*Service).settle:310\n\tstorj.io/storj/storagenode/orders.(*Service).Settle:190\n\tstorj.io/storj/storagenode/orders.(*Service).sendOrders.func2:169\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
orders.118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW gRPC client when sending new orders settlements {"error": "order: sending settlement agreements returned an error: EOF", "errorVerbose": "order: sending settlement agreements returned an error: EOF\n\tstorj.io/storj/storagenode/orders.(*Service).settle.func2:283\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57", "request": {"limit":{"serial_number":"...","satellite_id":"118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW","uplink_public_key":{},"storage_node_id":"...","piece_id":"...","limit":2317056,"action":1,"piece_expiration":"0001-01-01T00:00:00Z","order_expiration":"2019-09-04T20:28:24.492326966Z","order_creation":"2019-08-28T20:28:24.498725899Z","satellite_signature":"...","satellite_address":{"address":"satellite.stefan-benten.de:7777"}},"order":{"serial_number":"...","amount":2317056,"uplink_signature":"..."}}}
orders.118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW gRPC client error when receiveing new order settlements {"error": "order: failed to receive settlement response: rpc error: code = Unavailable desc = transport is closing", "errorVerbose": "order: failed to receive settlement response: rpc error: code = Unavailable desc = transport is closing\n\tstorj.io/storj/storagenode/orders.(*Service).settle:310\n\tstorj.io/storj/storagenode/orders.(*Service).Settle:190\n\tstorj.io/storj/storagenode/orders.(*Service).sendOrders.func2:169\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
orders.118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW finished
orders.118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW failed to settle orders {"error": "order: sending settlement agreements returned an error: EOF; order: failed to receive settlement response: rpc error: code = Unavailable desc = transport is closing", "errorVerbose": "group:\n--- order: sending settlement agreements returned an error: EOF\n\tstorj.io/storj/storagenode/orders.(*Service).settle.func2:283\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57\n--- order: failed to receive settlement response: rpc error: code = Unavailable desc = transport is closing\n\tstorj.io/storj/storagenode/orders.(*Service).settle:310\n\tstorj.io/storj/storagenode/orders.(*Service).Settle:190\n\tstorj.io/storj/storagenode/orders.(*Service).sendOrders.func2:169\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
orders.121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6 gRPC client when sending new orders settlements {"error": "order: sending settlement agreements returned an error: EOF", "errorVerbose": "order: sending settlement agreements returned an error: EOF\n\tstorj.io/storj/storagenode/orders.(*Service).settle.func2:283\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57", "request": {"limit":{"serial_number":"...","satellite_id":"121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6","uplink_public_key":{},"storage_node_id":"...","piece_id":"...","limit":362240,"action":2,"piece_expiration":"0001-01-01T00:00:00Z","order_expiration":"2019-09-05T07:07:52.399750425Z","order_creation":"2019-08-29T07:07:52.507404358Z","satellite_signature":"...","satellite_address":{"address":"asia-east-1.tardigrade.io:7777"}},"order":{"serial_number":"...","amount":361984,"uplink_signature":"..."}}}
orders.121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6 gRPC client error when receiveing new order settlements {"error": "order: failed to receive settlement response: rpc error: code = Unavailable desc = transport is closing", "errorVerbose": "order: failed to receive settlement response: rpc error: code = Unavailable desc = transport is closing\n\tstorj.io/storj/storagenode/orders.(*Service).settle:310\n\tstorj.io/storj/storagenode/orders.(*Service).Settle:190\n\tstorj.io/storj/storagenode/orders.(*Service).sendOrders.func2:169\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
orders.121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6 finished
orders.121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6 failed to settle orders {"error": "order: sending settlement agreements returned an error: EOF; order: failed to receive settlement response: rpc error: code = Unavailable desc = transport is closing", "errorVerbose": "group:\n--- order: sending settlement agreements returned an error: EOF\n\tstorj.io/storj/storagenode/orders.(*Service).settle.func2:283\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57\n--- order: failed to receive settlement response: rpc error: code = Unavailable desc = transport is closing\n\tstorj.io/storj/storagenode/orders.(*Service).settle:310\n\tstorj.io/storj/storagenode/orders.(*Service).Settle:190\n\tstorj.io/storj/storagenode/orders.(*Service).sendOrders.func2:169\n\tgolang.org/x/sync/errgroup.(*Group).Go.func1:57"}
orders.121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6 sending {"count": 2667}
orders.12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S sending {"count": 1613}
orders.118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW sending {"count": 7793}
...
orders.12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S sending {"count": 1645}
orders.118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW sending {"count": 7958}
orders.121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6 sending {"count": 2731}
Step 2: Do I need to panic?
You have 7 days to submit the orders before they expire. The expire date is part of the error message. In this example it is "order_expiration":"2019-09-04T20:28:24.492326966Z"
which means 2 days remaining until the orders expire, can’t be submitted and will not get paid. In this case it would be reasonable to panic.
Step 3: What is the workaround?
The current issue is that the order sender has a timeout of 20 seconds. We are working on a fix but we might not be able to deploy it in time. So lets take about a possible workaround you can execute on your end.
By default the storage node will submit orders only once per hour and for some reason it is hitting the 20 second timeout all the time. If you restart the storage node it will try to submit the orders as well and this time with a different timing. If you are lucky you can submit at least a few of them. Repeat it a few times and hopefully they can all be submitted.