View Issue Details

IDProjectCategoryView StatusLast Update
0003263GNUnettransport servicepublic2014-04-08 16:41
ReporterMatthias Wachs Assigned ToMatthias Wachs  
PriorityimmediateSeveritymajorReproducibilityrandom
Status closedResolutionfixed 
Product Version0.10.0 
Target Version0.10.1 
Summary0003263: Issue when reconnecting to peers: No change from RECV_ACK to CONNECTED
DescriptionWhen reconnecting to a peer peers do not connect:

The state goes from (roughly cannot reproduced...)
NO_CONNECTED -> INIT_ATS -> S_CONNECT_SENT -> RECV_ACK -> ... [timeout] DISCONNECT -> DISCONNECT_FINISHED

TagsNo tags attached.

Activities

bratao

2014-03-21 20:35

developer   ~0008153

Matthias, This problem is very easily reproducible here.
At the start, I get 5 connections, after a hour, it drops to 0.

There is anything I can help (logs, etc.. ) ?

Matthias Wachs

2014-03-24 11:18

manager   ~0008154

I am working on transport at the moment, so sorry for the delay.
I fixed some issues (0003339) related to initiating connections last week ... perhaps this has already an effect on this bug?

Which revision are you running?
Could you svn up and check if it still happens?
Could you briefly describe your setup and environment:
- revision running
- plugins enabled
- network conenctivity:
-- are you behind NAT or do you have a public IP?
-- do you have IPv6

And if the issue happens again could you paste the output of:
gnunet-core
gnunet-transport -i -a
gnunet-ats -a

Matthias Wachs

2014-03-24 14:48

manager   ~0008156

in connect handshake: n->send_connect_ack is not set correctly

Matthias Wachs

2014-03-24 16:08

manager   ~0008157

First fixes in revision 32786:

When peers receive CONNECT in PS_DISCONNECT, disconnect was completed but
-- no address requested
-- ack timestamp not saved
-- ack state was not set to expect a SESSION_ACK message
-> reconnect failed since SESSION_ACK msg was discarded:
no transition from RECV_ACK to CONNECTED!

Matthias Wachs

2014-03-28 17:55

manager   ~0008162

Should be fixed with rev > 32825.

Issue History

Date Modified Username Field Change
2014-01-09 14:09 Matthias Wachs New Issue
2014-01-09 14:09 Matthias Wachs Status new => assigned
2014-01-09 14:09 Matthias Wachs Assigned To => Matthias Wachs
2014-01-18 15:54 Christian Grothoff Priority normal => high
2014-01-18 15:54 Christian Grothoff Product Version => 0.10.0
2014-01-18 15:54 Christian Grothoff Target Version => 0.10.1
2014-02-08 13:31 Christian Grothoff Priority high => immediate
2014-03-21 20:35 bratao Note Added: 0008153
2014-03-24 11:18 Matthias Wachs Note Added: 0008154
2014-03-24 11:18 Matthias Wachs Status assigned => confirmed
2014-03-24 14:48 Matthias Wachs Note Added: 0008156
2014-03-24 16:08 Matthias Wachs Note Added: 0008157
2014-03-28 17:55 Matthias Wachs Note Added: 0008162
2014-03-28 17:55 Matthias Wachs Status confirmed => resolved
2014-03-28 17:55 Matthias Wachs Resolution open => fixed
2014-04-08 16:41 Christian Grothoff Status resolved => closed