Code Monkey home page Code Monkey logo

Comments (4)

nbxtruong avatar nbxtruong commented on June 16, 2024 1

After I switch to "develop" branch. Now, everything can work. Thank you @schrink

from ot-node.

schrink avatar schrink commented on June 16, 2024

Hi,

Your import seems to pass well, what happens is that DH is not able to communicate with DC. You see the error "Invalid target in proof". It means that it's identity is with different difficulty that identity of DC. It could happen if you set one of them to run on test network and other not. I see in your .env that both are on the test network, but it is likely that when you first generated identity for one of them this switch was off.

Anyway, to solve this, you have to recreate the identity. To do this, delete all files in /keys folder (leave folder empty). Then make sure that bot .env have TEST_NETWORK_ENABLED=1 (or 0 but they must be the same), and then try everything again.

Please let me know if it works.

Regards, V.

from ot-node.

nbxtruong avatar nbxtruong commented on June 16, 2024

On bootstrap node, I have new error. You can check this photo

This is error on regular node. You can check this photo and this photo

I use this command for import to Regular node: curl -v -F importfile=@example_gs1.xml http://127.0.0.1:8901/import_gs1

I make the folder "key" empty on two node and run "npm run config" before "npm start".

Thank you.

from ot-node.

schrink avatar schrink commented on June 16, 2024

This is what happened. The DH node failed to reveal a bid (your bootstrap node), therefore the DC node also failed to choose bids as there are no revealed bids.

This may happen if transaction on blockchain takes too long (or even too short) as these are time synced operations. It is related to how Rinkeby is working at the moment. This is a known bug that happens sometimes. I can't reproduce it on my machine, but we had it happen to us as well few sometimes.

We are just finishing and testing improved version that will not depend on time but blockchain events. I will let you know as soon as it is pushed. It should completely solve this issue.

from ot-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.