Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RPC daemon is unable to handle messages that exceed accepted frame size #2719

Closed
swtrse opened this issue Sep 22, 2021 · 1 comment
Closed
Labels
help wanted Extra attention is needed

Comments

@swtrse
Copy link

swtrse commented Sep 22, 2021

System information

Erigon version: 2021.09.3-alpha

OS: Linux

Expected behavior

Rpc daemon serves request or at least there should be a way to configure the maximum accepted frame size.

Actual behavior

Rpc daemon throws error that is only visible if verbosity is set to debug level.

Steps to reproduce the behavior

  1. Run rpc daemon and erigon configured for ropsten
  2. Use bitcore-node configured to use erigon and rpc daemon as client.

Backtrace

Sep 22 14:19:25 Testlab.locallan rpcdaemon[86274]: [DBUG] [09-22|14:19:25.378] RPC connection read error                err="websocket: close 1009 (message too big): Frame size of 1684603 bytes exceeds maximum accepted frame size"
Sep 22 14:19:27 Testlab.locallan rpcdaemon[86274]: [DBUG] [09-22|14:19:27.392] Served                                   t=257.984µs method=eth_blockNumber reqid=214 params=[]
Sep 22 14:19:27 Testlab.locallan rpcdaemon[86274]: [DBUG] [09-22|14:19:27.427] Served                                   t=32.955311ms method=eth_getBlockByNumber reqid=215 params="[\"0x906d5\",true]"
Sep 22 14:19:27 Testlab.locallan rpcdaemon[86274]: [DBUG] [09-22|14:19:27.484] RPC connection read error                err="websocket: close 1009 (message too big): Frame size of 1684603 bytes exceeds maximum accepted frame size"
Sep 22 14:19:29 Testlab.locallan rpcdaemon[86274]: [DBUG] [09-22|14:19:29.501] Served                                   t=427.106µs method=eth_blockNumber reqid=218 params=[]
Sep 22 14:19:29 Testlab.locallan rpcdaemon[86274]: [DBUG] [09-22|14:19:29.551] Served                                   t=41.586673ms method=eth_getBlockByNumber reqid=219 params="[\"0x906d5\",true]"
Sep 22 14:19:29 Testlab.locallan rpcdaemon[86274]: [DBUG] [09-22|14:19:29.616] RPC connection read error                err="websocket: close 1009 (message too big): Frame size of 1684603 bytes exceeds maximum accepted frame size"
Sep 22 14:19:31 Testlab.locallan rpcdaemon[86274]: [DBUG] [09-22|14:19:31.625] Served                                   t=287.309µs method=eth_blockNumber reqid=222 params=[]
Sep 22 14:19:31 Testlab.locallan rpcdaemon[86274]: [DBUG] [09-22|14:19:31.669] Served                                   t=41.221775ms method=eth_getBlockByNumber reqid=223 params="[\"0x906d5\",true]"
Sep 22 14:19:31 Testlab.locallan rpcdaemon[86274]: [DBUG] [09-22|14:19:31.762] RPC connection read error                err="websocket: close 1009 (message too big): Frame size of 1684603 bytes exceeds maximum accepted frame size"
Sep 22 14:19:33 Testlab.locallan rpcdaemon[86274]: [DBUG] [09-22|14:19:33.770] Served                                   t=220.783µs method=eth_blockNumber reqid=226 params=[]
Sep 22 14:19:33 Testlab.locallan rpcdaemon[86274]: [DBUG] [09-22|14:19:33.818] Served                                   t=46.503206ms method=eth_getBlockByNumber reqid=227 params="[\"0x906d5\",true]"
@swtrse swtrse changed the title RPC daemon is unable to handle messages sizes RPC daemon is unable to handle messages that exceed accepted frame size Sep 22, 2021
@AskAlexSharov AskAlexSharov added the help wanted Extra attention is needed label Sep 23, 2021
@gelfand
Copy link
Contributor

gelfand commented Sep 28, 2021

closes #2739

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants