-
Notifications
You must be signed in to change notification settings - Fork 931
crash due to this log #2288
Comments
I guess |
What version of The important question is, what version of |
"@solana/web3.js": "1.87.6" |
"rpc-websockets": "^7.5.1", |
thanks! I got the reason, it seems that the a lib refer a old version! |
Because there has been no activity on this issue for 7 days since it was closed, it has been automatically locked. Please open a new issue if it requires a follow up. |
I found that someone report this issue before, but that bug was closed.
I check the code in connection.ts, line 6124:
and I found your guys wrote a log "// TODO: Maybe add an 'errored' state or a retry limit?".....
please tell us how to fix, because it will enter dead cycyle and eat all of memory and make the machine crash...
} catch (e) { if (e instanceof Error) { console.error(
${unsubscribeMethod} error:, e.message); } if (!isCurrentConnectionStillActive()) { return; } // TODO: Maybe add an 'errored' state or a retry limit? this._setSubscription(hash, { ...subscription, state: 'subscribed', }); await this._updateSubscriptions(); return; }
logs below:
accountUnsubscribe error: write EPIPE
accountUnsubscribe error: Tried to call a JSON-RPC method
accountUnsubscribe
but the socket was notCONNECTING
orOPEN
(readyState
was 2)accountUnsubscribe error: Tried to call a JSON-RPC method
accountUnsubscribe
but the socket was notCONNECTING
orOPEN
(readyState
was 2)accountUnsubscribe error: Tried to call a JSON-RPC method
accountUnsubscribe
but the socket was notCONNECTING
orOPEN
(readyState
was 2)accountUnsubscribe error: Tried to call a JSON-RPC method
accountUnsubscribe
but the socket was notCONNECTING
orOPEN
(readyState
was 2)accountUnsubscribe error: Tried to call a JSON-RPC method
accountUnsubscribe
but the socket was notCONNECTING
orOPEN
(readyState
was 2)accountUnsubscribe error: Tried to call a JSON-RPC method
accountUnsubscribe
but the socket was notCONNECTING
orOPEN
(readyState
was 2)accountUnsubscribe error: Tried to call a JSON-RPC method
accountUnsubscribe
but the socket was notCONNECTING
orOPEN
(readyState
was 2)accountUnsubscribe error: Tried to call a JSON-RPC method
accountUnsubscribe
but the socket was notCONNECTING
orOPEN
(readyState
was 2)accountUnsubscribe error: Tried to call a JSON-RPC method
accountUnsubscribe
but the socket was notCONNECTING
orOPEN
(readyState
was 2)accountUnsubscribe error: Tried to call a JSON-RPC method
accountUnsubscribe
but the socket was notCONNECTING
orOPEN
(readyState
was 2)accountUnsubscribe error: Tried to call a JSON-RPC method
accountUnsubscribe
but the socket was notCONNECTING
orOPEN
(readyState
was 2)accountUnsubscribe error: Tried to call a JSON-RPC method
accountUnsubscribe
but the socket was notCONNECTING
orOPEN
(readyState
was 2)accountUnsubscribe error: Tried to call a JSON-RPC method
accountUnsubscribe
but the socket was notCONNECTING
orOPEN
(readyState
was 2)The text was updated successfully, but these errors were encountered: