java.io.IOException: Not in GZIP format

Sonatype JIRA | Ilya Zharinov | 7 years ago
  1. 0

    in our organization we have a Nexus instance, hosting both mirrors (to central, codehaus, download.java.net, etc) and our own repositories. i use m2eclipse plugin to manage Maven under Eclipse. whenever in Eclipse i try update indexes from our Nexus instances, it says the following: {code} 04/06/10 11:03:28 CEST: Updating index Codehaus Snapshots|http://***/nexus/content/repositories/codehaus-snapshots 04/06/10 11:03:28 CEST: Downloading 29402aea854dbcbb11ee16e74118d68d : nexus-maven-repository-index.properties 04/06/10 11:03:28 CEST: Downloaded Repository[29402aea854dbcbb11ee16e74118d68d|http://***/nexus/content/repositories/codehaus-snapshots/.index]/nexus-maven-repository-index.properties 04/06/10 11:03:28 CEST: Downloading 29402aea854dbcbb11ee16e74118d68d : nexus-maven-repository-index.gz 04/06/10 11:03:28 CEST: Downloaded Repository[29402aea854dbcbb11ee16e74118d68d|http://***/nexus/content/repositories/codehaus-snapshots/.index]/nexus-maven-repository-index.gz 04/06/10 11:03:28 CEST: Unable to update index for Codehaus Snapshots|http://***/nexus/content/repositories/codehaus-snapshots {code} in Eclipse log i see that: {code} java.io.IOException: Not in GZIP format at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:137) at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:58) at org.sonatype.nexus.index.updater.IndexDataReader.<init>(IndexDataReader.java:40) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.unpackIndexData(DefaultIndexUpdater.java:562) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:252) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:74) at org.sonatype.nexus.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:815) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:995) at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:159) at org.maven.ide.eclipse.internal.index.NexusIndexManager.updateRemoteIndex(NexusIndexManager.java:1073) at org.maven.ide.eclipse.internal.index.NexusIndexManager.updateIndex(NexusIndexManager.java:1016) at org.maven.ide.eclipse.internal.index.NexusIndexManager$1.run(NexusIndexManager.java:624) at org.maven.ide.eclipse.internal.index.IndexUpdaterJob.run(IndexUpdaterJob.java:71) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) {code} that's what we have in {{/.index}}: {code} nexus-maven-repository-index.gz Tue Apr 20 11:55:37 CEST 2010 101848 nexus-maven-repository-index.gz.md5 Tue Apr 20 11:55:37 CEST 2010 32 nexus-maven-repository-index.gz.sha1 Tue Apr 20 11:55:37 CEST 2010 40 nexus-maven-repository-index.properties Tue Apr 20 11:55:37 CEST 2010 220 nexus-maven-repository-index.properties.md5 Tue Apr 20 11:55:38 CEST 2010 32 nexus-maven-repository-index.properties.sha1 Tue Apr 20 11:55:38 CEST 2010 40 nexus-maven-repository-index.zip Tue Apr 20 11:55:37 CEST 2010 134141 nexus-maven-repository-index.zip.md5 Tue Apr 20 11:55:37 CEST 2010 32 nexus-maven-repository-index.zip.sha1 Tue Apr 20 11:55:37 CEST 2010 40 {code} when i try to update the index for Maven Central not using our mirror, it successfully proceeds (so, i guess it's not an m2eclipse problem, rather something to do with our Nexus configuration). can someone please point me towards what might be wrong with our Nexus config?

    Sonatype JIRA | 7 years ago | Ilya Zharinov
    java.io.IOException: Not in GZIP format
  2. 0

    java.io.IOException: Not in GZIP format Exception

    Stack Overflow | 4 years ago | user1442189
    java.io.IOException: Not in GZIP format
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [JENKINS-7581] exception by archiving site - Jenkins JIRA

    jenkins-ci.org | 11 months ago
    hudson.util.IOException2: hudson.util.IOException2: Not in GZIP format stream=b1e31d8f1d46ea47c79ff4bb5b37be951b4a37df32e15001de035df93434c66efa58d96b51347db0a291e8a66c28daba481402643826833bb300998206e2bf9d76a67eea8c0104c11a2463038e81d199573036512a0b6313450b606c1b31b3c126cc6c09e35a415b4addeab82d966ff350896c5b3cd366297a5f8b11bac75877e9b6ce8ac51e75bd15288c45b2e02f96cb89bc2c31ec32d16c6e610a518ab94465a2c9ed4b6a99a43258447d6886f8a4fd6934186a21f14903e68c48b50669fb84f35f426ef1f53242cbab4745845e5844c88a2e3295cf0a9491c5b2a08d9f1da838813e861e472c5b903bb1e7e60883effb3dc2b16e44c7fa1c4e78b798ad74eecaaca3a6317074e77e67a8e627fd8b7ea7085924c4d284701291c31a4a7b0d32156959f9e4ce4275dd59bc652d3bcac430479e2ee56dfb179ae7a019d44e3a732e274f41d55598965212d18da7a40d3d14691f44e5c83b1180697f122e8cbeeaf64c374d4367d71569d43054281ea32b853e469a8d8aa3ea1a545a77a74b46e5026b18e08adcd2013b89c393b4f1b8d345e69e895f84f8903bb7300692823243b8eadde01813fc4476f532c961619ae1c6a7d475f51bbc407175fd538830c1af58379ad25cc67152351ce836375cc2fbf4cfbae3e9611587a859673557e93a44f3d1555f8737070d9926dfc8cb0e46cb46ebd75f3de6505751ae9e07c2869d3ee0040d9261af1a1f361805682b07404dfbe6c65857bbc5ebacd26fc996e3faa025ec2d017ab0a39975d4d41e7e0e2a467fa920e9656a550fb5baa067f90c93a0a1bd1453b5641b2b26760a35bbf88841601d8257cd59ce7668eafa3ab4a0d31b178b3edd2e5572cc18ce51abfec975eae226ef6fc6e854eb696992b8ebc04b2e55c518cdf19b0feb200a1f600a81cf2eb5a54c3ca15d1879b7f95ba4e5f5d863d0b26bebb3257085728cc10052607e3d944d8d2175ebc85444e45a104dd3f475c87912e0bb0efb0c461a5e7fa64bcb055a0100203bad108f8cfd64aaaf75c877e10a8605a8add02914a4ca4ce52630244eb18f5d283ad5972b32b70f2f31389630cf63a790ed032fa3be88efb89d825e7878b0d5760f788bdc64176036d2f1ce87c10db5fb83dd839b7ff9e0b244a2bb0742a4e2a391b36390f36cdb748f870937951bc0ec86c26218535bc1acb04b6419bf5c882cb32afe9b63160782a9037e0331f1377c9b329b655516c49e6c279645a0173933cbb23d394c35dbcc16ab6c769a286866cc14253e3f1467d0d81086da6243ad6b4a67d50c172ac5e7d7d9febaa5cc0ec4b2df1a02bfea2cd6efaaa9856be4d2f894bad35c4fbf43612c33362e5458dc65ebc8a9e5cc0aa82e3ae020ff02d8679b58529dc57d965368b628f52646fa9c6e239a05a9a6e1b5d26456d966947cab6be93f42437475cb9bebce
  5. 0

    [JENKINS-7581] exception by archiving site - Jenkins JIRA

    jenkins-ci.org | 6 months ago
    hudson.util.IOException2: hudson.util.IOException2: Not in GZIP format stream=b1e31d8f1d46ea47c79ff4bb5b37be951b4a37df32e15001de035df93434c66efa58d96b51347db0a291e8a66c28daba481402643826833bb300998206e2bf9d76a67eea8c0104c11a2463038e81d199573036512a0b6313450b606c1b31b3c126cc6c09e35a415b4addeab82d966ff350896c5b3cd366297a5f8b11bac75877e9b6ce8ac51e75bd15288c45b2e02f96cb89bc2c31ec32d16c6e610a518ab94465a2c9ed4b6a99a43258447d6886f8a4fd6934186a21f14903e68c48b50669fb84f35f426ef1f53242cbab4745845e5844c88a2e3295cf0a9491c5b2a08d9f1da838813e861e472c5b903bb1e7e60883effb3dc2b16e44c7fa1c4e78b798ad74eecaaca3a6317074e77e67a8e627fd8b7ea7085924c4d284701291c31a4a7b0d32156959f9e4ce4275dd59bc652d3bcac430479e2ee56dfb179ae7a019d44e3a732e274f41d55598965212d18da7a40d3d14691f44e5c83b1180697f122e8cbeeaf64c374d4367d71569d43054281ea32b853e469a8d8aa3ea1a545a77a74b46e5026b18e08adcd2013b89c393b4f1b8d345e69e895f84f8903bb7300692823243b8eadde01813fc4476f532c961619ae1c6a7d475f51bbc407175fd538830c1af58379ad25cc67152351ce836375cc2fbf4cfbae3e9611587a859673557e93a44f3d1555f8737070d9926dfc8cb0e46cb46ebd75f3de6505751ae9e07c2869d3ee0040d9261af1a1f361805682b07404dfbe6c65857bbc5ebacd26fc996e3faa025ec2d017ab0a39975d4d41e7e0e2a467fa920e9656a550fb5baa067f90c93a0a1bd1453b5641b2b26760a35bbf88841601d8257cd59ce7668eafa3ab4a0d31b178b3edd2e5572cc18ce51abfec975eae226ef6fc6e854eb696992b8ebc04b2e55c518cdf19b0feb200a1f600a81cf2eb5a54c3ca15d1879b7f95ba4e5f5d863d0b26bebb3257085728cc10052607e3d944d8d2175ebc85444e45a104dd3f475c87912e0bb0efb0c461a5e7fa64bcb055a0100203bad108f8cfd64aaaf75c877e10a8605a8add02914a4ca4ce52630244eb18f5d283ad5972b32b70f2f31389630cf63a790ed032fa3be88efb89d825e7878b0d5760f788bdc64176036d2f1ce87c10db5fb83dd839b7ff9e0b244a2bb0742a4e2a391b36390f36cdb748f870937951bc0ec86c26218535bc1acb04b6419bf5c882cb32afe9b63160782a9037e0331f1377c9b329b655516c49e6c279645a0173933cbb23d394c35dbcc16ab6c769a286866cc14253e3f1467d0d81086da6243ad6b4a67d50c172ac5e7d7d9febaa5cc0ec4b2df1a02bfea2cd6efaaa9856be4d2f894bad35c4fbf43612c33362e5458dc65ebc8a9e5cc0aa82e3ae020ff02d8679b58529dc57d965368b628f52646fa9c6e239a05a9a6e1b5d26456d966947cab6be93f42437475cb9bebce

  1. jk 7 times, last 5 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Not in GZIP format

    at java.util.zip.GZIPInputStream.readHeader()
  2. Java RT
    GZIPInputStream.<init>
    1. java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:137)
    2. java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:58)
    2 frames
  3. Sonatype Nexus Indexer
    DefaultIndexUpdater.fetchAndUpdateIndex
    1. org.sonatype.nexus.index.updater.IndexDataReader.<init>(IndexDataReader.java:40)
    2. org.sonatype.nexus.index.updater.DefaultIndexUpdater.unpackIndexData(DefaultIndexUpdater.java:562)
    3. org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:252)
    4. org.sonatype.nexus.index.updater.DefaultIndexUpdater.access$300(DefaultIndexUpdater.java:74)
    5. org.sonatype.nexus.index.updater.DefaultIndexUpdater$LuceneIndexAdaptor.setIndexFile(DefaultIndexUpdater.java:815)
    6. org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:995)
    7. org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:159)
    7 frames
  4. org.maven.ide
    IndexUpdaterJob.run
    1. org.maven.ide.eclipse.internal.index.NexusIndexManager.updateRemoteIndex(NexusIndexManager.java:1073)
    2. org.maven.ide.eclipse.internal.index.NexusIndexManager.updateIndex(NexusIndexManager.java:1016)
    3. org.maven.ide.eclipse.internal.index.NexusIndexManager$1.run(NexusIndexManager.java:624)
    4. org.maven.ide.eclipse.internal.index.IndexUpdaterJob.run(IndexUpdaterJob.java:71)
    4 frames
  5. Eclipse Jobs
    Worker.run
    1. org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    1 frame