Does the web socket transport support ping/pong frames? #1591
Unanswered
0xGuybrush
asked this question in
Question
Replies: 1 comment
-
I am wondering the same. I am using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to understand how/if the web-socket transport layer supports Ping/Pong control frames.
I had a read through the code in
rpc.ts
(and took a look too at isows repo) but couldn't see where this was being handled.If it is being handled, could someone point me in the right direction of the file so I can understand it? 🙏
We're working against a private chain and have noticed connections getting dropped — I thought at first it was a connectivity issue (like issue #877 mentions) but if I added in a call for
getLatestBlock()
every N seconds and haven't had any issues since.Which got me wondering if the cause is that we're not responding to
PING
s & the server is closing the connection and the reason we don't see the issue on public chains is because the baseline level of activity is naturally keeping the connection alive?Beta Was this translation helpful? Give feedback.
All reactions