Open khkwon01 opened 4 years ago
This is happening in 0.8.6 on Ubuntu / Linux as well. REST client stops working after node gets past bootstrapping. I would be happy to attach logs if I knew how to get to them.
Using release package: jormungandr-v0.8.6-x86_64-unknown-linux-gnu.tar.gz. This is easy to duplicate - been happening for every release I've tried since 0.8.4
These queries work:
$ ./jcli rest v0 node stats get --host "http://127.0.0.1:3100/api"
---
state: PreparingBlock0
version: jormungandr 0.8.6-7686397
$ ./jcli rest v0 node stats get --host "http://127.0.0.1:3100/api"
---
state: Bootstrapping
version: jormungandr 0.8.6-7686397
But then, once the node is bootstrapped:
$ ./jcli rest v0 node stats get --host "http://127.0.0.1:3100/api"
failed to make a REST request
|-> node internal error
|-> http://127.0.0.1:3100/api/v0/node/stats: Server Error: 500 Internal Server Error
Unfortunately, with trace debugging so much info is generated was unable to track down the logs. This should be easy to duplicate however. I've not been able to query a synced node since 0.8.4 on Ubuntu.
This looks to be a duplicate of #1560
It is similar to #1560 but i didn't decided whether it is same reason or not so i made to ticket.
I haven't solved this problem for about 20 days.
My friend helped me
My friend modified the node-config.yaml file as follows:
This is not a fundamental solution.
This is a workaround.
Some people tell me to use the source compile version.
But it worked.
It is not the same as #1560 but could be related maybe.
Describe the bug Hi,
After upgrading version 0.8.5, it happen to 500 error when i execute jcli like following command.
That errors only happen when node or network stats of jcli execute.
jcli rest v0 node stats get --host http://127.0.0.1:8443/api (8443 is our rest api port)
The below is result of jcli command. root@k05:~# jcli rest v0 node stats get --host http://127.0.0.1:8443/api --debug Request { method: GET, url: "http://127.0.0.1:8443/api/v0/node/stats", headers: {}, } Response { url: "http://127.0.0.1:8443/api/v0/node/stats", status: 500, headers: { "content-length": "0", "date": "Wed, 15 Jan 2020 05:22:42 GMT", }, } failed to make a REST request |-> node internal error |-> http://127.0.0.1:8443/api/v0/node/stats: Server Error: 500 Internal Server Error
Mandatory Information
jcli --full-version
output; jcli 0.8.5 (HEAD-3db0680, release, linux [x86_64]) - [rustc 1.40.0 (73528e339 2019-12-16)]jormungandr --full-version
output; jormungandr 0.8.5 (HEAD-3db0680, release, linux [x86_64]) - [rustc 1.40.0 (73528e339 2019-12-16)]To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
I hope that it work well like 0.8.4.
Additional context Add any other context about the problem here.