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

SolanaError: Solana error #8190003; Decode this error by running npx @solana/errors decode -- 8190003 #16539

Closed
sentry-io bot opened this issue Jan 22, 2025 · 1 comment · Fixed by #16554
Assignees
Labels
sentry Reports linked from Sentry.io or Sentry enhancements

Comments

@sentry-io
Copy link

sentry-io bot commented Jan 22, 2025

Sentry Issue: TREZOR-SUITE-11Y4

SolanaError: Solana error #8190003; Decode this error by running `npx @solana/errors decode -- 8190003`
  at WebSocket.e (/web/js/201.js:116:171760)
@sentry-io sentry-io bot added the sentry Reports linked from Sentry.io or Sentry enhancements label Jan 22, 2025
@github-project-automation github-project-automation bot moved this to 🎯 To do in Suite Desktop Jan 22, 2025
@martykan
Copy link
Member

8190003 = SOLANA_ERROR__RPC_SUBSCRIPTIONS__CHANNEL_CONNECTION_CLOSED
Should be handled by the code here, we should get rid of console.error for this case.

} catch (error) {
console.error('Solana subscription error:', error);
if (isSolanaError(error, SOLANA_ERROR__RPC_SUBSCRIPTIONS__CHANNEL_CONNECTION_CLOSED)) {
// The WS was closed, we should unsubscribe
if (account.subscriptionId) abortSubscription(account.subscriptionId);
state.removeAccounts([account]);
context.onNetworkDisconnect();
}
}

@martykan martykan self-assigned this Jan 22, 2025
@github-project-automation github-project-automation bot moved this from 🎯 To do to 🤝 Needs QA in Suite Desktop Jan 23, 2025
@bosomt bosomt moved this from 🤝 Needs QA to ✅ Approved in Suite Desktop Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sentry Reports linked from Sentry.io or Sentry enhancements
Projects
Status: ✅ Approved
Development

Successfully merging a pull request may close this issue.

1 participant