Uploaded image for project: 'Spring Tool Suite'
  1. Spring Tool Suite
  2. STS-3647

After installing STS on Kepler. Update site inaccessable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0.RELEASE
    • Fix Version/s: 3.5.0.M2
    • Component/s: SUPPORT
    • Labels:
      None
    • Environment:
      Windows 32 bit Eclipse Kelper (also full STS from Springsource)

      Description

      Working for Big wireless company. System behind a proxy that requires authentication. Preferences->Network Connections->Active Provider set to Manual. HTTP and HTTPS values filled in for proxy host, port, Auth (yes), User and password all populated.

      When Kepler is installed without STS, Marketpace works as expected. Install STS and going to Marketplace fails.

      Error:
      {{monospaced}}Cannot install remote marketplace locations: HTTP Proxy Authentication Required: http://marketplace.eclipse.org/catalogs/api/p

      Stack trace:
      {{monospaced}}org.eclipse.core.runtime.CoreException: HTTP Proxy Authentication Required: http://marketplace.eclipse.org/catalogs/api/p
      at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.java:180)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.eclipse.epp.internal.mpc.core.util.AbstractP2TransportFactory.invokeStream(AbstractP2TransportFactory.java:35)
      at org.eclipse.epp.internal.mpc.core.util.TransportFactory$1.stream(TransportFactory.java:69)
      at org.eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.java:131)
      at org.eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.java:85)
      at org.eclipse.epp.internal.mpc.core.service.RemoteMarketplaceService.processRequest(RemoteMarketplaceService.java:72)
      at org.eclipse.epp.internal.mpc.core.service.DefaultCatalogService.listCatalogs(DefaultCatalogService.java:36)
      at org.eclipse.epp.internal.mpc.ui.commands.MarketplaceWizardCommand$5.run(MarketplaceWizardCommand.java:254)
      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
      Caused by: org.eclipse.ecf.filetransfer.IncomingFileTransferException: Proxy Authentication Required
      at org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.openStreams(HttpClientRetrieveFileTransfer.java:661)
      at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:879)
      at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:570)
      at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:106)
      at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:422)
      at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.read(FileReader.java:273)
      at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.stream(RepositoryTransport.java:172)
      ... 12 more

      Unstall Spring Tool Suite plugins (leaving Groovy, etc) Marketplace access is restored.

      I appears that something in the Spring STS plugins is causing proxy authentication to fail.

      I cannot use the Spring Tool Suite plugins until this issue is resolved.

        Activity

        Hide
        mlippert Martin Lippert added a comment -

        Those new versions of the apache http libs seem to be the standard versions in the Eclipse Luna release from what I can see. Therefore it would be dangerous to replace them with earlier versions in our 4.4-based distribution of STS... We need to check back with the Eclipse folks to see what their strategy on this is.

        Show
        mlippert Martin Lippert added a comment - Those new versions of the apache http libs seem to be the standard versions in the Eclipse Luna release from what I can see. Therefore it would be dangerous to replace them with earlier versions in our 4.4-based distribution of STS... We need to check back with the Eclipse folks to see what their strategy on this is.
        Hide
        apastamba Rao Pathangi added a comment - - edited

        I am currently using STS 3.6.4.CI-B20; Build Id: 201412221207; Platform: Eclipse Luna SR1 (4.4.1) and I have set the proxy config to "manual" with the appropriate values. The dashboard feeds get populated most likely HTTP traffic is coming through. What is odd is that when I go to create a "new" Spring project, I get a "Refreshing" bar that sits there for ever. I kill it (via the red button to the right) and try to pick a "Spring Integration Adapter Template Project."

        The area under, "Templates:" reads,

        requires downloading

        Description: Creates a Spring Integration Adapter Template. Requires Gradle Support.
        URL: :https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/si-template-adapter-1.0.0.RELEASE.zip

        It says, "Spring Integration Adapter Template Project requires a download of 122100 bytes. Proceed?" I click Yes and it is stuck. I kill it once again, I get an error dialog that reads, "Download of template 'org.springframework.integration.sts.template.adapter" failed. I click OK.

        However, when I open the browser I am able to download the file at the following URL which STS was probably trying to download, "https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/si-template-adapter-1.0.0.RELEASE.zip"

        So, what is going on here? Obviously, I am able to download the file via the browser but I cannot do so via STS? I have checked the HTTPS port, I have the right port.

        Show
        apastamba Rao Pathangi added a comment - - edited I am currently using STS 3.6.4.CI-B20; Build Id: 201412221207; Platform: Eclipse Luna SR1 (4.4.1) and I have set the proxy config to "manual" with the appropriate values. The dashboard feeds get populated most likely HTTP traffic is coming through. What is odd is that when I go to create a "new" Spring project, I get a "Refreshing" bar that sits there for ever. I kill it (via the red button to the right) and try to pick a "Spring Integration Adapter Template Project." The area under, "Templates:" reads, requires downloading Description: Creates a Spring Integration Adapter Template. Requires Gradle Support. URL: : https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/si-template-adapter-1.0.0.RELEASE.zip It says, "Spring Integration Adapter Template Project requires a download of 122100 bytes. Proceed?" I click Yes and it is stuck. I kill it once again, I get an error dialog that reads, "Download of template 'org.springframework.integration.sts.template.adapter" failed. I click OK. However, when I open the browser I am able to download the file at the following URL which STS was probably trying to download, "https://raw.github.com/SpringSource/spring-integration-templates/master/si-sts-templates/builds/si-template-adapter-1.0.0.RELEASE.zip" So, what is going on here? Obviously, I am able to download the file via the browser but I cannot do so via STS? I have checked the HTTPS port, I have the right port.
        Hide
        apastamba Rao Pathangi added a comment -

        I think I may have figured out the problem, it may not have anything to do with STS at all. You have to set the proxy config to manual and blank the SOCKS settings. Incredible that setting the SOCKS settings can screw up the access. Apparently this issue has been around for more than three years. Incredible!

        Show
        apastamba Rao Pathangi added a comment - I think I may have figured out the problem, it may not have anything to do with STS at all. You have to set the proxy config to manual and blank the SOCKS settings. Incredible that setting the SOCKS settings can screw up the access. Apparently this issue has been around for more than three years. Incredible!
        Hide
        mlippert Martin Lippert added a comment -

        Thanks, Rao, for posting your findings here to share it with others, much appreciated!!! (and I agree that having this issue with SOCKS support for so long is a bit incredible)

        Show
        mlippert Martin Lippert added a comment - Thanks, Rao, for posting your findings here to share it with others, much appreciated!!! (and I agree that having this issue with SOCKS support for so long is a bit incredible)
        Hide
        mlippert Martin Lippert added a comment -

        We moved issue tracking for this project to https://github.com/spring-projects/spring-ide.
        If you would like to comment on or re-open this issue, please file a new issue at GitHub and refer to this one.

        Show
        mlippert Martin Lippert added a comment - We moved issue tracking for this project to https://github.com/spring-projects/spring-ide . If you would like to comment on or re-open this issue, please file a new issue at GitHub and refer to this one.

          People

          • Assignee:
            kdvolder Kris De Volder
            Reporter:
            hamiltonca Chris Hamilton
          • Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: