groovy-eclipse icon indicating copy to clipboard operation
groovy-eclipse copied to clipboard

Recent updates of groovy-eclipse are all failing with "Unexpected end of ZLIB input stream"

Open davidmichaelkarr opened this issue 1 year ago • 4 comments

In the past few weeks, every time I've attempted to update the groovy-eclipse plugin in my 2024-03 Eclipse, it fails with this:

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

davidmichaelkarr avatar May 16 '24 18:05 davidmichaelkarr

I just uploaded a new 4.31 (2024-03) and 4.32 (2024-06) snapshot. Can you restart eclipse and update? If it still fails, can you try the non-aggregated site link: https://groovy.jfrog.io/artifactory/plugins-snapshot-local/e4.31

eric-milles avatar May 18 '24 12:05 eric-milles

I just tried again, and it failed basically with the same error, although the version numbers in the error are different:

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

Aren't those versions of Groovy, not the GroovyEclipse plugin?

davidmichaelkarr avatar May 20 '24 15:05 davidmichaelkarr

I was able to install from the snapshot site, so it is not an issue with the files. Do you have a proxy or vpn enabled? Are you able to try the update from another network just to check?

eric-milles avatar May 22 '24 13:05 eric-milles

Yes, I'm on VPN with a proxy. I tried disconnecting from VPN and disabling the proxy. That did slightly change the results, but the final result was the same. I wouldn't be at all surprised if my security-paranoid organization figured out how to block things in the Windows image we use. However, I'm not having problems with other plugins.

An error occurred while collecting items to be installed session context was:(profile=C__Users_dk068x_eclipse_java-2024-03_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). Unable to read repository at https://groovy.jfrog.io/artifactory/plugins-snapshot/e4.31/plugins/org.codehaus.groovy_3.0.21.v202405181214-e2403.jar. Connect to https://groovy.jfrog.io:443 [groovy.jfrog.io/34.123.170.31] failed: Read timed out Unable to read repository at https://groovy.jfrog.io/artifactory/plugins-snapshot/e4.31/plugins/org.codehaus.groovy_4.0.21.v202405181214-e2403.jar. Connection reset

davidmichaelkarr avatar May 22 '24 14:05 davidmichaelkarr