Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

issue with --ws-max-connections on http requests #13561

@ehsanhajian

Description

@ehsanhajian

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Description of bug

following https://substrate.stackexchange.com/questions/7485/parachain-rpc-errors-since-polkadot-0-9-36-client-upgrade post. I believe the issue is related to --ws-max-connections . it only works on WS connection, not on HTTP requests.
Screenshot 1401-12-17 at 18 24 37

Screenshot 1401-12-17 at 18 17 25

Screenshot 1401-12-17 at 15 56 33

Screenshot 1401-12-17 at 15 54 57

As you can see in attached images I have a node for both WS and HTTP requests. I set --ws-max-connections 50000 but it only works on WS requests not on HTTP requests. when I sent more than 100 http requests it started to to generate "Transport endpoint is not connected" error/message. It has nothing with SSL/TLS. I tested on both http and https protocols.

Steps to reproduce

I use https://github.com/shazow/ethspam and https://github.com/INFURA/versus to generate valid jsonrpc queries. the command that I use

ethspam --rpc http://endpointurl | versus --concurrency=100 --stop-after=10000 http://endpointurl

Metadata

Metadata

Assignees

No one assigned

    Labels

    J2-unconfirmedIssue might be valid, but it’s not yet known.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions