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

Fail to establish websocket connection in Chrome #1387

Closed
guoliu opened this issue Jun 8, 2018 · 3 comments
Closed

Fail to establish websocket connection in Chrome #1387

guoliu opened this issue Jun 8, 2018 · 3 comments

Comments

@guoliu
Copy link

guoliu commented Jun 8, 2018

  • Version: 0.29.2
  • Platform: macOS 10.12.6, Chrome 66.0

Type: Bug

Severity:

Critical

Description:

On creating a new instance in Chrome, IPFS errors with:

WebSocket connection to 'wss://ws-star.discovery.libp2p.io/socket.io/?EIO=3&transport=websocket' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

However, it works fine with firefox. Any help is appreciated! Thank you.

Steps to reproduce the error:

Simply do const ipfs = new IPFS() and load the page in Chrome.

@fsdiogo
Copy link
Contributor

fsdiogo commented Jun 8, 2018

Hi @guoliu 👋

I can't seem to be able to reproduce the error. It's working fine on Chrome here.

What version of js-ipfs are you using?

@alanshaw
Copy link
Member

alanshaw commented Jun 8, 2018

@guoliu there was an issue with that rendezvous server around the time you posted this issue. It's been resolved now so I'm going to close this. Shout if it's still not working for you.

@alanshaw alanshaw closed this as completed Jun 8, 2018
@guoliu
Copy link
Author

guoliu commented Jun 8, 2018

Hi @fsdiogo and @alanshaw , thank you for your reply. Yes it was due to the issue with rendezvous server. It's working now.

Thanks again for your swift responses 😝

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants