hyperledger-labs / microfab

Microfab is a containerized Hyperledger Fabric runtime for use in development environments
Apache License 2.0
76 stars 22 forks source link

Unable to connect using CLI when TLS is enabled #147

Open CaptainIRS opened 1 year ago

CaptainIRS commented 1 year ago

Configuration:

{
    "tls": {
        "enabled": false
    },
    "ordering_organizations": {
        "name": "Orderer"
    },
    "endorsing_organizations":[
        {
            "name": "Org1"
        },
        {
            "name": "Org2"
        }
    ],
    "channels":[
        {
            "name": "mychannel",
            "endorsing_organizations":[
                "Org1",
                "Org2"
            ]
        },
        {
            "name": "yourchannel",
            "endorsing_organizations":[
                "Org1",
                "Org2"
            ]
        }
    ]
}

Logs:

% ./microfab connect                                                               
2023/02/14 15:23:08 Connecting to URL 'http://console.127-0-0-1.nip.io:8080'
2023/02/14 15:23:08 Identity and Configuration '_mfcfg'
2023/02/14 15:23:08 Unable to get Organizations: Microfab returned HTTP 400 Bad Request