"Connection reset by peer" Error When Authenticating
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Moonshot Trust-Router |
New
|
Medium
|
Jennifer Richards |
Bug Description
Occasionally, we get a "Connection reset by peer" when authenticating. This has only happened (so far) in cases were subsequent authentications work, so it may have to do with state priming and/or the potential failure is close to completing the authentication.
Subsequent attempts work.
Here is a section of the log where it happens:
Opening TIDC connection to tr.qa.painless-
Waking up in 0.3 seconds.
gss_connect: Connecting to host 'tr.qa.
Waking up in 0.4 seconds.
Waking up in 0.7 seconds.
Waking up in 1.1 seconds.
Waking up in 1.6 seconds.
Waking up in 2.5 seconds.
tidc_fwd_request: Sending TID request:
{"msg_type": "tid_request", "msg_body": {"rp_realm": "yankees.com", "dh_info": {"dh_p": "FFFFFFFFFFFFFF
ReadBuffer failed: Connection reset by peer (err = 104)
ReadToken failed: Connection reset by peer (err = 104)
ReadToken failed: Connection reset by peer (err = 104)
Error in tidc_send_request, rc = -1.
(7) suffix: No such realm "is.evil4.us"
A small discussion about this can be found at https:/ /github. com/painless- security/ moonshot- portal/ issues/ 775, where it was originally reported.