neurips_blockflow1's People
Forkers
saintjacksonneurips_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,
-
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.
-
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.
-
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.