Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Cannot compile on select version of solc #328

Open
elenadimitrova opened this issue Jul 5, 2020 · 3 comments
Open

Cannot compile on select version of solc #328

elenadimitrova opened this issue Jul 5, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@elenadimitrova
Copy link

elenadimitrova commented Jul 5, 2020

Error thrown when not using a locally installed version of solc

> etherlime compile --solcVersion 0.5.4

Sun, 05 Jul 2020 08:49:31 GMT unhandledRejection: Failed to complete request to: http://etherlime.limechain.tech/solc/bin/list.json.

Also this fails confirming it's a problem getting a list of supported solc versions to compare against

npx etherlime compile --list releases --all
Error: Failed to complete request to: http://etherlime.limechain.tech/solc/bin/list.json.

Error: getaddrinfo ENOTFOUND etherlime.limechain.tech etherlime.limechain.tech:80
    at CompilerSupplier.errors (/node_modules/etherlime-argent/cli-commands/compiler/etherlime-compile/compilerSupplier.js:386:16)
    at axiosInstance.get.then.catch.err (/node_modules/etherlime-argent/cli-commands/compiler/etherlime-compile/compilerSupplier.js:161:40)
    at process._tickCallback (internal/process/next_tick.js:68:7)

Sample failing build https://circleci.com/gh/argentlabs/argent-contracts/1089

@ochikov
Copy link
Collaborator

ochikov commented Jul 15, 2020

I just tried to compile a simple contract with 0.5.4 version and it seems to work. Can you confirm it ?

@ochikov ochikov self-assigned this Jul 15, 2020
@ochikov ochikov added the bug Something isn't working label Jul 15, 2020
@elenadimitrova
Copy link
Author

It was fixed meanwhile yes, but for all of 3 days we couldn't compile. You can see the sample failing build in CI. The reliance on a limechain service for compilation is really a single point fo failure that's not acceptable. So this dependency should be removed to prevent this from happening again.

@edmundedgar
Copy link

edmundedgar commented Sep 19, 2020

Same problem here. There's some kind of DoS protection on the hosted site that seems to be misfiring. Hitting one of the failing URLs directly in a web browser from my Japanese connection produces:

etherlime.limechain.tech is protected!
We have noticed an unusual activity from your IP: 143.189.165.88 and your access to the site is blocked.
You can contact our support for more information. If doing so please provide the following ID: 403.

Hitting the thing from a cloud host doesn't trigger the bug.

PS. It also feels bad to be downloading this software from a plain http address, maybe consider just hosting it off github?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants