-
Notifications
You must be signed in to change notification settings - Fork 68
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
Websocket subscription creates the same subscription ID for new connection from the same client #2926
Comments
This is intended behavior:
As a temporary solution to make the relay work as you expect, comment this test and the implementation: hedera-json-rpc-relay/packages/relay/src/lib/subscriptionController.ts Lines 102 to 107 in 5018b23
Waiting for the engineering team to make a decision here, my suggestion is to introduce an env variable to let choose this behavior. |
Neurone
added a commit
to InternetOfPeers/hedera-json-rpc-relay
that referenced
this issue
Sep 2, 2024
Signed-off-by: Giuseppe Bertone <[email protected]>
2 tasks
ebadiere
pushed a commit
that referenced
this issue
Sep 3, 2024
#2929) Fix for #2926 Signed-off-by: Giuseppe Bertone <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
when making new subscription requests from the same client, Hedera creates the same Subscription ID, whereas it should be creating a new one every time similar to other chains. this is critical because our nodes are not able to handle multiple RPC connections in a single node, causing tons of errors
Steps to reproduce
make multiple new subscription requests to
when tried to connect with multiple connections for parallelisation, the existing context gets hung due to the same subscription ID
a new subscription request
Additional context
Hedera network
testnet
Version
latest
Operating system
None
The text was updated successfully, but these errors were encountered: