ChileBob / YcashExplorer

Ycash Block Explorer
1 stars 1 forks source link

FATAL : Large data transfers break everything #3

Open ChileBob opened 2 years ago

ChileBob commented 2 years ago

When the data to send exceeds the maximum websocket payload the connections break.

Needs a rethink - fragmenting/reassembling large payloads.

ChileBob commented 2 years ago

Restarting/reloading the web client does not clear the problem as large blocks/transactions are cached by the websocket server.

ChileBob commented 2 years ago

Possibly a red herring - can't reproduce this anymore, might have been a javascript client-side problem fixed in the last update (where a lot of stuff was removed).

ChileBob commented 2 years ago

Still a bug - triggered when a large block appears.

When the websocket closes the page reloads - a rather dramatic self-inflicted DDOS - oops!

ChileBob commented 2 years ago

block 1071369 & 1071370

ChileBob commented 2 years ago

Also triggered by opening a large block (12kb seems to be the limit, probably lower)

ChileBob commented 2 years ago

Added 30 sec delay for automatic reload, reduces impact but doesn't address the real problem.