Skip to content
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

Verification HTTP 400 Error #211

Closed
jmank88 opened this issue Jan 17, 2019 · 9 comments
Closed

Verification HTTP 400 Error #211

jmank88 opened this issue Jan 17, 2019 · 9 comments
Assignees

Comments

@jmank88
Copy link
Contributor

jmank88 commented Jan 17, 2019

Attempts to verify this contract result in error:
https://explorer.gochain.io/verify?address=0xA7620862540F635342B166206108D7B31C875Dd8
Name: MirrorSC
Code: https://gist.github.com/jmank88/c86d4bd7772ac90954320914f1d60ecc

The interface displays: ERROR OCCURRED DURING ANTI-BOT CHECKING. PLEASE TRY AGAIN

The javascript console shows https://explorer.gochain.io/api/verify returning 400 and then a null field access on the empty response object.

@bergauz
Copy link
Contributor

bergauz commented Feb 27, 2019

@jmank88 disabled recaptcha3, will make recaptcha2. Right now getting compile error, checking

@jmank88
Copy link
Contributor Author

jmank88 commented Mar 25, 2019

Has this been resolved?
Edit: I'm still seeing the same behavior.

@bergauz
Copy link
Contributor

bergauz commented Apr 4, 2019

it should be fixed by #244

@jmank88
Copy link
Contributor Author

jmank88 commented Apr 4, 2019

I am still seeing the same behavior. Can anyone reproduce this? The 400 is one problem, but there is a secondary problem with handling the error as well: Cannot read property 'valid' of null

@jmank88
Copy link
Contributor Author

jmank88 commented Apr 4, 2019

In the server logs I see:

ERR error while compilation error="solc: exit status 125\ndocker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.\nSee 'docker run --help'.\n"

Shouldn't that be a 500 or something? Not a 400?

@r-gochain
Copy link
Contributor

Tested on testnet, works

@jmank88
Copy link
Contributor Author

jmank88 commented Apr 15, 2019

Now I get the error "INVALID CONTRACT NAME", and the same 400 response with a null pointer error in the console.

@jmank88
Copy link
Contributor Author

jmank88 commented May 3, 2019

  • The text above the inputs should explain that 'Contract Name' must match a contract from the source - maybe the error should explain this too
  • When a 400 (or any non-200) is returned (invalid contract name, mismatched output, etc.), the valid field should not be accessed - this causes a null pointer
    Screenshot from 2019-05-03 11-37-36

r-gochain pushed a commit that referenced this issue May 11, 2019
* improved contract verification, related #211

* hide empty tx contract address field, related to #283

* removed default gas limit from contract form, related to #255

* renamed button on transaction success page, related to #255
@r-gochain
Copy link
Contributor

LGTM, the contract name is "Mirror"

@jmank88 jmank88 closed this as completed Jun 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants