You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Joining relay session (BEP/relay): Incorrect response code 1: not found #3272
I guess this is when the discovery server says a device is connected to a certain relay, but they are in fact not? We only remove those entries by time out, which can be a while I think?
i find in the syslog: Jun 7 10:01:45 almeria syncthing[11419]: [xxx] WARNING: Joining relay session (BEP/relay): Incorrect response code 1: not found Jun 7 10:01:45 almeria syncthing[11419]: [xxx] INFO: Disconnected from relay relay://195.154.113.77:22067 Jun 7 10:01:46 almeria syncthing[11419]: [xxx] INFO: Joined relay relay://134.119.8.239:22067
does this help?
The Joining relay session (BEP/relay): Incorrect response code 2: already connected I talked about in the forum is the most frequent one, but occasionally, since v.0.13 I'm getting those as well: Joining relay session (BEP/relay): EOF Joining relay session (BEP/relay): Incorrect response code 1: not found Joining relay session (BEP/relay): Incorrect response code 2: already connected Joining relay session (BEP/relay): dial tcp P:PORT: connectex: An established connection was aborted by the software in your host machine. Joining relay session (BEP/relay): dial tcp IP:PORT: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
The not found can potentially be caused by a misconfigured relay with a very short session timeout or a slow connecting node, which happens to take a while (long while) to connect to the relay, by which time the session has already timed out.
I do not think any of these are fatal, and should resolve themselves in 10 or so minutes.
I do not think there was any fundamental behavioural changes in 0.13 that could potentially be to blame, yet the network the relays has expanded quite a lot recently, potentially on-boarding funky relays which cause these things that you observe.
thank you for your very instructive explanation indicating that i need not worry (except for the quality of my internet provider, but there is limited choice). in general, it would be best if the GUI shows only information which needs action by the user and perhaps even indicates what should be done.
Activity
AudriusButkevicius commentedon Jun 7, 2016
Do you know which relay that happens with?
calmh commentedon Jun 7, 2016
I guess this is when the discovery server says a device is connected to a certain relay, but they are in fact not? We only remove those entries by time out, which can be a while I think?
AudriusButkevicius commentedon Jun 7, 2016
I'd have to check the code, but this is joining the session, rather than getting an invitation.
andrewufrank commentedon Jun 7, 2016
i find in the syslog:
Jun 7 10:01:45 almeria syncthing[11419]: [xxx] WARNING: Joining relay session (BEP/relay): Incorrect response code 1: not found Jun 7 10:01:45 almeria syncthing[11419]: [xxx] INFO: Disconnected from relay relay://195.154.113.77:22067 Jun 7 10:01:46 almeria syncthing[11419]: [xxx] INFO: Joined relay relay://134.119.8.239:22067does this help?
scienmind commentedon Jun 7, 2016
The same story as I discussed here here: https://forum.syncthing.net/t/using-relays-periodically-generates-notice-messages/7550/9.
I still think there is more to it then just "one especially bad internet connection"...
AudriusButkevicius commentedon Jun 7, 2016
This is something elset though. I need to look at the code not from the phone though
scienmind commentedon Jun 7, 2016
The
Joining relay session (BEP/relay): Incorrect response code 2: already connectedI talked about in the forum is the most frequent one, but occasionally, since v.0.13 I'm getting those as well:Joining relay session (BEP/relay): EOFJoining relay session (BEP/relay): Incorrect response code 1: not foundJoining relay session (BEP/relay): Incorrect response code 2: already connectedJoining relay session (BEP/relay): dial tcp P:PORT: connectex: An established connection was aborted by the software in your host machine.Joining relay session (BEP/relay): dial tcp IP:PORT: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.AudriusButkevicius commentedon Jun 7, 2016
All of them apart from the second one is a sign of shit internet.
AudriusButkevicius commentedon Jun 7, 2016
So
already connectedcan happen if both sides happen to connect at virtually the same time, and the relay happens to be running on a weak machines. Essentially this:https://github.com/syncthing/syncthing/blob/master/cmd/relaysrv/session.go#L125
default case should be replaced with some sort of timeout.
The
not foundcan potentially be caused by a misconfigured relay with a very short session timeout or a slow connecting node, which happens to take a while (long while) to connect to the relay, by which time the session has already timed out.I do not think any of these are fatal, and should resolve themselves in 10 or so minutes.
I do not think there was any fundamental behavioural changes in 0.13 that could potentially be to blame, yet the network the relays has expanded quite a lot recently, potentially on-boarding funky relays which cause these things that you observe.
andrewufrank commentedon Jun 8, 2016
thank you for your very instructive explanation indicating that i need not worry (except for the quality of my internet provider, but there is limited choice). in general, it would be best if the GUI shows only information which needs action by the user and perhaps even indicates what should be done.
AudriusButkevicius commentedon Jun 8, 2016
This was already addressed by @scienmind and will be in the next release