What is it ERROR console:endpoint failed to encod?

ERROR console:endpoint failed to encode json response {“error”: “payouts console web error: json: unsupported value: +Inf”, “errorVerbose”: “payouts console web error: json: unsupported value: +Inf\n\tstorj.io/storj/storagenode/console/consoleapi.(*StorageNode).EstimatedPayout:132\n\tnet/http.HandlerFunc.ServeHTTP:2042\n\tgithub.com/gorilla/mux.(*Router).ServeHTTP:210\n\tnet/http.serverHandler.ServeHTTP:2843\n\tnet/http.(*conn).serve:1925”}

are you using latest version storagenode v1.21.1 with storj-exporter?
my windows node got the same error, after stopping storj-exporter the error logging stop and the node working normally.

If that’s the case, then it is a bug in the storagenode API because the exporter only queries that API.

I have this error too. But i don’thave storj-exporter or other api connection. Pure nodes.
is it a bug of 1.21.2?

I guess the dashboard uses it too. It’s definitely a bug in 1.21.2

Ok, i confirm again with my windows node, whenever i clicked payout information on the dashboard, the error will log in the logfile.

At what time did your errors start? Mine started at 8am GMT this morning but my storagenode is running in the PST timezone and that was midnight 1-Feb in PST localtime.

This looks like a bug in estimated payout calculation due to the first day of the month with the latest version. The error should go away tomorrow and we should have a fix ready for the next release.


I can confirm the bug is in both 1.21.1 and 1.21.2 as I am running both. The timing of this bug also suggest there’s some calculations in the local timezone which may be what you want either.