Just a guess, but I think that the new ‘currentblockweight’ data that is returned by this endpoint may be causing issues. When I call the endpoint against a recent build from master:
0curl --user myrpcuser --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getmininginfo", "params": [] }' -H 'content-type: text/plain;' http://127.0.0.1:8332/
1Enter host password for user 'myrpcuser':
2
3{"result":null,"error":{"code":-1,"message":"JSON integer out of range"},"id":"curltest"}
Similarly, “bitcoin-cli getmininginfo” returns:
0error code: -1
1error message:
2JSON integer out of range