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

Fail to Start Application due to CouchDB #173

Open
AmaVic opened this issue Sep 8, 2024 · 0 comments
Open

Fail to Start Application due to CouchDB #173

AmaVic opened this issue Sep 8, 2024 · 0 comments

Comments

@AmaVic
Copy link

AmaVic commented Sep 8, 2024

Hello there,

I am trying to use microfab on a ubuntu server (v.24.04 LTS), and I'm having trouble starting the microfab instance because of a timeout related to CouchDB.

Reproducing the Bug

When I am running the following command:

./microfab start --configFile=./microfab-config.json --logs

With the following content in the microfab-config.json file:

{
    "timeout": "120s",
    "ordering_organization": {
        "name": "SampleOrg"
    },
    "endorsing_organizations":[
        {
            "name": "SampleOrg"
        }
    ],
    "channels":[
        {
            "name": "mychannel",
            "endorsing_organizations":[
                "SampleOrg"
            ]
        }
    ]
}

I am getting the following output:

2024/09/08 10:54:57 Starting microfab container..
2024/09/08 10:54:57 Checking for any image already
2024/09/08 10:54:57 Pulling image ghcr.io/hyperledger-labs/microfab:latest
2024/09/08 10:55:37 Status: Downloaded newer image for ghcr.io/hyperledger-labs/microfab:latest
2024/09/08 10:55:37 Checking if 'microfab' already running
2024/09/08 10:55:38 Container ID c0b8731492251c12ef5089f40767bd23d5a8e072da359db4c8cbbf8918662d50
2024/09/08 10:55:38 Microfab is up and running
[       microfabd] 2024/09/08 08:55:38 Starting Microfab ...
[       microfabd] 2024/09/08 08:55:38 Creating endorsing organization SampleOrg ...
[       microfabd] 2024/09/08 08:55:38 Creating ordering organization SampleOrg ...
[         console] 2024/09/08 08:55:38 Creating new x509 cert '*.127-0-0-1.nip.io'
[         console] 2024/09/08 08:55:38 Creating new x509 cert '*.127-0-0-1.nip.io'
[         console] 2024/09/08 08:55:38 Creating new x509 cert 'SampleOrg CA'
[         console] 2024/09/08 08:55:38 Creating new x509 cert 'SampleOrg CA'
[         console] 2024/09/08 08:55:38 Creating new x509 cert 'SampleOrg Admin'
[         console] 2024/09/08 08:55:38 Creating new x509 cert 'SampleOrg Admin'
[       microfabd] 2024/09/08 08:55:38 Created ordering organization SampleOrg
[       microfabd] 2024/09/08 08:55:38 Created endorsing organization SampleOrg
[       microfabd] 2024/09/08 08:55:38 Waiting for CouchDB to start ...
[       microfabd] 2024/09/08 08:57:38 Failed to start application: timeout whilst waiting for CouchDB to start

With a 2 minutes timeout I assumed it should be enough time for CouchDB to start.

Additional Information

Microfab version: 0.0.19 arm 64
Ubuntu VM version 24.04 LTS
Hosting Machine:

  • MacBook Pro M3 8Gb unified memory

Would someone be able to help me with this?

Thanks already for your help!

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

1 participant