Consensys / quorum-dev-quickstart

The Quorum Developer Quickstart utility can be used to rapidly generate local Quorum blockchain networks for development and demo purposes using Besu and GoQuorum
Apache License 2.0
135 stars 101 forks source link

Docker-compose file is broken #81

Closed BravoNatalie closed 3 years ago

BravoNatalie commented 3 years ago

I'm trying to set up ConsenSys Quorum using Hyperledger Besu for the first time, and I run into an error on the docker-compose file while following the quickstart tutorial.

I follow the following steps to generate the error:

  1. npx quorum-dev-quickstart

  2. Which Ethereum client would you like to run? Default: (1) My answer: 1

    1. Hyperledger Besu
    2. GoQuorum
  3. Do you want to try out Codefi Orchestrate? Note: choosing yes will direct you to a login/registration page. [Y/n] My answer: n

  4. Do you wish to enable support for private transactions? [Y/n] My answer: y

  5. Do you wish to enable support for logging with Splunk or ELK (Elasticsearch, Logstash & Kibana)? Default: (1) My answer: 3

    1. None
    2. Splunk
    3. ELK
  6. Where should we create the config files for this network? Please choose either an empty directory, or a path to a new directory that does not yet exist. Default: ./quorum-test-network ./quorum-test-network

  7. ✅ Installation complete. To start your test network, run 'run.sh' in the directory, './quorum-test-network'

  8. cd quorum-test-network

  9. ./run.sh

Error on terminal:

*************************************
Quorum Dev Quickstart
*************************************
Start network
--------------------
Starting network...
ERROR: yaml.constructor.ConstructorError: while constructing a mapping
  in "./docker-compose.yml", line 383, column 5
expected a mapping or list of mappings for merging, but found scalar
  in "./docker-compose.yml", line 253, column 19
ERROR: yaml.constructor.ConstructorError: while constructing a mapping
  in "./docker-compose.yml", line 383, column 5
expected a mapping or list of mappings for merging, but found scalar
  in "./docker-compose.yml", line 253, column 19
*************************************
Quorum Dev Quickstart 
*************************************
----------------------------------
List endpoints and services
----------------------------------
JSON-RPC HTTP service endpoint                 : http://localhost:8545
JSON-RPC WebSocket service endpoint            : ws://localhost:8546
Web block explorer address                     : http://localhost:25000/

Some information about my environment:

$  uname -a                
Linux bravo-K46CB 5.4.0-77-generic #86~18.04.1-Ubuntu SMP Fri Jun 18 01:23:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

$ docker --version        
Docker version 20.10.7, build f0df350

$ docker-compose --version
docker-compose version 1.29.2, build 5becea4c
joshuafernandes commented 3 years ago

Hello @BravoNatalie

Thank you for reporting this, it should be fixes with #82. Could you try this again please and let us know if there is still an issue?

Cheers Josh

BravoNatalie commented 3 years ago

Hi @joshuafernandes,

Thanks for the quick response. I just ran it again and it has the same error.

joshuafernandes commented 3 years ago

Hi @BravoNatalie

This is very odd, those lines shouldn't exist in code anymore. Could you double check the version please?

I'm running on Ubuntu 20.04 and this is what I get on version 0.0.26:

image image

I've just released 0.0.27 which keeps the besu env vars in one place and the code is a bit easier to follow and this is what I get: image image

Cheers Josh

chriszertamayo commented 1 year ago

this is what i got in monterey mac why is it not working? please help

Screen Shot 2023-03-17 at 12 42 59 AM Screen Shot 2023-03-17 at 12 43 16 AM Screen Shot 2023-03-17 at 12 43 24 AM
ous-ahm2000 commented 8 months ago

i cant access to services endpoints , im using docker on windows , did anyone face this problem?


List endpoints and services

JSON-RPC HTTP service endpoint : http://localhost:8545 JSON-RPC WebSocket service endpoint : ws://localhost:8546 Web block explorer address : http://localhost:25000/