Giter Club home page Giter Club logo

Comments (17)

ug93tad avatar ug93tad commented on May 31, 2024

how do you configure your VMs? Can they ping each other? Do they run SSH servers?

from blockbench.

jamievaravara avatar jamievaravara commented on May 31, 2024

I have them both running on NAT, and they can ping each other. Both of the VMs are running SSH servers.

from blockbench.

ug93tad avatar ug93tad commented on May 31, 2024

what version of Ethereum are you running? the VMs with ...130 address is running your server?

from blockbench.

jamievaravara avatar jamievaravara commented on May 31, 2024

The ...129 address is running ethereum 1.8.4-stable
The ...130 address is running ethereum 1.8.2-stable

The ...129 address is the one I'm trying to run blockbench on,
and the ...130 address has an installation of etherum, installed trough the install.sh script in the blockbench/benchmark/ethereum directory.

They are both running ssh servers, and I can connect to each vm with ssh successfully.

from blockbench.

ArnChe avatar ArnChe commented on May 31, 2024

I had the same problem. The field in extraData for Genesis_Files should be "extraData": "", and not "extraData": "0x0",
Are your running from a local machine or do you run totally inside VMs?
I'am currently working on this topic too

from blockbench.

ug93tad avatar ug93tad commented on May 31, 2024

ok this is the problem with Ethereum version.

In version 1.7.x, you need 0x in front, but maybe in 1.8.x it has been removed.

from blockbench.

johnslorid avatar johnslorid commented on May 31, 2024

I have a similar issue, but I get this error after connecting through ssh and creating the genesis file:

Fatal: Unable to attach to remote geth: dial unix //home/john/Documents/ethereum/privatechain/geth.ipc: connect: no such file or directory
Fatal: Unable to attach to remote geth: dial unix //home/john/Documents/ethereum/privatechain/geth.ipc: connect: no such file or directory
done node 192.168.187.130

Full output here:

from blockbench.

jamievaravara avatar jamievaravara commented on May 31, 2024

Thanks for the help @ArnChe ! It solved my issue. I have to change the value of the extraData fieled to "", but I didn't know that I had to change the genesis file in the VM that did not run the ./run-bench.sh script.

And I also had to add this to the genesis file.
"config": { "chainId": 123123, "homesteadBlock": 0, "eip155Block": 0, "eip158Block": 0 }, as the genesis file lacked config for the chain.

from blockbench.

jamievaravara avatar jamievaravara commented on May 31, 2024

I now have the same issue as @johnslorid though

from blockbench.

ArnChe avatar ArnChe commented on May 31, 2024

@johnslorid and @jamievaravara as I suppose, you are using your local machine with /home/username/path/to/benchmark and an instance with Ubuntu, right? So you have another path with /home/ubuntu. You have to determine the paths needed for the execution on your local machine and on the VMs. If shell should run on VM, pass a new directory like dir=directory/in/vm in front of the script.sh pointing to your directory in the VM. And I had to make another trick by gathering the enode adresses of the servers on my local machine and copy it to the right directory on server VMs via scp. That worked out for me. For the config files, have a look to the github repo of ethereum. Hope the explenation is understandable.

from blockbench.

jamievaravara avatar jamievaravara commented on May 31, 2024

thanks @ArnChe , I'm have changed the value of the ETH_DATA variable to /home/thesis/.ethereum, but the vm running run-bench.sh can still not find the geth.ipc for some reason.

from blockbench.

ArnChe avatar ArnChe commented on May 31, 2024

Please chosse another path, because the .ethereum is a predefined folder for geth. What is the output of your addPeer.txt on the server after starting the test?

from blockbench.

jamievaravara avatar jamievaravara commented on May 31, 2024

the content of addPeer.txt is just admin.addPeer(). I believe nothing starts running, even though the genesis block is created, since it for some reason can not find the geth.ipc file.

from blockbench.

ArnChe avatar ArnChe commented on May 31, 2024

That's the problem, your server/miner has to get information about all mining server in the network. You have to pass this addPeer.txt file to the mining server nodes. I start the framework from my local host, gather the enode addresses from server/mining nodes and pass it with scp to all mining nodes.

from blockbench.

yolo-612 avatar yolo-612 commented on May 31, 2024

@johnslorid @jamievaravara Hello, I have the same problem now, how do you solve this problem?
Fatal: Unable to attach to remote geth: dial unix
//home/djs/Documents/ethereum/privatechain/geth.ipc: connect: no such file or directory
Fatal: Unable to attach to remote geth: dial unix
//home/djs/Documents/ethereum/privatechain/geth.ipc:` connect: no such file or directory
done node 10.128.28.217

from blockbench.

yogesa avatar yogesa commented on May 31, 2024

image
I want to know, the log result whether it is normal ? it show that result have some valid data, but some data it istill 0.
If it is normal, I want to understand why the result it is 0.

from blockbench.

tienquyet28 avatar tienquyet28 commented on May 31, 2024

og result whether it is n

hi your log is normal due to the process of POW in ethereum it take sometime to approve your tx count so some =0 when POW is taking place, after done it will be count in polled block: right after that latency and request are counted as per respect to tx count

from blockbench.

Related Issues (20)

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.