-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
enhancementNew feature or improvement.New feature or improvement.fixed/completeThis Bug is fixed or Enhancement is complete and published.This Bug is fixed or Enhancement is complete and published.v6Issues regarding v6Issues regarding v6
Description
Ethers Version
6.13.5
Search Terms
provider, infura, bsc
Describe the Problem
I'm receiving timeout errors when using the Infura provider for BSC. Upon checking the code I discovered the RPC URLs used in the package are different than the ones provided by Infura. I was able to stop the errors by switching to JsonRpcProvider using the Infura provided URLs.
Source Code
return "bnbsmartchain-mainnet.infura.io"; |
Ethers.js URLs
bnbsmartchain-mainnet.infura.io
bnbsmartchain-testnet.infura.io
Infura URLs
bsc-mainnet.infura.io
bsc-testnet.infura.io
Code Snippet
Contract ABI
Errors
request timeout (code=TIMEOUT, version=6.13.5)
Environment
node.js (v12 or newer)
Environment (Other)
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or improvement.New feature or improvement.fixed/completeThis Bug is fixed or Enhancement is complete and published.This Bug is fixed or Enhancement is complete and published.v6Issues regarding v6Issues regarding v6