streamingfast / substreams

Powerful Blockchain streaming data engine, based on StreamingFast Firehose technology.
Apache License 2.0
164 stars 45 forks source link

Error: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: INTERNAL_ERROR #49

Closed Ryanmtate closed 2 years ago

Ryanmtate commented 2 years ago

Had an instance where substreams hangs at a block, eventually terminating with an internal error.

Haven't been able to reproduce the error, but wanted to capture it for diagnosing.

substreams run -e api-dev.streamingfast.io:443 substreams.yaml map_market_cap -s 13000002 -t +10
Connected - Progress messages received: 0 (0/sec)
Backprocessing history up to requested target block 13000002:
(hit 'm' to switch mode)

----------- NEW BLOCK #13,000,002 (13000002) ---------------
----------- NEW BLOCK #13,000,003 (13000003) ---------------
----------- NEW BLOCK #13,000,004 (13000004) ---------------
----------- NEW BLOCK #13,000,005 (13000005) ---------------
----------- NEW BLOCK #13,000,006 (13000006) ---------------
----------- NEW BLOCK #13,000,007 (13000007) ---------------
----------- NEW BLOCK #13,000,008 (13000008) ---------------
----------- NEW BLOCK #13,000,009 (13000009) ---------------
----------- NEW BLOCK #13,000,010 (13000010) ---------------
Error: rpc error: code = Internal desc = stream terminated by RST_STREAM with error code: INTERNAL_ERROR

originally posted: https://github.com/messari/substreams/issues/61

Eduard-Voiculescu commented 2 years ago

Hi @Ryanmtate, RST_STREAM means that while you were running your request the server restarted, probably due to an update for the substreams engine.