Coder Social home page Coder Social logo

neurips_blockflow1's People

Contributors

ravirahman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

saintjackson

neurips_blockflow1's Issues

Web3 Unable to Connect Geth Container Open Port

Hi Ravi,

I have configured the development environment from /geth/local and everything inside docker containers works fine.

However, when I test the network from /src/examples/logistic_regression/run_multiclients module, the web3 ExampleFactory cannot connect to the container open port.

The code I use is as below:
`web3_factory = ExampleWeb3Factory(WEB3_URI)
w3 = web3_factory.build()

print(w3.isConnected())`

and it returns False.

The port 8545 is open on the host machine. And when I start an installed Geth node manually from local, w3.isConnected() returns true.

Just wonder why the local_geth container cannot be accessed. I think there's something need to configure to connect the geth container, but I don't know where to do it.

Best,
Jackson

Docker Compose raises Requests.exceptions.ConnectionError

Hi,

I encountered an HTTPConnection error when reproducing experiment 5.

I have successfully compiled the contract, and I have started ipfs and geth services via docker-compose.

However, while I executed python3 -m examples.logistic_regression.run_multi_clients --exp_name adult --dataset_folder ../results/adult/split_sym_eq_1_validation_fraction_0.2 --ground_truth_dataset ../results/adult/test.dat from src file, it reports with the following error:

requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8485): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f74fe576470>: Failed to establish a new connection: [Errno 111] Connection refused',))

Is there any specific configuration I missed?

Look forward to your reply : )

Where should keyfile.json be generated

Hi Ravi,

  1. There seems to be no process to generate keyfile.json. I notice the signer address "a019f75409223cfc5453df2f2fe15f3746f012b6" is stored with its ciphertext in keyfile.json, and I bet this is the account to be initialized in docker geth environment.

  2. When running multi-client, should all accounts be created with their keys stored in keystore? The keyfile.json only allows the very first account to appear in geth, which means no other ninety-nine accounts are created.

  3. The gensis.json file only reallocates ether to existing accounts. Therefore, no accounts are returned as genesis.json file is copied to docker env.

Best,
Jackson

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.