Add banner to indicate network/RPC issues
See original GitHub issueOverview
Recent network issues have made the wallet slow/unusable for periods of time. Additionally, some of our error messages are quite vague/misleading in these cases, and we do not warn users that the network may be the underlying issue (e.g. “Invalid Seed Phrase”).
Adding a banner with a warning and link to nearprotocol.statuspal.io will help provide some indication of what’s happening.
Perform health check by calling RPC endpoint /health
Acceptance Criteria
- When RPC is unresponsive, display a red banner at the top of the page
- “Our network nodes are experiencing issues. Please check back later, as you will likely encounter high error rates, including during login. To view the latest network status updates, click here”
- Link to nearprotocol.statuspal.io
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
Tips To Handle RPC Request Errors - Chainstack Blog
We are sharing different solutions to handle RPC request errors in your application: promise methods, retries, and backup providers.
Read more >How to Add Alchemy RPC Endpoints to Metamask
Step 3: Choose "Custom RPC" in Metamask. Navigate to your MetaMask wallet and click the network dropdown at the top, selecting "Custom RPC"...
Read more >Understanding and resolving MetaMask error codes
This guide outlines the most common and confusing MetaMask error codes to help you resolve errors for a smoother Web3 development ...
Read more >How to fix remote connection error ("RPC server is unavailable")
In the network component type, select Service and click Add. Select File and Printer Sharing for Microsoft Networks and click OK. Click Close...
Read more >Troubleshooting banner delivery for Revive Adserver
Open the Revive Adserver admin page and check the banner's properties – there should be a banner preview above the main options. If...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@stefanopepe done #1803
@Patrick1904 Seems like we should use the RPC endpoint
/health
instead (checking https://rpc.mainnet.near.org), as it’s more direct.