Page 2 of 5 FirstFirst 1234 ... LastLast
Results 11 to 20 of 45

Thread: Cannot download extensions

  1. #11
    Join Date
    Feb 2012
    Location
    Huntsville, AL
    Posts
    23

    Default

    Thanks Martin! I attempted the "Install New Software" dialog using software site "Groovy & Grails for SpringSource Tool Suite - http://dist.springsource.com/release/TOOLS/third-party/groovy-grails/e3.7". While it appeared to gain traction, it eventually gave up. The error details are below:

    An error occurred while collecting items to be installed
    session context wasprofile=com.springsource.sts.ide, phase=org.eclipse.equinox.internal.p2.engine.phase s.Collect, operand=, action=).
    Unable to read repository at http://download.eclipse.org/tools/aj...1123094400.jar.
    Read timed out
    Unable to read repository at http://download.eclipse.org/tools/aj...1123094400.jar.
    Read timed out
    Unable to read repository at http://download.springsource.com/rel... 0-RELEASE.jar.
    Read timed out
    Unable to read repository at http://download.springsource.com/rel...00-RELEASE.jar.
    Read timed out
    Unable to read repository at http://download.springsource.com/rel...00-RELEASE.jar.
    Read timed out
    Unable to read repository at http://download.springsource.com/rel...00-RELEASE.jar.
    Read timed out
    Unable to read repository at http://download.springsource.com/rel...00-RELEASE.jar.
    Read timed out
    Unable to read repository at http://dist.springsource.org/snapsho...100-e37-M1.jar.
    Read timed out
    Unable to read repository at http://dist.springsource.org/snapsho...100-e37-M1.jar.
    Read timed out
    Unable to read repository at http://dist.springsource.org/snapsho...100-e37-M1.jar.
    Read timed out
    Unable to read repository at http://dist.springsource.org/snapsho...100-e37-M1.jar.
    Read timed out

  2. #12
    Join Date
    Feb 2012
    Location
    Huntsville, AL
    Posts
    23

    Default

    I just tried the same approach while on my employer's network to convince myself that it's not an issue with my home network. I got similar results:

    An error occurred while collecting items to be installed
    session context wasprofile=com.springsource.sts.ide, phase=org.eclipse.equinox.internal.p2.engine.phase s.Collect, operand=, action=).
    Unable to read repository at http://dist.springsource.org/snapsho...100-e37-M1.jar.
    Read timed out
    Unable to read repository at http://dist.springsource.org/snapsho...100-e37-M1.jar.
    Read timed out
    Unable to read repository at http://dist.springsource.org/snapsho...100-e37-M1.jar.
    Read timed out
    Unable to read repository at http://dist.springsource.org/snapsho...100-e37-M1.jar.
    Read timed out

  3. #13
    Join Date
    Feb 2012
    Location
    Huntsville, AL
    Posts
    23

    Default

    Oh, I failed to mention that this second time I attempted the "Install New Software" dialog, I only selected the Groovy Eclipse option. I suspect that is the reason the error list is shorter.

  4. #14
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    Hi!

    That is strange, I can access those JAR files without any problems. And since your "install new software" dialog is able to show the content of the update site, the general network access seems to be working as well.

    Please try adding the following options to your sts.ini in order to change the values for read timeouts. Maybe that helps here:
    -Dorg.eclipse.ecf.provider.filetransfer.retrieve.cl oseTimeout=30000
    -Dorg.eclipse.ecf.provider.filetransfer.retrieve.re adTimeout=30000
    -Dsun.net.client.defaultReadTimeout=30000

    HTH,
    Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  5. #15
    Join Date
    Aug 2005
    Location
    Halifax, NS, Canada
    Posts
    50

    Default

    I have the same problem as above. Grails does not show up as something that can be installed from that p2 update site. See the attached screen shot - it shows everything in the repo. I have a brand new install of STS 2.8.1 on a Mac with a new, empty workspace.

    I Grails is in that repo, I cannot see it.
    Attached Images Attached Images
    Don Laidlaw
    Infor Global Solutions

  6. #16
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    Hi!

    Quote Originally Posted by dlaidlaw View Post
    I have the same problem as above. Grails does not show up as something that can be installed from that p2 update site. See the attached screen shot - it shows everything in the repo. I have a brand new install of STS 2.8.1 on a Mac with a new, empty workspace.

    I Grails is in that repo, I cannot see it.
    Can you post the screenshot somewhere else? This forum reduces the resolution of those images too much to see anything... :-(

    Thanks!
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  7. #17
    Join Date
    Aug 2005
    Location
    Halifax, NS, Canada
    Posts
    50

    Default

    Don Laidlaw
    Infor Global Solutions

  8. #18
    Join Date
    Aug 2005
    Location
    Halifax, NS, Canada
    Posts
    50

    Default A solution for me!

    I saw a way back in the eclipse error log the following error: Unable to read repository at file:/Users/dlaidlaw/springsource/sts-2.8.1.RELEASE/p2/org.eclipse.equinox.p2.repository/cache/content1961774278.jar.

    I tried to look at the file contents (jar -tvf) but jar could not open it. So I stopped STS, removed all the files in that folder, and restarted STS. STS then began to repopulate that folder again automatically. When it finished I was able to install Grails support using the Dashboard Extensions with no problems.

    I guess somehow a corrupt file got into that cache folder. None of the recent messages in the eclipse error log indicated anything even remotely like a corrupt file.
    Don Laidlaw
    Infor Global Solutions

  9. #19
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,637

    Default

    Hey Don!

    Ah, a corrupted p2 cache, very good find. Glad to hear you found the root cause and solved it!!!
    Thanks for letting us know!!!

    Cheers,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  10. #20
    Join Date
    Feb 2012
    Location
    Huntsville, AL
    Posts
    23

    Default

    I'm jealous because I think my issue is not the same, lol.

    Martin, I've tried increasing the timeout. Unfortunately, it just made it take longer to error out.

    I'm going through the process again in hopes that I can identify any local files in the error logs like Don found.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •