hyperledger/cello

Not working,Many functions have a 400 status code

Closed this issue · 10 comments

I used the v1.0 release version of the main branch
image
When I started the service and logged into the web system, many functions had 400 status codes, which prevented me from using them
image
image
image

Could you clean the local build first by running make clean, then pull the lastest main branch and try it again? Our database model and code base have changed since v1.0 and the inconsistency may cause the issue.

Based on your screenshot, for the ca node creation error, it may be because you haven't created the agent yet. Please use http://cello.docker.agent:5001 as the agent URL, as it will connect Cello to the docker network. If you want, you may provide us with error messages or docker logs for our further investigation.

For the Network and chaincode GET issues, please try to pull the latest version and try again.

We will enhance our documentation in the next release, thank you for your patience.

image
you need set the agent first,then add the node

您可以先通过运行清理本地构建make clean,然后拉出最新的主分支并重试吗?自 v1.0 以来,我们的数据库模型和代码库已发生变化,不一致可能会导致问题。

根据您的截图,对于ca节点创建错误,可能是因为您还没有创建代理。请使用 http://cello.docker.agent:5001作为代理 URL,因为它将把 Cello 连接到 docker 网络。如果您愿意,您可以向我们提供错误消息或 docker 日志,以便我们进一步调查。

对于网络和链码 GET 问题,请尝试拉取最新版本并重试。

我们将在下一个版本中增强我们的文档,感谢您的耐心等待。

The latest version also has the same problem. I tried many versions but can't run this project. It's really too bad.

Note that I am using the latest version
Creating a proxy also reported an error
image
Except for creating a user, it is normal, and other api requests will have a 400 status code.

Note that I am using the latest version Creating a proxy also reported an error image Except for creating a user, it is normal, and other api requests will have a 400 status code.

Could you check if there are any error messages in docker containers? The log may help us find the issue.

Note that I am using the latest version Creating a proxy also reported an error image Except for creating a user, it is normal, and other api requests will have a 400 status code.

Could you check if there are any error messages in docker containers? The log may help us find the issue.

Where are the logs of the mirror hyperledger/cello-api-engine api container stored?

  1. Add the organization http package information
    image
  2. Add Agent http package information
    image
  3. Add network http package information
    image
    .....
    But adding users is possible
    image

@YUNGU23 will add the steps later.

Hi 0verf1ow, thank you for your issue. I tried to address your issue, but each time it works well.

Here is my step by step process, hope it helps:

  1. Update to the latest version;
  2. make local -> make docker -> make start
  3. Open the web link and log in: http://localhost:8081/
  4. It works well, and don't have any issue

image
image
image
image

@YUNGU23 Were you able to upload the chaincode? Please help me with the stated issue #598