Closed littleskunk closed 8 years ago
Workaround: If you see the same messages you are sitting behind a Firewall. As GUI user you can enable UPNP to open the ports or switch to CLI for more workaround options. As CLI user you can enable UPNP or use fixed ports in your config file and forward them yourself.
Installed the new core version but I still have the same problem.
C:\Users\Skunk\AppData\Roaming\npm
└─┬ storjshare-cli@4.0.2
└─┬ storj@1.2.3
└── kad@1.5.11
Issue reopen but no time for panic. I will wait one day and try again. The other nodes need time to update the core version.
Workaround: If you see the same messages you are sitting behind a Firewall. As GUI user you can enable UPNP to open the ports or switch to CLI for more workaround options.
I would prefer to keep UPNP deactivated in general. What ports would I need to open manually ?
https://storj.readme.io/docs/storjshare-troubleshooting-guide#port-forwarding
Remember as GUI user you can only use UPNP to open the random port. CLI user can set a fixed port and forward it.
@littleskunk the fix is on the remote side, so you won't see it resolved in the network until people upgrade.
The issue is that prior to this patch release, tunneled nodes were still advertising tunnels. You are able to "connect" to their advertised tunnel, because the gateway accepts websocket connections for data channels. You won't know the tunnel is not actually established until you try to send data through it and the gateway realizes you aren't using it as a data channel which is when the remote node closes the connection.
We don't have any way of determining that the opened connection is not a tunnel connection other than trying to send data through it. The problem is that when the tunnel connection closes, we immediately try to reopen it, causing this to happen in a loop.
We could, instead, use another known tunnel if the tunnel closes which should help with finding a real tunnel in the meantime.
Actually I take part of that back after re-reviewing the code. We already do try the next known tunnel if the one we are connected to encounters an error or otherwise closes.
My first tunnel worked very well for 2 minutes. That is the main problem in this issue.
Your first tunnel was from the one of the bridge's minions, which has been dying and restarting (@niahmiah and myself are working on improvements to the renter minion pool, and that work is being tracked in the bridge repo) - which would explain your lost connection.
If that is the primary issue here, let's close this ticket as the issue that followed has been fixed in core.
I agree. Lets go on with https://github.com/Storj/bridge/issues/98
Package Versions
Replace the values below using the output from
npm list storj
.Replace the values below using the output from
node --version
.Expected Behavior
Please describe the program's expected behavior. Include an example of your usage code in the back ticks below if applicable.
Actual Behavior
Please describe the program's actual behavior. Please include any stack traces or log output in the back ticks below.
At the beginning I open a tunnel connection and everything is running fine
2 minutes later I am losing my tunnel connection. I can reproduce it. If I restart my node I am losing my tunnel connection after a few minutes.
Anyway the next steps are strange. OPEN_TUNNEL with old protocol version? New connection via seed list while not connected?
Tunnel connection lost more than once? I didn't see a new successfully established tunnel. Important! The GUI is getting this message as well and every time it will show an error message popup.
At the end storjshare crashed with an error message:
Full logfile: storj.txt
Steps to Reproduce
Please include the steps the reproduce the issue, numbered below. Include as much detail as possible.
CLI
GUI