My workaround
Just like you, my first suspicion was on the GFW and I set up my hosts
file like you did.
ping
success with and without VPN, which means there is NO connection issue between our computers and the domain.
Since there was almost no waiting time when my console emit the error messages,
it really didn’t feel like a timeout error.
secure TLS connection
in the error message got my attention.
Is there a way we could modify the endpoint URL to http
protocol?
Luckily yes:
hardhat-etherscan | Ethereum development environment for professionals by Nomic Foundation
I tried the following:
etherscan: {
apiKey: {
rinkeby: ""
},
customChains: [
{
network: "rinkeby",
chainId: 4,
urls: {
apiURL: "http://api-rinkeby.etherscan.io/api", // https => http
browserURL: "https://rinkeby.etherscan.io"
}
}
]
}
Then everything works with and without VPN.
Source From: Lesson 6: Verify contract fails behind China Great Firewall / GFW with ECONNRESET · Discussion #2247 · smartcontractkit/full-blockchain-solidity-course-js · GitHub
Read More:
- [Solved] INSTALL_FAILED_DEXOPT (DEX optimization verification failed)
- postman CSRF verification failed [How to Solve]
- [Solved] SSH + GIT Operate Error: Host key verification failed
- Error: Host Key Verification Failed [How to Solve]
- Analysis of npm error ENOTFOUND npm ERR! network request to https://npm.***.com/*** failed and the role of the .npmrc file
- [Solved] docker failed to solve: failed to solve with frontend dockerfile.v0: failed to create LLB definition
- Request processing failed; nested exception is com.alibaba.fastjson.JSONException: can not cast to J
- Fetch Error: Failed to execute ‘fetch’ on ‘Window’: Request with GET/HEAD method cannot have body
- [Solved] svn Error: E230001: Server SSL certificate verification failed: certificate issued
- Axios request failed, get the status code and error information, how to encapsulate the function dealing with the public error code
- Mac IDEA Connect SVN Error: E230001: Server SSL certificate verification failed: certificate issued
- Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container…
- [Solved] Error: failed to create deliver client: orderer client failed to connect to orderer.example.com:7050
- Failed to get convolution algorithm. This is probably because cuDNN failed to initialize,
- SVN Error:svn: E230001: Server SSL certificate verification failed: certificate issued
- [Solved] TF2.4 Error: Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
- [Solved] Failed to register: Error: Failed to get admin…. run enrollAdmin.js
- [Solved] Failed to get convolution algorithm. This is probably because cuDNN failed to initialize
- blackduck Error: Request failed authorization [HTTP Error]: XXX, response was 403 Forbidden.
- [Solved] Request processing failed; nested exception is java.lang.NullPointerException