Skip to content

Failed to pass "Fabric Test Network" tutorial #1533

Closed
@yizhihuaqi

Description

@yizhihuaqi

When I executed

ff init fabric test1 \
  --ccp "${HOME}/org1_ccp.yml" \
  --msp "organizations" \
  --ccp "${HOME}/org2_ccp.yml" \
  --msp "organizations" \
  --channel mychannel \
  --chaincode firefly

, it reported error.

Error: no version for docker-compose has been detected

so the following operation are not successful.
After I modified the "~/.firefly/stacks/test1/docker-compose.override.yml" file, I executed

ff start test1 -b -v

and the error was as follows:

ERROR: for firefly_core_0  Container "64dc5b6558c7" is unhealthy.
ERROR: for firefly_core_1  Container "de81c4e47781" is unhealthy.
Encountered errors while bringing up the project.

Then I executed

docker logs 64dc5b6558c7

,it prints:

Copyright (C) 2021 Kaleido
Licensed under the Apache License, Version 2.0
Version:  (Build Date: 2024-01-25T22:47:36Z)

time="2024-06-22T09:29:21Z" level=info msg="Can't read config: read /fabconnect/fabconnect.yaml: is a directory, will rely on environment variables and command line arguments for required configurations\n"
Error: Must provide REST Gateway client configuration path

and I find "~/.firefly/stacks/test1/runtime/blockchain/fabconnect.yaml" is a empty directory rather than a file.
I haven't solved this problem yet.
Below is my docker and docker compose version.

Docker version 26.1.4, build 5650f9b
Docker Compose version v2.28.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions