-
Notifications
You must be signed in to change notification settings - Fork 40
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
encoding issue with btcd.rpcclient #5
Comments
in the
output: So most likely this is related to something further into the rpcclient library. EDIT: I went all the way to before it goes back to the httpclient. |
@roylee17 is talking about adding LBRY support to btcd. I think this will be solved once he does that, but maybe he can shed some light on this as he's digging in the code. |
@roylee17 Any update here or idea of what this could be? |
@lyoshenka What are the next steps here. If we just want to ignore these errors, can we close this issue? The last time I investigated this issue, I did not make much progress. I know the old rpc client worked great. |
this is low priority but i don't want to give up on this yet. we need to understand if there's a general problem with jsonrpc, or if we're doing something wrong. i think forgetting about this will come back to bite us later. |
the next step is creating the simplest reproduction of this bug that we can. use as little total code/pieces as possible. post code here when its available, or link to a repo |
The btcd rpcclient has an issue handling certain encoding. This needs to be looked into further as the problem is not obvious. Below is the reproduction so we do not lose track of the problem.
Reproduction:
Added the following code to the top of
daemon.DoYourThing()
then in a separate window, run
sudo tcpdump -i lo port 9245 -A
this lets you see the data sent to and from lbrycrd daemon
when you run
./dev.sh
, you get this:Looking at the params above
..
is not¶
here is lbrycrd-cli
Not sure where the encoding problem is. Using a different RPC client does not cause the same issue.
Acceptance Criteria
Definition of Done
The text was updated successfully, but these errors were encountered: