-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Connection refused at wss://ws-star.discovery.libp2p.io/socket.io/?EIO=3&transport=websocket when shouldnt be going there #1606
Comments
ws-star.discovery.libp2p.io is down |
I think there is some stray bit of configuration somewhere that includes ws-star.discovery.libp2p.io, addressing this elsewhere -- can likely close this |
As long as ws-star.discovery.libp2p.io is up we are good, but there is a generic issue that may cause problems such as the numerous reports when that address was down, and also explains why some people had issues in FIrefox but not Chrome or vica-versa By clearing my local storage in Chrome the client no longer tried to contact ws-star.discovery.libp2p.io which suggests that despite using a config to "new IPFS()" that didn't mention these addresses, that IPFS was ignoring its absence in my current config and finding the swarm from when the Repo was created in browser's indexedDB . Is that what should happen? |
ok, this generally overlaps with many other reports libp2p/js-libp2p-websockets#74 and it looks like you've encountered this before, as well: #1237 the main issue here specifically appears to be that other ws connections should not be aborted if the signaling server connection fails (if they're being dialed directly) -- I can open that issue if you close this one |
The problem in #1237 was while we were intentionally using ws-star discovery. On Protocol's suggestion we moved to opening up direct connection with our own peer via WS. There seem to be three separate issues, Should b and c be seperate issues ? Its fine by me to create one or two and close this one. |
(b) is the key issue, I believe (c) is just a matter of the peer being retained in the peer book (which would be harmless w/o (b)) can you close this one? I don't have rights on this repo |
Type: Bug
Severity: Critical
Description:
WebSocket connection to 'wss://ws-star.discovery.libp2p.io/socket.io/?EIO=3&transport=websocket' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
when trying new IPFS(this.options);
with this.options =
"repo":"/tmp/dweb_ipfsv2700",
"config":{
"Bootstrap":["/dns4/dweb.me/tcp/4245/wss/ipfs/QmPNgKEjC7wkpu3aHUzKKhZmbEfiGzL5TP1L8zZoHJyXZW"]},
"EXPERIMENTAL":{"pubsub":true}
}
I've confirmed with sudo -u ipfs ipfs config show that this is the correct peer id of our peer,
I'm not sure why its hitting ws-star.discovery, and/or why that call is failing and suggest that either that address has gone down, or there's been a code update to add the ws-star discovery process.
This should be the version on dweb.archive.org unfortunately :-(
The text was updated successfully, but these errors were encountered: