straumat / blockchain2graph

Blockchain2graph extracts blockchain data (bitcoin) and insert them into a graph database (neo4j).
GNU General Public License v3.0
149 stars 32 forks source link

Error: Could not extract response: no suitable HttpMessageConverter found #595

Closed fbruzzaniti closed 4 years ago

fbruzzaniti commented 4 years ago

Receiving this error but appears to be processing: Error getting the transaction 87fb8b37fa34284f6e6e41bd06e64bdad9448a84c71937fe5b719649944268e6 : Could not extract response: no suitable HttpMessageConverter found for response type [class com.oakinvest.b2g.dto.bitcoin.core.getrawtransaction.GetRawTransactionResponse] and content type [text/html;charset=ISO-8859-1]

Also noticed this error from bitcond: 2020-08-21T01:57:41Z WARNING: request rejected because http work queue depth exceeded, it can be increased with the -rpcworkqueue= setting

I thought they might be related, currently using the 3.0 Docker Compose file.

fbruzzaniti commented 4 years ago

Added -rpcworkqueue=100 to Docker command as an experiment, seems to have improved performance and the error has gone, here is the full command for reference:

'-server=1' '-rest=1' '-rpcuser=bitcoinrpc' '-rpcworkqueue=100' '-rpcpassword=JRkDy3tgCYdmCEqY1VdfdfhTswiRva' '-txindex=1' '-rpcallowip=0.0.0.0/0' '-rpcbind=127.0.0.1' '-rpcbind=bitcoin-core' '-rpcallowip=::/0'

straumat commented 4 years ago

Thanks a lot, i will add this parameter.