groovy / groovy-eclipse

Eclipse Groovy Development Tools
653 stars 192 forks source link

In last month, unable to install any (ok, only checked two) version of groovy-eclipse, in multiple Eclipse distributions #1585

Open davidmichaelkarr opened 2 weeks ago

davidmichaelkarr commented 2 weeks ago

For about a month now, I have been completely unable to install the groovy-eclipse plugin. I've now tried two different versions, and two different versions of Eclipse. I've tried this both within our corp firewall and outside it.

I install several other plugins, either from marketplace or the main eclipse distro update site, and I have no problems with any of them.

This is the current "Error Details" that I get, attempting to install the 4.31 version in the new 4.32 distro (I assume even if this version discrepancy wasn't quite right, it wouldn't fail to download):

An error occurred while collecting items to be installed
session context was:(profile=C__Users_dk068x_eclipse_java-2024-06_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

Can't download artifact osgi.bundle,org.codehaus.groovy,3.0.21.v202403311524-e2403 required by org.codehaus.groovy[3.0.21.v202403311524-e2403], org.codehaus.groovy.eclipse[5.3.0.v202403311524-e2403], org.codehaus.groovy30.feature.feature.group[5.3.0.v202403311524-e2403], org.codehaus.groovy[3.0.21.v202403311524-e2403], org.codehaus.groovy[4.0.20.v202403311524-e2403], org.codehaus.groovy.eclipse.quickfix[5.3.0.v202403311524-e2403], org.codehaus.groovy.m2eclipse[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.codeassist[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.codebrowsing[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.astviews[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.dsl[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.core[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.refactoring[5.3.0.v202403311524-e2403], org.eclipse.jdt.groovy.core[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.compilerResolver[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.frameworkAdapter[5.3.0.v202403311524-e2403], org.codehaus.groovy.m2eclipse.feature.feature.group[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.ant[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.ui[5.3.0.v202403311524-e2403] from any of the following repositories: 
file:/C:/Users/dk068x/.p2/pool/.eclipseextension
file:/C:/Users/dk068x/.p2/pool/
file:/C:/Users/dk068x/eclipse/java-2024-06/eclipse/configuration/org.eclipse.osgi/237/data/listener_1925729951/
file:/C:/Users/dk068x/.p2/org.eclipse.equinox.p2.core/cache/
file:/C:/Users/dk068x/frameworks/e4macs/Emacs+Update/
https://de-jcup.github.io/update-site-eclipse-yaml-editor/update-site
http://download.eclipse.org/usssdk/updates/release/latest
jar:file:/C:/Users/dk068x/frameworks/moreunit/org.moreunit.updatesite-3.3.2-SNAPSHOT.zip!/
https://download.eclipse.org/modeling/emf/emf/builds/release/2.38.0
https://download.eclipse.org/technology/epp/packages/2024-06/202406061200
https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/release/4.30.0
https://download.eclipse.org/e4/snapshots/org.eclipse.e4.ui
https://download.eclipse.org/wildwebdeveloper/releases/1.3.6
https://spotbugs.github.io/eclipse/
https://ecd-plugin.github.io/update/
https://de-jcup.github.io/update-site-eclipse-bash-editor/update-site
https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/e4.32/
https://download.eclipse.org/lsp4j/updates/releases/0.23.1
https://download.eclipse.org/technology/m2e/releases/latest
https://download.eclipse.org/releases/2024-06/202406121000
https://groovy.jfrog.io/artifactory/plugins-release/org/codehaus/groovy/groovy-eclipse-integration/5.3.0/e4.31
https://download.eclipse.org/eclipse/updates/4.32
https://download.eclipse.org/mylyn/updates/release/4.2.0
https://download.eclipse.org/lsp4e/releases/0.26.2
https://groovy.jfrog.io/artifactory/plugins-release/e4.31
https://download.eclipse.org/technology/epp/packages/latest/
https://download.eclipse.org/eclipse/updates/4.31
https://download.springsource.com/release/TOOLS/update/3.9.22.RELEASE/e4.23
https://download.eclipse.org/releases/latest
https://download.eclipse.org/tm4e/releases/0.12.0
https://groovy.jfrog.io/artifactory/plugins-snapshot/e4.32
https://download.eclipse.org/releases/2024-06
https://download.eclipse.org/oomph/updates/milestone/latest
https://download.eclipse.org/egit/updates-6.9
https://download.eclipse.org/webtools/downloads/drops/R3.33.0/R-3.33.0-20240304165142/repository

Can't download artifact osgi.bundle,org.codehaus.groovy,4.0.20.v202403311524-e2403 required by org.codehaus.groovy[4.0.20.v202403311524-e2403], org.codehaus.groovy.eclipse[5.3.0.v202403311524-e2403], org.codehaus.groovy[3.0.21.v202403311524-e2403], org.codehaus.groovy[4.0.20.v202403311524-e2403], org.codehaus.groovy.eclipse.quickfix[5.3.0.v202403311524-e2403], org.codehaus.groovy.m2eclipse[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.codeassist[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.codebrowsing[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.astviews[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.dsl[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.core[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.refactoring[5.3.0.v202403311524-e2403], org.eclipse.jdt.groovy.core[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.compilerResolver[5.3.0.v202403311524-e2403], org.codehaus.groovy40.feature.feature.group[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.frameworkAdapter[5.3.0.v202403311524-e2403], org.codehaus.groovy.m2eclipse.feature.feature.group[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.ant[5.3.0.v202403311524-e2403], org.codehaus.groovy.eclipse.ui[5.3.0.v202403311524-e2403] from any of the following repositories: 
file:/C:/Users/dk068x/.p2/pool/.eclipseextension
file:/C:/Users/dk068x/.p2/pool/
file:/C:/Users/dk068x/eclipse/java-2024-06/eclipse/configuration/org.eclipse.osgi/237/data/listener_1925729951/
file:/C:/Users/dk068x/.p2/org.eclipse.equinox.p2.core/cache/
file:/C:/Users/dk068x/frameworks/e4macs/Emacs+Update/
https://de-jcup.github.io/update-site-eclipse-yaml-editor/update-site
http://download.eclipse.org/usssdk/updates/release/latest
jar:file:/C:/Users/dk068x/frameworks/moreunit/org.moreunit.updatesite-3.3.2-SNAPSHOT.zip!/
https://download.eclipse.org/modeling/emf/emf/builds/release/2.38.0
https://download.eclipse.org/technology/epp/packages/2024-06/202406061200
https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/release/4.30.0
https://download.eclipse.org/e4/snapshots/org.eclipse.e4.ui
https://download.eclipse.org/wildwebdeveloper/releases/1.3.6
https://spotbugs.github.io/eclipse/
https://ecd-plugin.github.io/update/
https://de-jcup.github.io/update-site-eclipse-bash-editor/update-site
https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/e4.32/
https://download.eclipse.org/lsp4j/updates/releases/0.23.1
https://download.eclipse.org/technology/m2e/releases/latest
https://download.eclipse.org/releases/2024-06/202406121000
https://groovy.jfrog.io/artifactory/plugins-release/org/codehaus/groovy/groovy-eclipse-integration/5.3.0/e4.31
https://download.eclipse.org/eclipse/updates/4.32
https://download.eclipse.org/mylyn/updates/release/4.2.0
https://download.eclipse.org/lsp4e/releases/0.26.2
https://groovy.jfrog.io/artifactory/plugins-release/e4.31
https://download.eclipse.org/technology/epp/packages/latest/
https://download.eclipse.org/eclipse/updates/4.31
https://download.springsource.com/release/TOOLS/update/3.9.22.RELEASE/e4.23
https://download.eclipse.org/releases/latest
https://download.eclipse.org/tm4e/releases/0.12.0
https://groovy.jfrog.io/artifactory/plugins-snapshot/e4.32
https://download.eclipse.org/releases/2024-06
https://download.eclipse.org/oomph/updates/milestone/latest
https://download.eclipse.org/egit/updates-6.9
https://download.eclipse.org/webtools/downloads/drops/R3.33.0/R-3.33.0-20240304165142/repository
davidmichaelkarr commented 2 weeks ago

I've been able to work around this by simply downloading the local update site, for the 4.31 release. It installs fine from that. It's still a bit of an annoying workaround. Where can I get the local update site for the current snapshot version, to compare against what I'm installing from marketplace?

eric-milles commented 2 weeks ago

If I understand correctly, you have Eclipse 4.32 and are trying to install Groovy Development Tools from the marketplace. The marketplace entry was auto-updated to link 4.32 to the update site for the 4.31 tools. This has since been corrected.

Regarding the update site archives, I don't bother creating those for snapshot deployment. You can make one by downloading the code and the running mvn -Pe4.32 deploy. The site archive is located inside the Site-org.codehaus.groovy.eclipse/target folder.

eric-milles commented 6 days ago

@davidmichaelkarr Were you able to try the 4.32 marketplace entry again?

davidmichaelkarr commented 6 days ago

One thing I'll need to be clear on is exactly what I should be installing. When I search for Groovy in the marketplace, I only see the 5.4.0-SNAPSHOT release. Is this the one you mean?

davidmichaelkarr commented 6 days ago

Although in any case, I still cannot install Groovy-Eclipse from a remote update site. It fails every time. The only way I've been able to install Groovy-Eclipse is by downloading the update site archive and using it as a local update site. This is the only plugin I've had this problem with.

eric-milles commented 6 days ago

The marketplace is showing only what applies to your eclipse version. So for 4.32 (2024-06) 5.4.0-SNAPSHOT is correct. Did that fail to install as before?

davidmichaelkarr commented 5 days ago

Correct, still "Can't download artifact". One thing I'm curious about, did these artifacts recently move to jfrog? We recently moved our internal artifact repo from nexus to jfrog, probably just a coincidence, just curious.

eric-milles commented 5 days ago

Can you share the error message? It should not refer to -e2403 any longer unless I have some error in the build.

Update site was moved to artifactory when springsource shut down its hosting.

davidmichaelkarr commented 5 days ago
An error occurred while collecting items to be installed
session context was:(profile=C__Users_dk068x_eclipse_java-2024-06_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).

Can't download artifact osgi.bundle,org.codehaus.groovy,3.0.21.v202406071837-e2406 required by
 org.codehaus.groovy[3.0.21.v202406071837-e2406],
 org.codehaus.groovy.eclipse.dsl[5.4.0.v202406071837-e2406],
 org.eclipse.jdt.groovy.core[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.core[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.codeassist[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.refactoring[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.m2eclipse.feature.feature.group[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.astviews[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.quickfix[5.4.0.v202406071837-e2406],
 org.codehaus.groovy[3.0.21.v202406071837-e2406],
 org.codehaus.groovy[4.0.21.v202406071837-e2406],
 org.codehaus.groovy30.feature.feature.group[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.codebrowsing[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.m2eclipse[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.ui[5.4.0.v202406071837-e2406],
 org.eclipse.jdt.core.compiler.batch[3.38.0.v202406071837-e2406],
 org.eclipse.jdt.core[3.38.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.frameworkAdapter[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.ant[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.compilerResolver[5.4.0.v202406071837-e2406]
from any of the following repositories:
 https://groovy.jfrog.io/artifactory/plugins-snapshot/e4.32

Can't download artifact osgi.bundle,org.codehaus.groovy,4.0.21.v202406071837-e2406 required by
 org.codehaus.groovy[4.0.21.v202406071837-e2406],
 org.codehaus.groovy.eclipse.dsl[5.4.0.v202406071837-e2406],
 org.eclipse.jdt.groovy.core[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.core[5.4.0.v202406071837-e2406],
 org.codehaus.groovy40.feature.feature.group[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.codeassist[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.refactoring[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.m2eclipse.feature.feature.group[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.astviews[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.quickfix[5.4.0.v202406071837-e2406],
 org.codehaus.groovy[3.0.21.v202406071837-e2406],
 org.codehaus.groovy[4.0.21.v202406071837-e2406],
 org.codehaus.groovy.eclipse.codebrowsing[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.m2eclipse[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.ui[5.4.0.v202406071837-e2406],
 org.eclipse.jdt.core.compiler.batch[3.38.0.v202406071837-e2406],
 org.eclipse.jdt.core[3.38.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.frameworkAdapter[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.ant[5.4.0.v202406071837-e2406],
 org.codehaus.groovy.eclipse.compilerResolver[5.4.0.v202406071837-e2406]
from any of the following repositories:
 https://groovy.jfrog.io/artifactory/plugins-snapshot/e4.32
eric-milles commented 5 days ago

It is odd (to me) that the same two files are the problem with each update site. Do you know if these files are being restricted somehow by your network security?

Does it make any difference if you use this update site? https://groovy.jfrog.io/artifactory/plugins-snapshot-local/e4.32

davidmichaelkarr commented 5 days ago

That fails with this:

An error occurred while collecting items to be installed session context was:(profile=C__Users_dk068x_eclipse_java-2024-06_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Can't download artifact osgi.bundle,org.codehaus.groovy,3.0.21.v202406071837-e2406 required by org.codehaus.groovy[3.0.21.v202406071837-e2406], org.codehaus.groovy.eclipse.dsl[5.4.0.v202406071837-e2406], org.eclipse.jdt.groovy.core[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.core[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.codeassist[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.refactoring[5.4.0.v202406071837-e2406], org.codehaus.groovy.m2eclipse.feature.feature.group[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.astviews[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.quickfix[5.4.0.v202406071837-e2406], org.codehaus.groovy[3.0.21.v202406071837-e2406], org.codehaus.groovy[4.0.21.v202406071837-e2406], org.codehaus.groovy30.feature.feature.group[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.codebrowsing[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse[5.4.0.v202406071837-e2406], org.codehaus.groovy.m2eclipse[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.ui[5.4.0.v202406071837-e2406], org.eclipse.jdt.core.compiler.batch[3.38.0.v202406071837-e2406], org.eclipse.jdt.core[3.38.0.v202406071837-e2406], org.codehaus.groovy.eclipse.frameworkAdapter[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.ant[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.compilerResolver[5.4.0.v202406071837-e2406] from any of the following repositories: file:/C:/Users/dk068x/.p2/pool/ file:/C:/Users/dk068x/.p2/pool/.eclipseextension file:/C:/Users/dk068x/eclipse/java-2024-06/eclipse/configuration/org.eclipse.osgi/256/data/listener_1925729951/ file:/C:/Users/dk068x/.p2/org.eclipse.equinox.p2.core/cache/ file:/C:/Users/dk068x/frameworks/e4macs/Emacs+Update/ https://de-jcup.github.io/update-site-eclipse-yaml-editor/update-site https://groovy.jfrog.io/artifactory/plugins-snapshot-local/e4.32 http://download.eclipse.org/usssdk/updates/release/latest jar:file:/C:/Users/dk068x/frameworks/moreunit/org.moreunit.updatesite-3.3.2-SNAPSHOT.zip!/ https://download.eclipse.org/modeling/emf/emf/builds/release/2.38.0 https://download.eclipse.org/technology/epp/packages/2024-06/202406061200 https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/release/4.30.0 https://download.eclipse.org/e4/snapshots/org.eclipse.e4.ui https://download.eclipse.org/wildwebdeveloper/releases/1.3.6 https://spotbugs.github.io/eclipse/ https://ecd-plugin.github.io/update/ https://de-jcup.github.io/update-site-eclipse-bash-editor/update-site https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/e4.32/ https://download.eclipse.org/lsp4j/updates/releases/0.23.1 https://download.eclipse.org/releases/2024-06/202406121000 https://groovy.jfrog.io/artifactory/plugins-release/org/codehaus/groovy/groovy-eclipse-integration/5.3.0/e4.31 https://download.eclipse.org/eclipse/updates/4.32 https://download.eclipse.org/mylyn/updates/release/4.2.0 https://groovy.jfrog.io/artifactory/plugins-release/e4.31 https://download.eclipse.org/lsp4e/releases/0.26.2 https://download.eclipse.org/technology/epp/packages/latest/ https://download.eclipse.org/eclipse/updates/4.31 https://download.springsource.com/release/TOOLS/update/3.9.22.RELEASE/e4.23 https://download.eclipse.org/releases/latest https://www.genuitec.com/updates/copilot4eclipse https://download.eclipse.org/tm4e/releases/0.12.0 https://groovy.jfrog.io/artifactory/plugins-snapshot/e4.32 https://download.eclipse.org/oomph/updates/milestone/latest https://download.eclipse.org/releases/2024-06 https://download.eclipse.org/egit/updates-6.9 https://download.eclipse.org/webtools/downloads/drops/R3.33.0/R-3.33.0-20240304165142/repository jar:file:/C:/Users/dk068x/Downloads/org.codehaus.groovy-5.3.0.v202403311524-e2403-updatesite.zip!/ Can't download artifact osgi.bundle,org.codehaus.groovy,4.0.21.v202406071837-e2406 required by org.codehaus.groovy[4.0.21.v202406071837-e2406], org.codehaus.groovy.eclipse.dsl[5.4.0.v202406071837-e2406], org.eclipse.jdt.groovy.core[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.core[5.4.0.v202406071837-e2406], org.codehaus.groovy40.feature.feature.group[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.codeassist[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.refactoring[5.4.0.v202406071837-e2406], org.codehaus.groovy.m2eclipse.feature.feature.group[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.astviews[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.quickfix[5.4.0.v202406071837-e2406], org.codehaus.groovy[3.0.21.v202406071837-e2406], org.codehaus.groovy[4.0.21.v202406071837-e2406], org.codehaus.groovy.eclipse.codebrowsing[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse[5.4.0.v202406071837-e2406], org.codehaus.groovy.m2eclipse[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.ui[5.4.0.v202406071837-e2406], org.eclipse.jdt.core.compiler.batch[3.38.0.v202406071837-e2406], org.eclipse.jdt.core[3.38.0.v202406071837-e2406], org.codehaus.groovy.eclipse.frameworkAdapter[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.ant[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.compilerResolver[5.4.0.v202406071837-e2406] from any of the following repositories: file:/C:/Users/dk068x/.p2/pool/ file:/C:/Users/dk068x/.p2/pool/.eclipseextension file:/C:/Users/dk068x/eclipse/java-2024-06/eclipse/configuration/org.eclipse.osgi/256/data/listener_1925729951/ file:/C:/Users/dk068x/.p2/org.eclipse.equinox.p2.core/cache/ file:/C:/Users/dk068x/frameworks/e4macs/Emacs+Update/ https://de-jcup.github.io/update-site-eclipse-yaml-editor/update-site https://groovy.jfrog.io/artifactory/plugins-snapshot-local/e4.32 http://download.eclipse.org/usssdk/updates/release/latest jar:file:/C:/Users/dk068x/frameworks/moreunit/org.moreunit.updatesite-3.3.2-SNAPSHOT.zip!/ https://download.eclipse.org/modeling/emf/emf/builds/release/2.38.0 https://download.eclipse.org/technology/epp/packages/2024-06/202406061200 https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/release/4.30.0 https://download.eclipse.org/e4/snapshots/org.eclipse.e4.ui https://download.eclipse.org/wildwebdeveloper/releases/1.3.6 https://spotbugs.github.io/eclipse/ https://ecd-plugin.github.io/update/ https://de-jcup.github.io/update-site-eclipse-bash-editor/update-site https://cdn.spring.io/spring-tools/release/TOOLS/sts4/update/e4.32/ https://download.eclipse.org/lsp4j/updates/releases/0.23.1 https://download.eclipse.org/releases/2024-06/202406121000 https://groovy.jfrog.io/artifactory/plugins-release/org/codehaus/groovy/groovy-eclipse-integration/5.3.0/e4.31 https://download.eclipse.org/eclipse/updates/4.32 https://download.eclipse.org/mylyn/updates/release/4.2.0 https://groovy.jfrog.io/artifactory/plugins-release/e4.31 https://download.eclipse.org/lsp4e/releases/0.26.2 https://download.eclipse.org/technology/epp/packages/latest/ https://download.eclipse.org/eclipse/updates/4.31 https://download.springsource.com/release/TOOLS/update/3.9.22.RELEASE/e4.23 https://download.eclipse.org/releases/latest https://www.genuitec.com/updates/copilot4eclipse https://download.eclipse.org/tm4e/releases/0.12.0 https://groovy.jfrog.io/artifactory/plugins-snapshot/e4.32 https://download.eclipse.org/oomph/updates/milestone/latest https://download.eclipse.org/releases/2024-06 https://download.eclipse.org/egit/updates-6.9 https://download.eclipse.org/webtools/downloads/drops/R3.33.0/R-3.33.0-20240304165142/repository jar:file:/C:/Users/dk068x/Downloads/org.codehaus.groovy-5.3.0.v202403311524-e2403-updatesite.zip!/

eric-milles commented 5 days ago

When you go to install, is there a checkbox/option "Contact all update sites during install to find required software"? Can you run with it off?

Do you have a fresh install of 4.32? This install lists update sites for 4.31 and a bunch of other stuff. I don't know how p2 handles finding a bundle at one of these locations, but not with the expected version.

davidmichaelkarr commented 5 days ago

I tried turning off that flag, likely same result, but I'll paste the block at the end of this.

After I installed the base distro, I installed some other plugins that I use. What "update sites for 4.31" are you referring to?

An error occurred while collecting items to be installed session context was:(profile=C__Users_dk068x_eclipse_java-2024-06_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Can't download artifact osgi.bundle,org.codehaus.groovy,3.0.21.v202406071837-e2406 required by org.codehaus.groovy[3.0.21.v202406071837-e2406], org.codehaus.groovy.eclipse.dsl[5.4.0.v202406071837-e2406], org.eclipse.jdt.groovy.core[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.core[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.codeassist[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.refactoring[5.4.0.v202406071837-e2406], org.codehaus.groovy.m2eclipse.feature.feature.group[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.astviews[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.quickfix[5.4.0.v202406071837-e2406], org.codehaus.groovy[3.0.21.v202406071837-e2406], org.codehaus.groovy[4.0.21.v202406071837-e2406], org.codehaus.groovy30.feature.feature.group[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.codebrowsing[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse[5.4.0.v202406071837-e2406], org.codehaus.groovy.m2eclipse[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.ui[5.4.0.v202406071837-e2406], org.eclipse.jdt.core.compiler.batch[3.38.0.v202406071837-e2406], org.eclipse.jdt.core[3.38.0.v202406071837-e2406], org.codehaus.groovy.eclipse.frameworkAdapter[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.ant[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.compilerResolver[5.4.0.v202406071837-e2406] from any of the following repositories: https://groovy.jfrog.io/artifactory/plugins-snapshot-local/e4.32 Can't download artifact osgi.bundle,org.codehaus.groovy,4.0.21.v202406071837-e2406 required by org.codehaus.groovy[4.0.21.v202406071837-e2406], org.codehaus.groovy.eclipse.dsl[5.4.0.v202406071837-e2406], org.eclipse.jdt.groovy.core[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.core[5.4.0.v202406071837-e2406], org.codehaus.groovy40.feature.feature.group[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.codeassist[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.refactoring[5.4.0.v202406071837-e2406], org.codehaus.groovy.m2eclipse.feature.feature.group[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.astviews[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.quickfix[5.4.0.v202406071837-e2406], org.codehaus.groovy[3.0.21.v202406071837-e2406], org.codehaus.groovy[4.0.21.v202406071837-e2406], org.codehaus.groovy.eclipse.codebrowsing[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse[5.4.0.v202406071837-e2406], org.codehaus.groovy.m2eclipse[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.ui[5.4.0.v202406071837-e2406], org.eclipse.jdt.core.compiler.batch[3.38.0.v202406071837-e2406], org.eclipse.jdt.core[3.38.0.v202406071837-e2406], org.codehaus.groovy.eclipse.frameworkAdapter[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.ant[5.4.0.v202406071837-e2406], org.codehaus.groovy.eclipse.compilerResolver[5.4.0.v202406071837-e2406] from any of the following repositories: https://groovy.jfrog.io/artifactory/plugins-snapshot-local/e4.32

eric-milles commented 5 days ago

I still come back to some network security thing. Can you try Eclipse 4.27 just to see if we can learn anything different?

davidmichaelkarr commented 5 days ago

I agree, it seems like it must be something like that, but why would it only be the artifacts for this plugin? I posed a question about this to our internal jfrog support team, but I think it's unlikely they would know. I'll try testing older versions of Eclipse, including 4.27.

davidmichaelkarr commented 5 days ago

I just ran the installer for 4.27, started it, imported my saved preferences (just habit), then went to the marketplace and filtered on "groovy", it offered 5.3.0-SNAPSHOT. I installed it. It failed with the following:

An error occurred while collecting items to be installed session context was:(profile=C__Users_dk068x_eclipse_java-2023-03_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Problems downloading artifact: osgi.bundle,org.codehaus.groovy,3.0.21.v202403311455-e2303. Unexpected end of ZLIB input stream Problems downloading artifact: osgi.bundle,org.codehaus.groovy,4.0.20.v202403311455-e2303. Unexpected end of ZLIB input stream

davidmichaelkarr commented 5 days ago

I also just tried disconnecting from VPN and changing my eclipse preferences to use "Native" connection, and it failed with the same error.

However, I also noticed that my Windows system had a proxy setting, pointing to a CGI script. I tried turning that off also. That got a slightly different result:

An error occurred while collecting items to be installed session context was:(profile=C__Users_dk068x_eclipse_java-2023-03_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at https://groovy.jfrog.io/artifactory/plugins-release-local/org/codehaus/groovy/groovy-eclipse-integration/5.3.0/e4.27/plugins/org.codehaus.groovy_3.0.21.v202403311455-e2303.jar. Connection reset Unable to read repository at https://groovy.jfrog.io/artifactory/plugins-release-local/org/codehaus/groovy/groovy-eclipse-integration/5.3.0/e4.27/plugins/org.codehaus.groovy_4.0.20.v202403311455-e2303.jar. Connection reset

I then simply tried visiting that url from my browser, after reconnecting to VPN, and I noticed something curious that may be irrelevant. This is what I saw:

image

eric-milles commented 5 days ago

When I got to the same link, it does start a download. I think artifactory does some redirect(s).

davidmichaelkarr commented 5 days ago

It seems like this is key to the problem. Why would it give me an empty directory, but start a download for you? I'm asking our internal jfrog team, perhaps they can point me to a resource.

davidmichaelkarr commented 5 days ago

And I had another internal team member try the same test with that url, and he gets the same result I do, just an empty directory with no download. He's on a Mac, and I'm on Windows.

davidmichaelkarr commented 1 day ago

I can even go to this url: https://groovy.jfrog.io/ui/native/plugins-release-local/org/codehaus/groovy/groovy-eclipse-integration/5.3.0/e4.27/plugins/ , which shows the following:

image

This looks fine so far. If I then click on "org.codehaus.groovy_4.0.20.v202403311455-e2303.jar", literally nothing happens. It doesn't move or do anything. If I right-click on it and do "copy link address" and open a new tab with that url, it shows an empty directory (which is odd, as this is supposed to be a single file). If I instead right-click and do "Save link as ..." and let it download that, when I inspect it on disk, it does appear to be a valid jar file.

eric-milles commented 1 day ago

Can you take this to jfrog? Seems like their redirect mechanism is not working for some reason with your network settings.