Announcement Announcement Module
Collapse
No announcement yet.
Cannot download extensions Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cannot download extensions

    I've downloaded the STS and follwed the instructions on how to get it up and running with groovy and grails. However everytime I try install any extensions I get the following error.

    Failed to discover all connectors.
    RemoteBundleDiscoveryStrategy failed with an error
    Unable to connect to repository http://dist.springsource.com/release...ectory-2.8.xml
    Connection timed out: connect

    SpringSource Tool Suite
    Version: 2.8.1.RELEASE
    Build Id: 201111221000

    My connection is fine but still no luck - can anyone out there help?

    Thanks in advance.

  • #2
    Hi!

    Did you check the connection/proxy settings in Eclipse/STS? (preferences -> general -> network connection)

    HTH,
    Martin

    Comment


    • #3
      I've checked that and still no luck

      Comment


      • #4
        I don't know exactly what kind of network problem is causing this here (why Eclipse/STS isn't able to connect), but you can try to install Groovy-Eclipse and STS Grails support directly from this update site:

        http://dist.springsource.com/release...vy-grails/e3.7

        In addition to that we are working on a network connectivity checker to get more diagnosis information out of those situations to better identify what is causing the connectivity problem.

        HTH,
        Martin

        Comment


        • #5
          OK really weird, I downloaded the springsource-tool-suite-2.8.1.RELEASE-e3.7.1-win32-x86_64.zip rather than the installer and problem sorted.

          Comment


          • #6
            OK spoke too soon, now I get this error:

            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=).
            No repository found containing: osgi.bundle,org.codehaus.groovy,1.7.10.xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.codehaus.groovy,1.8.4.xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.codehaus.groovy.eclipse,2.6.1.xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.codehaus.groovy.eclipse.ant,2.6.1. xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.codehaus.groovy.eclipse.astviews,2 .6.1.xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.codehaus.groovy.eclipse.codeassist .completion,2.6.1.xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.codehaus.groovy.eclipse.codebrowsi ng,2.6.1.xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.codehaus.groovy.eclipse.core,2.6.1 .xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.codehaus.groovy.eclipse.dsl,2.6.1. xx-20120118-1100-e37-M1
            No repository found containing: org.eclipse.update.feature,org.codehaus.groovy.ecl ipse.feature,2.6.1.xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.codehaus.groovy.eclipse.quickfix,2 .6.1.xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.codehaus.groovy.eclipse.refactorin g,2.6.1.xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.codehaus.groovy.eclipse.ui,2.6.1.x x-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.codehaus.groovy.frameworkadapter,2 .6.1.xx-20120118-1100-e37-M1
            No repository found containing: org.eclipse.update.feature,org.codehaus.groovy.hea dless.feature,2.6.1.xx-20120118-1100-e37-M1
            No repository found containing: org.eclipse.update.feature,org.codehaus.groovy.jdt .patch,2.6.1.xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.codehaus.groovy.m2eclipse,2.6.1.xx-20120118-1100-e37-M1
            No repository found containing: org.eclipse.update.feature,org.codehaus.groovy.m2e clipse,2.6.1.xx-20120118-1100-e37-M1
            No repository found containing: org.eclipse.update.feature,org.codehaus.groovy17.f eature,2.6.1.xx-20120118-1100-e37-M1
            No repository found containing: org.eclipse.update.feature,org.codehaus.groovy18.f eature,2.6.1.xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.eclipse.jdt.core,3.7.1.xx-20120118-1100-e37-M1
            No repository found containing: osgi.bundle,org.eclipse.jdt.groovy.core,2.6.1.xx-20120118-1100-e37-M1

            Comment


            • #7
              Hey!

              Did you try to install from the update site directly?

              Cheers,
              -Martin

              Comment


              • #8
                Hi, I just joined this forum because I am having this exact issue. I've searched all over the internet with no avail. I am a long-time USER of Eclipse for Java development. Only recently have I began investigating Grails and Groovy.

                I installed the latest STS:
                Version: 2.8.1.RELEASE
                Build Id: 201111221000

                I am attempting to run this on Windows 7. Let me know if I need to include more details.

                Martin, I tried your direct link above and a get back an XML document informing me that I have been denied:

                http://dist.springsource.com/release...vy-grails/e3.7
                <Error>
                <Code>AccessDenied</Code>
                <Message>Access Denied</Message>
                <RequestId>2B783B2FC200DD33</RequestId>
                <HostId>B81sjyuNyfOAzGx89TOLDyg0Z7EvTWG9n0tVkkk1fo 9bsrWrCa4SDXWyFnqpbkhy</HostId>
                </Error>

                Comment


                • #9
                  While I'm waiting for a reply, I'll include more details about what I've tried thus far.

                  Previous posts by Martin suggest that it could be due to network proxies not being configured correctly in STS. I do not have any such proxies set up in my home network. For good measure, I tried the installation using my employer's wifi and that also didn't alleviate the issue.

                  According to one forum, another common cause of this issue is installing STS in C:\Program Files, which is locked down in Windows 7. I reinstalled into C:\springsource. The issues persisted. (Note: I corrected this issue prior to trying my employer's network)

                  If I persist after the initial complaint of "No Connectors Found", I can usually get the Extensions pane to load with the plugins I need ("Grails Support" and "Groovy Eclipse" in particular). Once I have this, I can select the ones I need and press the Install button. Typically it fails altogether at this point.

                  But this last time, it actually began to load the XML file that it claims to be fetching. It loaded very slowly, and often paused for several moments. It eventually confirmed that I wanted to install the plugins, which I confirmed. Again progress crawled as it downloaded jars. Finally, the downloading paused indefinitely and I got the errors which I have attached as an image:

                  Attachment

                  I'm guessing it's a problem of ridiculously slow downloads of the configuration (although I can download them in a browser quite easily). Are there any workarounds?
                  Attached Files

                  Comment


                  • #10
                    Hi!

                    Originally posted by barnesjd View Post
                    Martin, I tried your direct link above and a get back an XML document informing me that I have been denied:

                    http://dist.springsource.com/release...vy-grails/e3.7
                    <Error>
                    <Code>AccessDenied</Code>
                    <Message>Access Denied</Message>
                    <RequestId>2B783B2FC200DD33</RequestId>
                    <HostId>B81sjyuNyfOAzGx89TOLDyg0Z7EvTWG9n0tVkkk1fo 9bsrWrCa4SDXWyFnqpbkhy</HostId>
                    </Error>
                    That is the expected behavior when you browse to that URL in the browser. It is not a website, it is a p2 repository, which doesn't contain any index.html file or something similar.

                    Did you try to install the Groovy+Grails support by using this update site in the "Install New Software" dialog in STS?

                    HTH,
                    Martin

                    Comment


                    • #11
                      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...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://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

                      Comment


                      • #12
                        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

                        Comment


                        • #13
                          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.

                          Comment


                          • #14
                            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

                            Comment


                            • #15
                              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.

                              Comment

                              Working...
                              X