Consoleapi storagenode: json: unsupported value: +Inf

2023-01-18T05:31:26.998Z ERROR console:endpoint failed to encode json response {"Process": "storagenode", "error": "consoleapi storagenode: json: unsupported value: +Inf", "errorVerbose": "consoleapi storagenode: json: unsupported value: +Inf
\[tstorj.io/storj/storagenode/console/consoleapi.(*StorageNode).Satellite:110](http://tstorj.io/storj/storagenode/console/consoleapi.(*StorageNode).Satellite:110)
\tnet/http.HandlerFunc.ServeHTTP:2084
\[tgithub.com/gorilla/mux.(*Router).ServeHTTP:210](http://tgithub.com/gorilla/mux.(*Router).ServeHTTP:210)
\tnet/http.serverHandler.ServeHTTP:2916
\tnet/http.(*conn).serve:1966"}

What does that mean?

Perhaps corrupted database. Is it UnRaid?
Please check databases:

I have the same errors when a node has updated to V1.70.2, several hundreds when i check my Grafana dashboard.

Simple solution: restart the node and the errors don’t occur any more. The node software needs a bit more testing.

2 Likes

Yes that helped. Thx

Indeed…

Same here. No database corruption.
Restart fixes the problem.

1 Like

I had the same error after the update to 1.71.2. A restart solved it again.

noticed the same error in the logs, I’m on version v1.72.5 and DB checks passed, restart doesn’t fix this

2023-02-22T01:42:42.127Z	ERROR	console:endpoint	failed to encode json response	{"Process": "storagenode", "error": "consoleapi storagenode: json: unsupported value: +Inf", "errorVerbose": "consoleapi storagenode: json: unsupported value: +Inf\n\tstorj.io/storj/storagenode/console/consoleapi.(*StorageNode).Satellite:110\n\tnet/http.HandlerFunc.ServeHTTP:2109\n\tgithub.com/gorilla/mux.(*Router).ServeHTTP:210\n\tnet/http.serverHandler.ServeHTTP:2947\n\tnet/http.(*conn).serve:1991"}

any advice on this?

Yes over night on 90% of my nodes the prometheus exporters stopped to work and I have the same error again:
2023-02-22T06:38:47.751Z ERROR console:endpoint failed to encode json response {“Process”: “storagenode”, “error”: “consoleapi storagenode: json: unsupported value: +Inf”, “errorVerbose”: “consoleapi storagenode: json: unsupported value: +Inf\n\tstorj.io/storj/storagenode/console/consoleapi.(*StorageNode).Satellite:110\n\tnet/http.HandlerFunc.ServeHTTP:2109\n\tgithub.com/gorilla/mux.(*Router).ServeHTTP:210\n\tnet/http.serverHandler.ServeHTTP:2947\n\tnet/http.(*conn).serve:1991”}

Restart again. :crazy_face: