Fetching and cloning not working from the simplytest.me server:

git clone --branch 8.2.x https://git.drupal.org/project/drupal.git
Cloning into 'drupal'...

IPs of the servers:

213.133.100.206
144.76.136.176
5.9.96.196
5.9.137.208

Can someone check if there's some kind of block ?
Is it possible to whitelist these servers?

Comments

patrickd created an issue. See original summary.

patrickd’s picture

Priority: Major » Normal

Seems to be fine after a couple hours of closing the site :-/

This has been the first time this happened for a long time, did something change about accessing git.drupal.org that I should know?

Is it possible to whitelist the simplytest.me servers? (I know it wasn't in the past, but it can't hurt asking)

patrickd’s picture

Priority: Normal » Major

Okay.. now I can't make any requests to cgit :-(

http://cgit.drupalcode.org/drupal/refs/

Seems like 213.133.100.206 is blocked now

Heeeelp :)

drumm’s picture

I’m not aware of any blocking that might be going on. And I’m not seeing any general issues with the Git servers.

Does git clone -vvv --branch 8.2.x https://git.drupal.org/project/drupal.git provide any more information?

What does git.drupal.org resolve to? It should be something like

$ host git.drupal.org
git.drupal.org is an alias for git-vip.drupalcode.org.
git-vip.drupalcode.org has address 140.211.10.43

Can you paste a traceroute to git.drupal.org?

patrickd’s picture

hey drumm, thanks for the answer!

(un?)fortunately git is no longer the issue.

host and trace here anyway:

patrickd@d:~⟫ host git.drupal.org
git.drupal.org is an alias for git-vip.drupalcode.org.
git-vip.drupalcode.org has address 140.211.10.43
patrickd@d:~⟫ tracepath git.drupal.org                                                                                                                                                                       
 1?: [LOCALHOST]                                         pmtu 1500
 1:  static.161.136.76.144.clients.your-server.de          0.459ms 
 1:  static.161.136.76.144.clients.your-server.de          0.425ms 
 2:  core22.hetzner.de                                     0.422ms 
 3:  core12.hetzner.de                                     2.980ms 
 4:  juniper4.rz2.hetzner.de                               3.013ms 
 5:  ae51.bar2.Munich1.Level3.net                          5.582ms asymm  6 
 6:  ae-2-52.edge2.Seattle3.Level3.net                   163.940ms asymm 18 
 7:  ae-2-52.edge2.Seattle3.Level3.net                   163.959ms asymm 18 
 8:  UNIVERSITY.edge2.Seattle3.Level3.net                167.696ms asymm 18 
 9:  corv-car1-gw.nero.net                               169.423ms asymm 18 
10:  git-vip.drupalcode.org                              170.211ms reached
     Resume: pmtu 1500 hops 10 back 10 

after git worked again I couldn't access cgit anylonger:

patrickd@b:~⟫ curl http://cgit.drupalcode.org/drupal/refs/

it would just hang up at this.

sorry, I didn't think about doing -vvv because I guessed it was some ip based blocking, but I'll do it if this happens again

so, there's no kind of firewall in front of the drupal.org infrastructure that might block "too many" requests from the same ip?
if there is, it would be good to know where the allowed quota is, so that I can prevent hitting it

patrickd’s picture

Priority: Major » Normal
patrickd’s picture

Okay, so it's happening again right now :-/

$GIT_CURL_VERBOSE=1 GIT_TRACE=1 git clone -vvv --branch 8.2.x https://git.drupal.org/project/drupal.git
trace: built-in: git 'clone' '-vvv' '--branch' '8.2.x' 'https://git.drupal.org/project/drupal.git'
Cloning into 'drupal'...
trace: run_command: 'git-remote-https' 'origin' 'https://git.drupal.org/project/drupal.git'
* Couldn't find host git.drupal.org in the .netrc file; using defaults
* Hostname was NOT found in DNS cache
*   Trying 140.211.10.43...
fatal: unable to access 'http://git.drupal.org/project/drupal.git/': Failed to connect to git.drupal.org port 80: Connection timed out

$GIT_SSH_COMMAND="ssh -vvv"  git clone -vvv --branch 8.2.x https://git.drupal.org/project/drupal.git
Cloning into 'drupal'...
fatal: unable to access 'http://git.drupal.org/project/drupal.git/': Failed to connect to git.drupal.org port 80: Connection timed out

$ ping git.drupal.org
PING git-vip.drupalcode.org (140.211.10.43) 56(84) bytes of data.
^C
--- git-vip.drupalcode.org ping statistics ---
21 packets transmitted, 0 received, 100% packet loss, time 20028

$ traceroute git.drupal.org
traceroute to git.drupal.org (140.211.10.43), 30 hops max, 60 byte packets
 1  10.0.3.1 (10.0.3.1)  0.070 ms  0.024 ms  0.021 ms
 2  static.161.136.76.144.clients.your-server.de (144.76.136.161)  0.383 ms  0.352 ms  0.309 ms
 3  core22.hetzner.de (213.239.203.141)  0.262 ms core22.hetzner.de (213.239.203.145)  0.266 ms  0.242 ms
 4  core4.hetzner.de (213.239.203.149)  4.860 ms  4.835 ms core1.hetzner.de (213.239.203.153)  4.899 ms
 5  juniper4.ffm.hetzner.de (213.239.245.1)  4.902 ms  4.903 ms juniper4.ffm.hetzner.de (213.239.245.10)  4.839 ms
 6  ae1-710.fra20.core-backbone.com (80.255.15.121)  5.168 ms  5.241 ms  5.169 ms
 7  ae1-2081.sth10.core-backbone.com (80.255.14.194)  24.637 ms  24.639 ms  24.617 ms
 8  * * *
 9  se-fre.nordu.net (109.105.97.26)  27.443 ms  27.559 ms 109.105.97.24 (109.105.97.24)  37.171 ms
10  dk-ore.nordu.net (109.105.97.130)  28.292 ms  28.269 ms se-fre.nordu.net (109.105.97.1)  28.227 ms
11  dk-ore.nordu.net (109.105.97.56)  28.220 ms uk-hex.nordu.net (109.105.97.127)  38.783 ms dk-ore.nordu.net (109.105.97.56)  28.054 ms
12  dk-uni.nordu.net (109.105.97.133)  40.296 ms  35.394 ms nl-sar.nordu.net (109.105.97.137)  28.242 ms
13  uk-hex.nordu.net (109.105.97.127)  35.291 ms us-man.nordu.net (109.105.97.139)  103.195 ms *
14  us-man.nordu.net (109.105.97.139)  103.110 ms 64.57.21.54 (64.57.21.54)  116.304 ms  116.314 ms
15  64.57.21.54 (64.57.21.54)  109.714 ms * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
26  * * *
27  * * *
28  * * *
29  * * *
30  * * *

patrickd’s picture

okay, I think this is a problem with my hoster (hetzner), even the non-simplytest.me servers aren't able to reach git.drupal.org atm

patrickd’s picture

Status: Active » Closed (works as designed)

okay, it's fine again and I'm 100% sure that this is a problem of my hoster.. going to talk to them, sorry for the noise