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.

Etherscan request times out when requesting constructor args

See original GitHub issue

I followed the instructions but failed.

Running truffle-plugin-verify v0.4.0
Verifying Token
Reading artifact file at E:\MyProject\BlockChain\truffle-contracts\abis/Token.json
Retrieving constructor parameters from https://api-ropsten.etherscan.io/api?apiKey=my_api_key&module=account&action=txlist&address=0x4C9D6ed005bfB301726cA23adE690890B853fB60&page=1&sort=asc&offset=1
Failed to connect to Etherscan API at url https://api-ropsten.etherscan.io/api
Failed to verify 1 contract(s): Token

It seems the network problem. But It migrated successfully. when I try to connect to the verify url, it returns right:

PS E:\MyProject\BlockChain\truffle-contracts> curl https://api-ropsten.etherscan.io/api          

StatusCode        : 200
StatusDescription : OK
Content           : {"status":"0","message":"NOTOK-Missing/Invalid API Key, rate limit of 1/5sec 
                     applied","result":"Error! Missing Or invalid Module name"}
RawContent        : HTTP/1.1 200 OK
...

VSCode IDE truffle version: v5.1.48 OS: windows 10

Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:27 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
solnexcommented, Dec 14, 2020

Hey @JoyCood, could you give it a quick check to see if it’s currently still persisting for you? Likewise also, @white-black-hong - Is this still happening? Thanks.

unfortunaly, it is not work yet, the output after command run:

$ truffle run verify Adoption --network rinkeby --debug

DEBUG logging is turned ON Running truffle-plugin-verify v0.5.1 Verifying Adoption Reading artifact file at D:\contract\pet\build\contracts\Adoption.json Retrieving constructor parameters from https://api-rinkeby.etherscan.io/api?> apiKey=MY_API_KEY&module=account&action=txlist&address=0x830dAef5E0f6D39aD689F979bb3AB468c58017FF&page=1&sort=asc&offset=1 connect ETIMEDOUT 108.160.172.232:443 Failed to connect to Etherscan API at url https://api-rinkeby.etherscan.io/api Failed to verify 1 contract(s): Adoption`

You can run the command export https_proxy="http://127.0.0.1:1087" to set the endPoint proxy, remember to replace the port with your network proxy setting.It works for me.

1reaction
SomeJokercommented, Nov 8, 2021

I miss the same problem. The reason for my problem is: the ip obtained by DNS resolution of the domain name cannot be connected. I check api-rinkeby.etherscan.io get useable IP, add this IP mapping api-rinkeby.etherscan.io to my local hosts file. Then I solve this problem.

That’s get domain name mapping IP network. https://url5.co/?t=1636355893

Read more comments on GitHub >

github_iconTop Results From Across the Web

How does Etherscan.io figure out constructor arguments ...
Recently, I've seen that Etherscan is able to automatically figure out passed constructor arguments. how were they able to figure it out?
Read more >
Error in plugin @nomiclabs/hardhat-etherscan - Stack Overflow
The issue seems to occur with the 3.0.2 version of @nomiclabs/hardhat-etherscan, it is fixed in the latest version 3.0.3.
Read more >
Address 0xff5c4b7ec93dd70b862af027bb7f3d9900002c4d
Request txnRequest; bool private initialized = false; /* * addressArgs[0] ... This can occur * legitimately when scheduling fails due to a validation...
Read more >
Reptile Armoury (ARMS) Token Tracker | Etherscan
Each time Vera provides a seed to * @dev Reggie, he gives back a value which is computed ... If your contract could...
Read more >
EthHodler Token - Etherscan
Tokens cannot be moved out during the waiting period, locking the tokens until ... that was requested for withdrawal when withdrawalInitiate() was called....
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