Endless loop Obtaining default signing identity
Hi together,
currently i am not able to proceed the next page after LAB 4.1. after starting docker-compose -f docker-compose-simple.yaml up i am running into an endless loop with already mentioned in the discussion title.
The related logs are in the attachement. Maybe someone is able to help me so that i can continue with the course.
Best wishes
Comments
-
Hi fcioanca the description "next page after LAB 4.1" was only for location where i stucked
. So execution of lab exercises is correct, yes. i am not able to execute the page after LAB 4.1.Thanks for your answer and i hope now u can follow my request + maybe able to help me
best wishes0 -
Hello, Lets see if we can get solve this issue. When you start Lab 4.1 The first command is to enter the CLI container with the
_** # docker exec -it cli bash_ Command. I am assuming this is where your endless loop starts. Are you able run the next command to print the
environmental variables values to the console to make sure everything is set properly?
_# echo $CORE_PEER_ADDRESS $CORE_PEER_LOCALMSPID $CORE_PEER_MSPCONFIGPATH**_The expected Outcome is:
**peer0.org1.example.com:7051 Org1MSP
/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/o
rg1.example.com/users/Admin@org1.example.com/msp
**If you cannot get to this step we might want to look at your docker installation is it Version 1.14.0 or older? Also in the previous lab, did you get any errors when completing the exercise on Starting the Basic network ? Lab 4.1 starts with the assumption
that the Basic Network is up and running.You could also try the solution @Mmahwish posted on January 21 of changing the timeout time, but I am not sure how successful that technique was.
HTTP request took too long to complete. Retry with --verbose to obtain debug information. If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60)
Let me know if this helps, Bobbi
0 -
Hi @Bobbijn and thanks for your answer. I am able to print the environmental variables.
The endless loop starts with the command "docker-compose -f docker-compose-simple.yaml up" in the page "Chaincode Development in Dev Mode".. Sometimes it comes to an endless loop and sometimes i get a "HTTP request" error...0 -
@fimas123. hello sorry you are still experiences difficulties. I was going over your issues and it seems you might be mixing the labs with the text book examples. In Lab 4.1 after you verify your environmental variable, the next step is to install the simple chain code. The labs follow a step by step procedure. The text book work, The Chaincode Lifecycle, Chaincode Development in Dev Mode reviews commands but are not meant as steps to follow in the lab section.
Hope this helps, Bobbi0 -
Hi @fimas123,
docker-compose -f docker-compose-simple.yaml upstarts all containers defined indocker-compose-simple.yamland aggregates their output into a terminal window. You shouldn't expect this command to end without a keyboard interuption. Basically, you are facing an expected behaviour of the command above. To spin up container in the background,-dflag is used.When working in chaincode dev mode, one terminal is left open for a while with logs printed from all the containers started by
docker-compose -f docker-compose-simple.yaml up. You should open another terminal window to build and start a chaincode and one more to use it. Please, follow the instructions in the Chaincode development in Dev Mode section carefully. By the end of this section, you should have three open terminal windows.Best regards,
Ilya0
Categories
- All Categories
- 178 LFX Mentorship
- 178 LFX Mentorship: Linux Kernel
- 772 Linux Foundation IT Professional Programs
- 382 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 102 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 9 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 28 Cloud & Containers Training
- 3 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 5 System Administration Training
- 1 System Engineering Training
- 4 Web & Application Development Training
- 797 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 469 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 101 Linux Security
- 79 Network Management
- 101 System Management
- 46 Web Management
- 148 Mobile Computing
- 20 Android
- 113 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 404 Off Topic
- 126 Introductions
- 34 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 716 Software Development
- 1K Software
- 416 Applications
- 182 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)

