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

Debug may take little wrong process for troubleshooting and it might create impact with existing traffic if device is in production, Correct me if i am wrong.

Personally I would recommend you use existing iApp feature in F5. Below link may help to generate UCS…

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