Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker-compose file is broken #81

Closed
BravoNatalie opened this issue Jul 4, 2021 · 5 comments
Closed

Docker-compose file is broken #81

BravoNatalie opened this issue Jul 4, 2021 · 5 comments

Comments

@BravoNatalie
Copy link

BravoNatalie commented Jul 4, 2021

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
Copy link
Contributor

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
Copy link
Author

Hi @joshuafernandes,

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

@joshuafernandes
Copy link
Contributor

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
Copy link

chriszertamayo commented Mar 16, 2023

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
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants