fabric samples/test network example with fabric 2.2, and the network error is as follows:
Error: endorsement failure during invoke. response: status:500 message:"error in simulation: failed to execute transaction 18cf3086eb32e877a497fe3cb33a4d0d0dc892f221528bf0788a07d4ffb6bdcf: could not launch chaincode fabcar_1:762e0fe3dbeee0f7b08fb6200adeb4a3a20f649a00f168c0b3c2257e53b6e506: error starting container: error starting container: API error (404): network _test not found"
The possible reason is that the update of
docker compose Version (+ after v1.28) causes problems in reading
As shown in the figure below,
network.Sh script will call
docker compose to start the container. Originally,
docker compose should read the
.Env environment variable according to the
compose in it_PROJECT_Name = net generates a
net_Test , but reading
.Env failed, which is equivalent to not reading the value of
net , so the
in the error message is generated_test not found
./network.sh down drop the network
down . Manually modify the
network.Sh file, add
-- env file./.Env at the command of
docker compose , and explicitly specify to read the environment variable configuration file, as shown in the following figure
restart the network for experiment
- How to Fix ERROR Couldn’t connect to Docker daemon at http+docker://localunixsocket
- How to Solve Kafka Error: no leader
- Docker run Error: container_linux.go:235: starting container process caused “process_linux.go:258: appl
- [Solved] Docker compose error: ERROR: Encountered errors while bringing up the project.
- MAC: How to modify the docker container error [screen is terminating]
- Docker Create tomcat Error standard_init_linux.go:211: exec user process caused “no such file or directory”
- [Solved] Docker Error: Error response from daemon: driver failed programming external connectivity on endpoint
- [Solved] Error(22) WARNING: IPv4 forwarding is disabled. Networking will not work.
- How to Solve k8s Nodal issues: /sys/fs/cgroup/memory/docker: no space left on device\““: unknown.
- How to Solve Docker ERROR: Service’workspace’ failed to build: ERROR: Service’php-fpm’ failed to build
- [Solved] CentOS build a docker error: job for docker.service failed….
- [Solved] Docker Startup Error: panic: runtime error: invalid memory address or nil pointer dereference
- Docker Build Error: Failed to get D-Bus connection: Operation not permitted [Solved]
- [Solved] Canoe CAPL Error: “the test module is not assigned or invalid”
- [environment] docker: error response from daemon: OCI runtime
- Apiserver Error: OpenAPI spec does not exists [How to Solve]
- Docker service startup error: Job for docker.service failed because the control process exited with error code.
- [Solved] ERROR: for jms_koko Cannot start service koko: driver failed programming
- [Solved] Docker Error: Failed to connect to bus: Host is down
- [Solved] Error: Failed to download metadata for repo ‘docker-ce-stable‘: Cannot download repomd.xml: