-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Error: Wallet has error: Error: could not detect network (event=“noNetwork”, code=NETWORK_ERROR, version=providers/5.0.17) #1430
Comments
Here is the
|
Does anyone have the idea about the problem? If you do, please don't hesitate to share. I am stuck with it right now. Many thanks. |
The JsonRpcProvider makes For constant chain id providers, you can use |
|
StaticJsonRpcProvider is added in v5 (#901), so definitely it should work. Also can you share what exact error you are getting? |
BTW is there doc about StaticJsonRpcProvider? I didn't find it in v5 doc. |
I had a quick look in the docs and seems it's not there. Will be added soon! For now it's API is pretty much same as JsonRpcProvider. |
After enabling JWT token authentication on besu network, a connectionInfo with JWT token in headers is used to make connection to the network, instead of url.
Also tried:
The error is the same with wallet.
However querying network with cUrl (provided by Besu doc) in command line returns true.
The network is running fine. The app calling JsonRpcProvider has React Native 0.62.3.
Here are returns of
eth_chainId
andeth_netowrkId
in command line withcurl
:Before enabling JWT token authentication, the Besu was running fine with contract deployment, contract method calling and so on.
The text was updated successfully, but these errors were encountered: