-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running supply chain example #2312
Comments
I realized this was a ubuntu kernel error with docker, and was able to fix it by downgrading my kernel version to 5.15.20 using this method and re-installing docker. |
still getting those log errors cannot connect to docker |
@Yogesh01000100 Not sure if this is the actual root cause or not but it definitely is an issue that you are using an old kernel that is older than what @inwonakng installed to fix the issue, so I'd look into those steps first. |
Describe the bug
I am trying to run the supply chain example application. I tried using the docker image as well as local build, and both seem to output a similar error with some connection error within the containers spawned by the app (my guess). The build and installation process work fine, but the last command
yarn start
is where the issue happens.To Reproduce
Configure project using node=16.14.2, following local instructions on https://github.com/hyperledger/cacti/tree/main/examples/supply-chain-app
Run
yarn start:supply-chain-app
from the root folderExpected behavior
Application frontend reachable at localhost:3200
Logs/Stack traces
Screenshots
None
Cloud provider or hardware configuration:
I am running on a local machine.
Operating system name, version, build:
docker --version output:
Hyperledger Cactus release version or commit (git rev-parse --short HEAD):
Release Version 1.1.3 (unpacked from zip)
Hyperledger Cactus Plugins/Connectors Used
examples/cactus-examples-supply-chain-backend/main/typescript/supply-chain-app.ts
Additional context
I believe the error is happening at the contract instantiation step. I tried going through the debug outputs, and the client seems to fail after this message appears in during the contract step
I think may be a docker permission issue related to #2073. I was previously getting the cgroup error, but after following a few 'hacks' online to resolve this issue, I don't get it anymore but am getting this new problem. The whole log file (before I killed the process) is attached.
supply-chain-app-log.txt
The text was updated successfully, but these errors were encountered: