Project

General

Profile

Bug #12

Connection reset for clients

Added by Nitesh Mor about 4 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Routing Layer
Start date:
07/13/2016
Due date:
% Done:

0%


Description

Summary: followed by a Connection reset by peer error, everything fails. Router process is verified to be running, although with 100% CPU utilization. Restarting things fixes the issue.

$ ./reader_test.py edu.berkeley.eecs.swarmlab.device.c098e5300003 1 10
4RPmOEEboug46rExalX8F9HdGKB9aH5kAzhTfXNW4DY
_gdp_event_cb: got EOF, 0 bytes left
_gdp_chan_open(gdp-01.eecs.berkeley.edu; gdp-03.eecs.berkeley.edu; gdp-02.eecs.berkeley.edu)
Trying gdp-01.eecs.berkeley.edu
Talking to router at gdp-01.eecs.berkeley.edu:8007
_gdp_advertise => OK
_gdp_event_cb: error: Connection reset by peer
_gdp_chan_open(gdp-01.eecs.berkeley.edu; gdp-03.eecs.berkeley.edu; gdp-02.eecs.berkeley.edu)
Trying gdp-01.eecs.berkeley.edu
Talking to router at gdp-01.eecs.berkeley.edu:8007
_gdp_advertise => OK
_gdp_event_cb: got EOF, 0 bytes left
_gdp_chan_open(gdp-01.eecs.berkeley.edu; gdp-03.eecs.berkeley.edu; gdp-02.eecs.berkeley.edu)
Trying gdp-01.eecs.berkeley.edu
Talking to router at gdp-01.eecs.berkeley.edu:8007
_gdp_advertise => OK
_gdp_event_cb: got EOF, 0 bytes left
_gdp_chan_open(gdp-01.eecs.berkeley.edu; gdp-03.eecs.berkeley.edu; gdp-02.eecs.berkeley.edu)
Trying gdp-01.eecs.berkeley.edu
Talking to router at gdp-01.eecs.berkeley.edu:8007
_gdp_advertise => OK
_gdp_event_cb: got EOF, 0 bytes left
_gdp_chan_open(gdp-01.eecs.berkeley.edu; gdp-03.eecs.berkeley.edu; gdp-02.eecs.berkeley.edu)
Trying gdp-01.eecs.berkeley.edu
Talking to router at gdp-01.eecs.berkeley.edu:8007
_gdp_advertise => OK
_gdp_event_cb: got EOF, 0 bytes left
_gdp_chan_open(gdp-01.eecs.berkeley.edu; gdp-03.eecs.berkeley.edu; gdp-02.eecs.berkeley.edu)
Trying gdp-01.eecs.berkeley.edu
Talking to router at gdp-01.eecs.berkeley.edu:8007
_gdp_advertise => OK
_gdp_event_cb: got EOF, 0 bytes left
_gdp_chan_open(gdp-01.eecs.berkeley.edu; gdp-03.eecs.berkeley.edu; gdp-02.eecs.berkeley.edu)
Trying gdp-01.eecs.berkeley.edu
Talking to router at gdp-01.eecs.berkeley.edu:8007
_gdp_advertise => OK
_gdp_event_cb: got EOF, 0 bytes left
_gdp_chan_open(gdp-01.eecs.berkeley.edu; gdp-03.eecs.berkeley.edu; gdp-02.eecs.berkeley.edu)
Trying gdp-01.eecs.berkeley.edu
Talking to router at gdp-01.eecs.berkeley.edu:8007
_gdp_advertise => OK
_gdp_event_cb: got EOF, 0 bytes left
_gdp_chan_open(gdp-01.eecs.berkeley.edu; gdp-03.eecs.berkeley.edu; gdp-02.eecs.berkeley.edu)
Trying gdp-01.eecs.berkeley.edu
Talking to router at gdp-01.eecs.berkeley.edu:8007
_gdp_advertise => OK
_gdp_event_cb: got EOF, 0 bytes left
_gdp_chan_open(gdp-01.eecs.berkeley.edu; gdp-03.eecs.berkeley.edu; gdp-02.eecs.berkeley.edu)
Trying gdp-01.eecs.berkeley.edu
Talking to router at gdp-01.eecs.berkeley.edu:8007
_gdp_advertise => OK
_gdp_event_cb: got EOF, 0 bytes left
_gdp_chan_open(gdp-01.eecs.berkeley.edu; gdp-03.eecs.berkeley.edu; gdp-02.eecs.berkeley.edu)
Trying gdp-01.eecs.berkeley.edu
Talking to router at gdp-01.eecs.berkeley.edu:8007
_gdp_advertise => OK
_gdp_event_cb: got EOF, 0 bytes left
_gdp_chan_open(gdp-01.eecs.berkeley.edu; gdp-03.eecs.berkeley.edu; gdp-02.eecs.berkeley.edu)
Trying gdp-01.eecs.berkeley.edu
Talking to router at gdp-01.eecs.berkeley.edu:8007
_gdp_advertise => OK
gdp_pdu_proc_resp: GCL 4RPmOEEboug46rExalX8F9HdGKB9aH5kAzhTfXNW4DY has no handle
ack_success: received 128
gdp_pdu_proc_resp: discarding response req@0x7f7784002fe0:
    nextrec=0, numrecs=0, chan=0x29d7680
    postproc=(nil), sub_cb=(nil), udata=(nil)
    state=ACTIVE, stat=OK
    act_ts=2016-07-14T02:10:42.595084000Z
    flags=0x300<ON_CHAN_LIST,CORE>
    GCL@(nil): NULL
    PDU@0x7f77840030d0: 
        v=3, ttl=15, rsvd1=0, cmd=128=ACK_SUCCESS
        dst=BcP2z9L9uLgk6onGllmrlyzayuaNFpL1rYiI_lN46Tc
        src=4RPmOEEboug46rExalX8F9HdGKB9aH5kAzhTfXNW4DY
        rid=1, olen=8, chan=0x29d7680, seqno=0
        flags=0x2<HAS_RECNO>
        datum=0x7f7784003150, recno=1042794, dbuf=0x7f77840031c0, dlen=0
                ts=(none)
        sigmdalg=0x0, siglen=0, sig=(nil)
        total header=96
    rPDU@0x7f77840030d0: 
        v=3, ttl=15, rsvd1=0, cmd=128=ACK_SUCCESS
        dst=BcP2z9L9uLgk6onGllmrlyzayuaNFpL1rYiI_lN46Tc
        src=4RPmOEEboug46rExalX8F9HdGKB9aH5kAzhTfXNW4DY
        rid=1, olen=8, chan=0x29d7680, seqno=0
        flags=0x2<HAS_RECNO>
        datum=0x7f7784003150, recno=1042794, dbuf=0x7f77840031c0, dlen=0
                ts=(none)
        sigmdalg=0x0, siglen=0, sig=(nil)
        total header=96
_gdp_req_unsend: req 0x2a1a040 has NULL GCL
gdp_pdu_proc_resp: GCL 4RPmOEEboug46rExalX8F9HdGKB9aH5kAzhTfXNW4DY has no handle
ack_success: received 128
gdp_pdu_proc_resp: discarding response req@0x7f7784002fe0:
    nextrec=0, numrecs=0, chan=0x29d7680
    postproc=(nil), sub_cb=(nil), udata=(nil)
    state=ACTIVE, stat=OK
    act_ts=2016-07-14T02:10:57.595433000Z
    flags=0x300<ON_CHAN_LIST,CORE>
    GCL@(nil): NULL
    PDU@0x7f77840030d0: 
        v=3, ttl=15, rsvd1=0, cmd=128=ACK_SUCCESS
        dst=BcP2z9L9uLgk6onGllmrlyzayuaNFpL1rYiI_lN46Tc
        src=4RPmOEEboug46rExalX8F9HdGKB9aH5kAzhTfXNW4DY
        rid=1, olen=8, chan=0x29d7680, seqno=0
        flags=0x2<HAS_RECNO>
        datum=0x7f7784003150, recno=1042799, dbuf=0x7f77840031c0, dlen=0
                ts=(none)
        sigmdalg=0x0, siglen=0, sig=(nil)
        total header=96
    rPDU@0x7f77840030d0: 
        v=3, ttl=15, rsvd1=0, cmd=128=ACK_SUCCESS
        dst=BcP2z9L9uLgk6onGllmrlyzayuaNFpL1rYiI_lN46Tc
        src=4RPmOEEboug46rExalX8F9HdGKB9aH5kAzhTfXNW4DY
        rid=1, olen=8, chan=0x29d7680, seqno=0
        flags=0x2<HAS_RECNO>
        datum=0x7f7784003150, recno=1042799, dbuf=0x7f77840031c0, dlen=0
                ts=(none)
        sigmdalg=0x0, siglen=0, sig=(nil)
        total header=96
_gdp_req_unsend: req 0x2a1a040 has NULL GCL
Couldn't open GCL 4RPmOEEboug46rExalX8F9HdGKB9aH5kAzhTfXNW4DY:
        ERROR: Connection timed out [EPLIB:errno:110]
Traceback (most recent call last):
  File "./reader_test.py", line 69, in <module>
    main(sys.argv[1], int(sys.argv[2]), int(sys.argv[3]))
  File "./reader_test.py", line 45, in main
    gcl_handle = gdp.GDP_GCL(gcl_name, gdp.GDP_MODE_RO)
  File "/usr/lib/python2.7/dist-packages/gdp/GDP_GCL.py", line 113, in __init__
    check_EP_STAT(estat)
  File "/usr/lib/python2.7/dist-packages/gdp/MISC.py", line 166, in check_EP_STAT
    raise EP_STAT_SEV_ERROR(ep_stat)
gdp.MISC.EP_STAT_SEV_ERROR: 'ERROR: Connection timed out [EPLIB:errno:110]'

History

#1 Updated by Eric Allman almost 4 years ago

  • Status changed from New to Resolved
  • Assignee set to Eric Allman

#2 Updated by Eric Allman over 3 years ago

  • Status changed from Resolved to Closed

Haven't seen this one in a long while — presuming it is closed.

#3 Updated by Eric Allman over 1 year ago

  • Project changed from Click GDP Routers to GDP
  • Category set to Routing Layer

Also available in: Atom PDF