Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 182328

Summary: [mirrors] User in Germany getting mirrors list favoring USA mirrors
Product: Community Reporter: Denis Roy <denis.roy>
Component: WebsiteAssignee: phoenix.contentmgt-inbox <phoenix.contentmgt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: btripkov, jtk499
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Denis Roy CLA 2007-04-13 10:27:08 EDT
From bug 163714 comment 4

I have a feeling that your IP address is not correctly identified in our IP-to-country database.  The database is known to be 97% accurate.
Comment 1 Jörg Thönnes CLA 2007-04-13 10:37:46 EDT
Hmmm, my current IP is resolved by DNS as "p508a3fc8.dip0.t-ipconnect.de"

So the top-level domain shows my country.
Comment 2 Denis Roy CLA 2007-04-13 10:44:21 EDT
Your IP address resolves correctly to Germany when it's looked-up in our IP-to-country database (we don't use the domain name).

SELECT ccode FROM geoip WHERE 1351237576 BETWEEN start AND end;
+-------+
| ccode |
+-------+
| de    |
+-------+

Can you confirm that this mirror list shows German/European mirrors first?
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.2.2-200702121330/eclipse-SDK-3.2.2-linux-gtk.tar.gz

Comment 3 Jörg Thönnes CLA 2007-04-13 10:56:16 EDT
 (In reply to comment #2)
> Can you confirm that this mirror list shows German/European mirrors first?
> http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.2.2-200702121330/eclipse-SDK-3.2.2-linux-gtk.tar.gz

Please choose a mirror close to you
Europe

    * [Germany] AG-DSN Sekt. Wundtstraße, TU-Dresden (http)
    * [Germany] Innoopract Informationssysteme GmbH (http)
    * [Germany] University of Applied Sciences Esslingen (http)
    * [Germany] SunSITE CEUR (Aachen) (ftp)
    * [Poland] Technical University of Szczecin (http)
    * [Bulgaria] Prolet Software (http)
    * [United Kingdom] UK Mirror Service (http) ...
    
This looks good. In my example, I used the Callisto Discovery Site, now I checked Eclipse Updates,
but also the top list consists of US sites. So this does not work correctly. Or I should change my update
sites?


Comment 4 Denis Roy CLA 2007-04-13 11:05:05 EDT
Seems like UM is overriding our detected country code.

Branko, according to bug 99412 comment 17 it seems that Eclipse UM sends the countryCode of a client in the HTTP request for a list of mirrors. Our servers automatically detect a client's country from the IP address, but we allow the countryCode to override this.

In this case, the countryCode sent by UM is not correct.  Where does UM get the client's countryCode from?
Comment 5 Denis Roy CLA 2007-06-13 11:11:52 EDT
Joerg, is this still a problem for you?
Comment 6 Denis Roy CLA 2007-08-29 10:44:25 EDT
Closing -- I can't reproduce this.
Comment 7 Jörg Thönnes CLA 2007-08-30 09:10:11 EDT
(In reply to comment #6)
> Closing -- I can't reproduce this.

Sorry, Denis. I did not find to try this out. In the meanwhile, we changed our provider and have a static IP in the qsc.de domain.

In the unexpected case, that I get this kind of issue again, I will tell you.

Thank you for you help!

Cheers, Jörg
Comment 8 Denis Roy CLA 2007-10-10 11:42:54 EDT
Moving to Community/Website