Standard JSON verification returns “response returned with invalid status code; status=500 Internal Server Error” #14973
Unanswered
PettyMiggzy
asked this question in
Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
Verifying a contract with “Solidity (Standard JSON input)” on our explorer (https://explorer.vyrechain.com/, Blockscout backend v9.0.2, chain ID 3045) fails every time. The form shows either “response returned with invalid status code; status=500 Internal Server Error” or “verifier service connection”. It happens with the smallest contract we have (a 32 KB standard-input file, 12 source files) and with a large one (181 KB, 35 files).
Settings: compiler v0.7.6+commit.7338295f (nightly builds off), EVM version istanbul, optimizer on with 800 runs, license GPL-2.0-or-later, no libraries, no constructor arguments.
Our explorer is configured with MICROSERVICE_SC_VERIFIER_TYPE=eth_bytecode_db and MICROSERVICE_SC_VERIFIER_URL=https://eth-bytecode-db.services.blockscout.com/. From inside our explorer’s backend container, GET /health on that URL returns {“status”:”SERVING”}.
I also called the service directly, with no explorer involved: POST https://eth-bytecode-db.services.blockscout.com/api/v2/verifier/solidity/sources:verify-standard-json, with compilerVersion v0.7.6+commit.7338295f, the same standard-input JSON, and a placeholder bytecode. It answered after about 22 seconds with HTTP 500 and the body {“code”:13,”message”:”response returned with invalid status code; status=500 Internal Server Error”}. So the error comes from the shared service, not from our deployment.
Our backend log shows no verification error lines at the time of failure.
Could you check whether the verifier behind eth-bytecode-db is failing for solidity v0.7.6, or is down generally? If it is a known issue, an estimated fix time would help. We can run our own verifier microservice instead if you recommend that.
Thank you.
All reactions