git pull hangs
Richard Kimberly Heck
rikiheck at lyx.org
Wed Oct 28 22:34:53 UTC 2020
On 10/28/20 6:29 PM, Richard Kimberly Heck wrote:
> On 10/28/20 7:04 AM, Marco Morandini wrote:
>>>> would it be possible to get a log from the server on your side?
>>>> Or could you give a look?
>>>> On our side we can make whatever test you may ask for.
>>> I'd be happy to try to help. What logs would be useful, do you think?
>> Thank you!
>>
>> It would be great if you could have a look into
>> git-daemon's log, and spot any issue and/or log regarding a connection
>> coming from
>> 131.175.154.248 . Even better, for any traffic with the whole
>> 131.175.0.0/16 subnet .
>>
>> git-daemon should log by default, but we fear that where this log
>> actually is (syslog?)
>> may depend on your local configuration.
>>
>> A search into your firewall's dropped packet log for packets coming
>> from 131.175.154.248
>> (o, better, 131.175.0.0/16) could be useful as well.
>>
>> Should be of any help for extracting the right portion of the logs we
>> have tried a git pull
>> today at
>> Wed Oct 28 10:24:51 AM CET 2020
> I see two kinds of things, repeatedly. The first looks like:
>
> Oct 27 16:23:48 lyx xinetd[1163]: START: git pid=9872
> from=::ffff:131.175.154.246
> Oct 27 16:23:48 lyx git-daemon[9872]: Connection from 131.175.154.246:59193
> Oct 27 16:23:48 lyx git-daemon[9872]: protocol error: bad line length
> character: git-
> Oct 27 16:23:48 lyx xinetd[1163]: EXIT: git status=1 pid=9872
> duration=0(sec)
>
> For the specific address 131.175.154.248, I see:
>
> Oct 26 10:18:02 lyx xinetd[1163]: FAIL: git per_source_limit
> from=::ffff:131.175.154.248
> Oct 26 10:18:32 lyx xinetd[25386]: Failed to contact identity server at
> ::ffff:131.175.154.248: timeout
>
> though there are some older successes.
>
> Presumably, this is the problem. There look to be a number of open
> connections from your IP:
>
> # ss | grep 131.175.154.248
> ESTAB 0 0 140.211.9.84:git
> 131.175.154.248:infomover
> ESTAB 0 0 140.211.9.84:git
> 131.175.154.248:anoto-rendezv
> ESTAB 0 0 140.211.9.84:git
> 131.175.154.248:12533
> ESTAB 0 0 140.211.9.84:git
> 131.175.154.248:21795
> ESTAB 0 0 140.211.9.84:git
> 131.175.154.248:23615
> ESTAB 0 0 140.211.9.84:git
> 131.175.154.248:17338
> ESTAB 0 0 140.211.9.84:git
> 131.175.154.248:43233
> ESTAB 0 0 140.211.9.84:git
> 131.175.154.248:61968
> ESTAB 0 0 140.211.9.84:git
> 131.175.154.248:63361
> ESTAB 0 0 140.211.9.84:git
> 131.175.154.248:37425
>
> I have killed all those stale connections. Hopefully that will help. (I
> will guess that the working IP for some reason had an open connection.)
Hmm. Now seconds after doing that, when everything was clear, I get:
# ss | grep git
FIN-WAIT-1 0 1 140.211.9.84:git XX
ESTAB 0 0 140.211.9.84:git XX
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.154.248:infomover
FIN-WAIT-1 0 1 140.211.9.84:git XX
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.154.248:anoto-rendezv
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.154.248:12533
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.154.248:21795
FIN-WAIT-1 0 1 140.211.9.84:git XX
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.154.248:23615
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.154.246:53214
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.154.248:17338
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.154.248:43233
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.154.248:61968
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.147.207:63425
FIN-WAIT-1 0 1 140.211.9.84:git XX
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.154.248:63361
FIN-WAIT-1 0 1 140.211.9.84:git XX
FIN-WAIT-1 0 1 140.211.9.84:git XX
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.154.248:37425
FIN-WAIT-1 0 1 140.211.9.84:git XX
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.147.207:42998
FIN-WAIT-1 0 1 140.211.9.84:git
131.175.147.134:62448
Those all seem to clear pretty quickly, but several machines must have
been waiting to make a new attempt? Or been unable to close a stale one?
Riki
More information about the lyx-devel
mailing list