question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add banner to indicate network/RPC issues

See original GitHub issue

Overview

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:closed
  • Created 3 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
marcinbodnarcommented, Jun 3, 2021
1reaction
kcole16commented, Oct 12, 2020

@Patrick1904 Seems like we should use the RPC endpoint /health instead (checking https://rpc.mainnet.near.org), as it’s more direct.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found