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

[circuit-relay] ipfs/interop: MAC invalid #420

Closed
jacobheun opened this issue Apr 17, 2019 · 2 comments
Closed

[circuit-relay] ipfs/interop: MAC invalid #420

jacobheun opened this issue Apr 17, 2019 · 2 comments

Comments

@jacobheun
Copy link
Contributor

Occasionally when running the github.com/ipfs/interop tests, an error will occur Error: MAC Invalid. The error is likely coming from SECIO, https://github.com/libp2p/js-libp2p-secio/blob/v0.11.1/src/etm.js#L57, via the unbox stream. Initial thought is that this may be due to an issue with receiving a message from the relay or destination peer when we expected it from the other. Our streams may be getting crossed somewhere.

  1) circuit
       js-go-go
         reconnect:
     Error: MAC Invalid: f0c8d18a25fbfc73e33ed062daa4fddfb7afb8dc39df2f93ebdf139b3c42e9b9 != 9c668e0365260562e08c685e9016aa36b1829bc1553f677d5c5baa6feb2ae615
      at parseError (node_modules/ipfs-http-client/src/utils/send-request.js:17:17)
      at ClientRequest.<anonymous> (node_modules/ipfs-http-client/src/utils/send-request.js:47:14)
      at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21)
      at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
      at Socket.socketOnData (_http_client.js:442:20)
      at addChunk (_stream_readable.js:284:12)
      at readableAddChunk (_stream_readable.js:265:11)
      at Socket.Readable.push (_stream_readable.js:220:10)
      at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

Related #310

@jacobheun
Copy link
Contributor Author

browser-go-go interop error https://travis-ci.com/ipfs/interop/jobs/193606305#L650

@daviddias daviddias changed the title ipfs/interop: MAC invalid [circuit-relay] ipfs/interop: MAC invalid Aug 22, 2019
@daviddias daviddias transferred this issue from libp2p/js-libp2p-circuit Aug 22, 2019
@jacobheun
Copy link
Contributor Author

Duplicate of #310

@jacobheun jacobheun marked this as a duplicate of #310 Mar 11, 2020
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

1 participant