Forum Discussion

Tester_375658's avatar
Tester_375658
Icon for Nimbostratus rankNimbostratus
Dec 05, 2018

GZip gives error: java.util.zip.ZipException: invalid block type

hi,

 

I am getting the following error : java.util.zip.ZipException: invalid block type at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164) at java.util.zip.GZIPInputStream.read(GZIPInputStream.java:117)

 

After I collect the ucs file using API calls. I check the content-range for each API call and i think i collected everything in the ucs file. How would i debug this to find out what is wrong?

 

thanks, wai

 

3 Replies

    • Tester_375658's avatar
      Tester_375658
      Icon for Nimbostratus rankNimbostratus

      I am actually using the API call that is documented in F5, namely file. I am using the content-range in the API call to get the ucs file. I am testing now so there should be little traffic delay. I am very sure that the ucs file collected in API calls is not correct. I can manually download the ucs file and do an extraction and it work, but not the ucs file coming from the API calls. How can i debug the API call other than monitoring the content range value.

       

      The link you send is using scp from that i can tell with a brief glance. Unfortunately, i cannot access TCL from my system.

       

      -wai

       

  • Just to clarify my question.

     

    I am using BigIQ's API to collect the ucs file(s) and got java.util.zip.ZipException: invalid block type when i uncompress this ucs file, so that i can get to the device configuration file.

     

    -wailing