GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ngo-collaboration-using-blockchain/Debugging.md at master · IBM/ngo-collaboration-using-blockchain

This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Expand file tree

/

Debugging.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
39 lines (29 loc) · 2.09 KB
/

Debugging.md

Copy path

File metadata and controls

39 lines (29 loc) · 2.09 KB
Raw
Copy raw file
Download raw file
Edit and raw actions
  • If chaincode instantion fails during setup of Blockchain network on Kubernetes, check the logs of Chaincode-instantiation pod. If error says:

    Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error starting container: cannot connect to Docker endpoint 
    

    It means you are using IKS 1.11.x or more but have not modified blockchain-network-on-kubernetes/configFiles/peersDeployment.yaml as mentioned in Step 2. Please perform the step as explained, network will be setup successfully.

  • While running kubectl commands, if you get error as:

    The connection to the server localhost:8080 was refused - did you specify the right host or port?
    

    It means environment is not set properly. Export KUBECONFIG path, it will work. To get more details on KUBECONFIG value, refer to the Access tab of your cluster in IBM Cloud Dashboard.

  • If there is connection related exception in the Liberty runtime logs, please check whether the IP address of the Kubernetes network has been specified correctly in the manifest.yml file as described in Step 3 (Build the client application based on Fabric Java SDK).

org.hyperledger.fabric_ca.sdk.exception.EnrollmentException: Url:http://xxx.xx.xx.xxx:30054, Failed to enroll user admin 
	at org.hyperledger.fabric_ca.sdk.HFCAClient.enroll(HFCAClient.java:518)
...
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to xxx.xx.xx.xxx:30054 [/xxx.xx.xx.xxx] failed: Operation timed out (Connection timed out)
...
Caused by: java.net.ConnectException: Operation timed out (Connection timed out)
	at java.net.PlainSocketImpl.socketConnect(Native Method)
  • During running the web application, if you get the following error:
This page isn’t working

It means that the url of the Java SDK application might not be right. Ensure that the Java SDK application url is provided correctly in config.js file of webapp.

This site can’t be reached

It means that Java SDK application might not be running. Ensure that the Java SDK application is up and running.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.