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

The env could not deliver the requested value. #7

Open
ligi opened this issue Jan 15, 2020 · 8 comments
Open

The env could not deliver the requested value. #7

ligi opened this issue Jan 15, 2020 · 8 comments

Comments

@ligi
Copy link

ligi commented Jan 15, 2020

I am getting this when trying to interact with the ENS contract on main-net

Exception in thread "main" java.lang.Exception: reaching max_attempts and giving up
[0x1]:The env could not deliver the requested value.
[0x1]:The env could not deliver the requested value.
[0x1]:The env could not deliver the requested value.
	at in3.IN3.send(Native Method)
@ligi
Copy link
Author

ligi commented Jan 15, 2020

this is the call that fails:
{"jsonrpc":"2.0","method":"eth_call","params":[{"to":"0x314159265dd8dbb310642f98f50c066173c1259b","data":"0x0178b8bfee6c4522aab0003e8d14cd40a6af439055fd2577951148c14b6cea9a53475835"},"latest"],"id":1}

@simon-jentzsch
Copy link
Contributor

hmm. I tried to reproduce it, but I send this request (through the comandline util) . I get a correct response:

in3 
{"jsonrpc":"2.0","method":"eth_call","params":[{"to":"0x314159265dd8dbb310642f98f50c066173c1259b","data":"0x0178b8bfee6c4522aab0003e8d14cd40a6af439055fd2577951148c14b6cea9a53475835"},"latest"],"id":1}
{"jsonrpc":"2.0","id":1,"result":"0x000000000000000000000000226159d592e2b063810a10ebf6dcbada94ed68b8"}

@ligi
Copy link
Author

ligi commented Jan 16, 2020

Thanks for looking into this. Investigated a bit more. Also not seeing the problem when using the android app. I am only seeing the problem in a java program (desktop) that links against the jar. And as I currently cannot build the jar due to #5 my theory why this happens is that there was a change after 2.1.0 that fixes the problem. I am getting my jar from here: https://github.com/slockit/in3-c/packages/72045. If you tag a 2.1.1 I can try with the latest code and see if this is the problem

@simon-jentzsch
Copy link
Contributor

this is a good hint. The jar in the release is build by our CI and contains the shared libs for all the different platform. if you buuild this localy, youu would not be able to build the same jar.

I just tried it with current jar-version:

> java -cp in3.jar:. in3.IN3 eth_call '{"to":"0x314159265dd8dbb310642f98f50c066173c1259b","data":"0x0178b8bfee6c4522aab0003e8d14cd40a6af439055fd2577951148c14b6cea9a53475835"}' latest
"0x000000000000000000000000226159d592e2b063810a10ebf6dcbada94ed68b8"

@ligi
Copy link
Author

ligi commented Jan 29, 2020

Can I access the jar that your CI builds somehow?

@leonardotc
Copy link
Contributor

Hello @ligi I am pretty sure this was corrected on the newer versions. Is this issue still happening? I was not able to reproduce with the current release (but i could somehow get the "could not deliver the requested value" on a previous build).

@ligi
Copy link
Author

ligi commented Apr 6, 2020

thanks - wanted to give it a new try anyway. Hope I find time this week - thanks for the comment

@cerealkill
Copy link
Contributor

Hi @ligi , were you able to test it?

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

4 participants