Skip to content

Interop with go #36

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

Closed
dignifiedquire opened this issue Sep 12, 2016 · 3 comments
Closed

Interop with go #36

dignifiedquire opened this issue Sep 12, 2016 · 3 comments
Assignees

Comments

@dignifiedquire
Copy link
Member

Documenting things here.

@dignifiedquire
Copy link
Member Author

dignifiedquire commented Sep 12, 2016

(Using branch https://github.com./ipfs/go-ipfs/tree/1bb6a842c5b32f1cc72849ee09b2c74807c4eef5)
Something is up with multistream

  • Even though @whyrusleeping said go-ipfs supports /ipfs/bitswap/1.0.0 I had the protocol to/ipfs/bitswap to receive the connections made from go-ipfs.
  • When that happens I get the below output as debug.
libp2p:swarm:dial dialing QmPZBs5MenpXaBJRhiUq4nsPVqAH6aqTCapYRjESXYrggQ +5s
  multistream:dialer (24wzue) dialer handle conn +1ms
  multistream:agreement (24wzue) writing multicodec /multistream/1.0.0 +0ms
  multistream:agreement (24wzue) received ack: /multistream/1.0.0 +4ms
  multistream:dialer (24wzue) handshake success +0ms
  multistream:dialer (24wzue) dialer select /ipfs/bitswap +0ms
  multistream:agreement (24wzue) writing multicodec /ipfs/bitswap +1ms
  multistream:agreement:error Error: pull-reader: read exceeded timeout
    at Timeout._onTimeout (/Users/dignifiedquire/opensource/ipfs/js-ipfs/node_modules/pull-reader/index.js:16:10)
    at tryOnTimeout (timers.js:224:11)
    at Timer.listOnTimeout (timers.js:198:5) +55s
  multistream:listener adding handler: /spdy/3.1.0 +11ms
  multistream:listener adding handler: /ipfs/id/1.0.0 +0ms
  multistream:listener adding handler: /secio/1.0.0 +1ms
  multistream:listener adding handler: /ipfs/bitswap +0ms
  multistream:listener (9n8b2g) listener handle conn +0ms
  multistream:agreement (9n8b2g) writing multicodec /multistream/1.0.0 +0ms
  bitswap:network dialed QmPZBs5MenpXaBJRhiUq4nsPVqAH6aqTCapYRjESXYrggQ +1m Error: pull-reader: read exceeded timeout
    at Timeout._onTimeout (/Users/dignifiedquire/opensource/ipfs/js-ipfs/node_modules/pull-reader/index.js:16:10)
    at tryOnTimeout (timers.js:224:11)
    at Timer.listOnTimeout (timers.js:198:5)
  bitswap:wantmanager:queue:error send error: pull-reader: read exceeded timeout +0ms
  multistream:listener adding handler: /spdy/3.1.0 +1m
  multistream:listener adding handler: /ipfs/id/1.0.0 +0ms
  multistream:listener adding handler: /secio/1.0.0 +0ms
  multistream:listener adding handler: /ipfs/bitswap +0ms
  multistream:listener (b8vw6h) listener handle conn +0ms
  multistream:agreement (b8vw6h) writing multicodec /multistream/1.0.0 +0ms

So the current issues seem to be with multistream, such that that bitswap isn't even able to receive messages properly.

@dignifiedquire
Copy link
Member Author

Restarted daemon, now working with #37

@dignifiedquire
Copy link
Member Author

Also needs ipfs/js-ipfs#481

@daviddias daviddias removed the status/in-progress In progress label Sep 12, 2016
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

2 participants