Skip to content
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

getinfo unparsable response to CLI #1337

Open
erkarl opened this issue Nov 22, 2019 · 0 comments
Open

getinfo unparsable response to CLI #1337

erkarl opened this issue Nov 22, 2019 · 0 comments
Assignees
Labels

Comments

@erkarl
Copy link
Collaborator

@erkarl erkarl commented Nov 22, 2019

Using latest xud-docker/simnet I managed to get xud into a state where the CLI can no longer parse its getinfo response:

➜  xud git:(master) ✗ ./bin/xucli -c=/home/ar/.xud-docker/simnet/data/xud/tls.cert getinfo
Error: 13 INTERNAL: Failed to parse server response
➜  xud git:(master) ✗ ./bin/xucli -c=/home/ar/.xud-docker/simnet/data/xud/tls.cert getinfo -j
Error: 13 INTERNAL: Failed to parse server response

Looking at xud logs it appears it's up and running:

...
xud_1     | 22/11/2019 08:51:20.211 [P2P] verbose: received order from 026f02b277cb19a96b40d92cf7248c3c31413ddac58f85af432b542c3e8a4bfb65: {"id":"40af76a0-0d05-11ea-8114-1bb3f06fcb3c","pairId":"WETH/BTC","price":0.02085633,"quantity":100000000,"isBuy":true}
xud_1     | 22/11/2019 08:51:20.212 [ORDERBOOK] debug: order added: {"id":"40af76a0-0d05-11ea-8114-1bb3f06fcb3c","pairId":"WETH/BTC","price":0.02085633,"quantity":100000000,"isBuy":true,"peerPubKey":"026f02b277cb19a96b40d92cf7248c3c31413ddac58f85af432b542c3e8a4bfb65","createdAt":1574412680212,"initialQuantity":100000000}
xud_1     | 22/11/2019 08:51:20.212 [P2P] verbose: received order from 026f02b277cb19a96b40d92cf7248c3c31413ddac58f85af432b542c3e8a4bfb65: {"id":"40afebd0-0d05-11ea-8114-1bb3f06fcb3c","pairId":"WETH/BTC","price":0.02127767,"quantity":100000000,"isBuy":false}
xud_1     | 22/11/2019 08:51:20.212 [ORDERBOOK] debug: order added: {"id":"40afebd0-0d05-11ea-8114-1bb3f06fcb3c","pairId":"WETH/BTC","price":0.02127767,"quantity":100000000,"isBuy":false,"peerPubKey":"026f02b277cb19a96b40d92cf7248c3c31413ddac58f85af432b542c3e8a4bfb65","createdAt":1574412680212,"initialQuantity":100000000}
xud_1     | 22/11/2019 08:51:47.210 [RPC] debug: received call /xudrpc.Xud/GetInfo
xud_1     | 22/11/2019 08:51:49.310 [RPC] debug: received call /xudrpc.Xud/GetInfo

Restarting the docker environment doesn't solve the issue. I'll share my .xud-docker data directory privately so that it's possible to reproduce the issue.

@erkarl erkarl added the bug label Nov 22, 2019
@kilrau kilrau added this to To do in 1.0.0-beta.2 via automation Nov 22, 2019
@kilrau kilrau added the P3 label Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
1.0.0-beta.2
  
To do
3 participants
You can’t perform that action at this time.