Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-878

update_geolite timesout when downloading GeoLiteCity.dat.gz

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7.0, 1.7.1, 1.7.2
    • Fix Version/s: 1.8.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Ubuntu 10.10
      Linux version 2.6.35-28-generic (buildd@roseapple) (gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5) ) #49-Ubuntu SMP Tue Mar 1 14:40:58 UTC 2011
    • Attachments:
      1
    • Comments:
      3
    • Documentation Status:
      Needed

      Description

      Build process fails during update_geolite phase of ant fresh_install. It basically returns the error below.

      copy_webapps:
      [copy] Copying 968 files to /usr/local/dspace/webapps
      [copy] Copied 130 empty directories to 6 empty directories under /usr/local/dspace/webapps
      [copy] Copying 6 files to /usr/local/dspace/webapps

      build_webapps_wars:

      check_geolite:

      init_geolite:

      update_geolite:
      [echo] Downloading: http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
      [get] Getting: http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
      [get] To: /usr/local/dspace/config/GeoLiteCity.dat.gz
      [get] Error getting http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz to /usr/local/dspace/config/GeoLiteCity.dat.gz

      BUILD FAILED
      /tmp/dspace-1.7.1-release/dspace/target/dspace-1.7.1-build.dir/build.xml:882: The following error occurred while executing this line:
      /tmp/dspace-1.7.1-release/dspace/target/dspace-1.7.1-build.dir/build.xml:945: The following error occurred while executing this line:
      /tmp/dspace-1.7.1-release/dspace/target/dspace-1.7.1-build.dir/build.xml:931: java.net.ConnectException: Connection timed out
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
      at java.net.Socket.connect(Socket.java:529)
      at java.net.Socket.connect(Socket.java:478)
      at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
      at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
      at sun.net.www.http.HttpClient.New(HttpClient.java:306)
      at sun.net.www.http.HttpClient.New(HttpClient.java:323)
      at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
      at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
      at org.apache.tools.ant.taskdefs.Get$GetThread.openConnection(Get.java:661)
      at org.apache.tools.ant.taskdefs.Get$GetThread.get(Get.java:581)
      at org.apache.tools.ant.taskdefs.Get$GetThread.run(Get.java:571)

      Total time: 3 minutes 49 seconds

        Attachments

          Activity

            People

            Assignee:
            tdonohue Tim Donohue
            Reporter:
            phiri Lighton Phiri
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: