Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Extra websocket calls during .cat(cid) #2938

@jsonsivar

Description

@jsonsivar

Hello, so basically I'm seeing websocket logs that are a little curious in my setup when doing a .cat call. So started looking into it because I'm hoping reducing those would improve performance of those calls if we can indeed reduce anything extraneous.

I currently have a js-ipfs node in the browser (version 0.41.2). It's connecting to a private network of go-ipfs nodes we have over websockets (using a custom protector and the swarm key for libp2p). I get the content back fine but between logging the request and logging my response I see the following:
image

Further down after getting the content, I also see these:
image

It appears though it's trying to dial on the localhost and private IPs of those nodes, even though I added them to swarm peers using the public IP. And those are extra calls because I get my content fine despite those errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions