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

backerei: fdReadBuf: hardware fault (Input/output error) #35

Open
jrhite opened this issue Apr 7, 2019 · 7 comments
Open

backerei: fdReadBuf: hardware fault (Input/output error) #35

jrhite opened this issue Apr 7, 2019 · 7 comments

Comments

@jrhite
Copy link

jrhite commented Apr 7, 2019

backerei fails with the error below. Note that when I run the tezos-client command by hand it works fine. Very unfamiliar with the Haskell dev environment and not sure how to proceed.

This looks related to #18

Any guiding tips would be much appreciated. Thanks!

Running '/home/bakerei_payer/tezos/tezos-client -c /home/bakerei_payer/.tezos-client/config sign bytes 0x03906ce8371eecd855b6f01459f1a2d665590d5d68c41e430f48f14d0819db1e230801173789aca56db5ab1e1de3fba65c6d789ac9ad92008c0b03bc5000c691ac140161263367ed9379b4eb8c757d9c2fd2ff4e3d799f00000801173789aca56db5ab1e1de3fba65c6d789ac9ad92008c0b04bc5000ab6101a919c11272c753205af2f39920b2b521b36f72f20000 for bakerei_payer' in a pty
backerei: fdReadBuf: hardware fault (Input/output error)

Here's some system info if it helps:

OS:
    Ubuntu 18.04.2 LTS
    4.15.0-47-generic #50-Ubuntu SMP Wed Mar 13 10:44:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Stack Version 1.9.3

backerei: master d8c443876
@dawsy8888
Copy link

Im getting the same error

@cwgoes
Copy link
Contributor

cwgoes commented Apr 18, 2019

Are you running with a local signer or a remote signer?

The signing code in backerei may not work with the latter, it's particular to a certain CLI interaction.

@dawsy8888
Copy link

dawsy8888 commented Apr 18, 2019 via email

@jrhite
Copy link
Author

jrhite commented Apr 19, 2019

Yes, I'm running against a remote signer.

@cwgoes
Copy link
Contributor

cwgoes commented Apr 21, 2019

Ok, backerei probably needs a fix to work with remote signers. Try editing the code here, which is particular to the way tezos-client reads and writes from the terminal. Glad to accept a PR, perhaps add it as an option to the configuration file.

@dawsy8888
Copy link

Thanks - not a coder myself and we are using a local address to sign. It appears that "' in a pty" is being appended to the sign operation, and this is causing the error. When I cut and paste without "' in a pty " the command is successfull

@cwgoes
Copy link
Contributor

cwgoes commented May 4, 2019

I don't think that is being appended, that's just what backerei prints.

Have you had any success? Unfortunately I can't test this easily locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants