backerei icon indicating copy to clipboard operation
backerei copied to clipboard

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

Open jrhite opened this issue 6 years ago • 7 comments

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

jrhite avatar Apr 07 '19 08:04 jrhite

Im getting the same error

dawsy8888 avatar Apr 14 '19 12:04 dawsy8888

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.

cwgoes avatar Apr 18 '19 22:04 cwgoes

Hello

We use an unencrypted local account for payments and a remote signer for the baking account.

Cheers Steve

On Fri, 19 Apr. 2019, 8:03 am Christopher Goes, [email protected] wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cryptiumlabs/backerei/issues/35#issuecomment-484704871, or mute the thread https://github.com/notifications/unsubscribe-auth/AGYFMK4GYO6V7GGKHJ4ZHO3PRDV3TANCNFSM4HECQMKA .

dawsy8888 avatar Apr 18 '19 23:04 dawsy8888

Yes, I'm running against a remote signer.

jrhite avatar Apr 19 '19 09:04 jrhite

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.

cwgoes avatar Apr 21 '19 18:04 cwgoes

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

dawsy8888 avatar Apr 28 '19 04:04 dawsy8888

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.

cwgoes avatar May 04 '19 23:05 cwgoes