# Error Launching: EOFException: Unexpected end of ZLIB input stream

**URL:** <https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [February 19, 2021, 6:51pm UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631 "2021-02-19T18:51:01Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![BryanB](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@BryanB](https://forum.inductiveautomation.com/u/BryanB)\
**Post date:** [February 19, 2021, 6:51pm UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631/1 "2021-02-19T18:51:01Z")

</div>

Using v8.0.16.

We have an Ignition Gateway at a remote site that we VPN to using a cellular modem. When trying to use the client launcher it gets stuck for a couple minutes on the “Downloading Project” screen. It will eventually get up to about 60% downloaded and then we get the following error:  
Error launching application:  
EOFException: Unexpected end of ZLIB input stream

Any thoughts?

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/5/55db7872c67728dd2436bcba82e911f912c5377d.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/5/d5b288d874e041f72b7b06f0e097031ca6f032d1.png)

---

<div class="post-metadata">

**Author:** ![avg](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@avg](https://forum.inductiveautomation.com/u/avg)\
**Post date:** [May 12, 2021, 7:26am UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631/2 "2021-05-12T07:26:06Z")

</div>

Hi, mate. How do you manage to solve the error?  
Today it’s showing me the same error.  
Thank you.

---

<div class="post-metadata">

**Author:** ![it\_summa](https://avatars.discourse-cdn.com/v4/letter/i/dc4da7/32.png) [@it\_summa](https://forum.inductiveautomation.com/u/it_summa)\
**Post date:** [June 21, 2022, 1:28pm UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631/3 "2022-06-21T13:28:10Z")

</div>

We are also having this issue. The Ignition Gateway is on a remote site and a computer with the client launcher connects to the Ignition Gateway via Radio communication. Did you find a solution to this? Thanks.

---

<div class="post-metadata">

**Author:** ![BryanB](https://avatars.discourse-cdn.com/v4/letter/b/57b2e6/32.png) [@BryanB](https://forum.inductiveautomation.com/u/BryanB)\
**Post date:** [June 21, 2022, 1:55pm UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631/4 "2022-06-21T13:55:00Z")

</div>

I honestly don’t recall what I did to get past this, but it was probably purging the Java cache. That seems to be the solution to a bunch of weird launching issues.

---

<div class="post-metadata">

**Author:** ![Enrique\_Garza](https://avatars.discourse-cdn.com/v4/letter/e/67e7ee/32.png) [@Enrique\_Garza](https://forum.inductiveautomation.com/u/Enrique_Garza)\
**Post date:** [December 19, 2022, 7:39pm UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631/5 "2022-12-19T19:39:12Z")

</div>

I've the same error, any solution found? I didn´t understand how to delete the Java cache. Can someone provide where is located the Java library cache.

---

<div class="post-metadata">

**Author:** ![msteele](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/msteele/32/77889_2.png) [@msteele](https://forum.inductiveautomation.com/u/msteele)\
**Post date:** [March 14, 2024, 7:21pm UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631/6 "2024-03-14T19:21:38Z")

</div>

Anyone ever figure this out? I'm getting the same error on a gateway running 8.1.36.

---

<div class="post-metadata">

**Author:** ![Cory.grube](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cory.grube/32/20476_2.png) [@Cory.grube](https://forum.inductiveautomation.com/u/Cory.grube)\
**Post date:** [January 14, 2025, 3:59pm UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631/7 "2025-01-14T15:59:33Z")

</div>

I just ran into this when restoring an edge backup (8.1.35, Ubuntu 22). I fixed it by stopping the gateway, deleting folder `<installDirectory>/data/jar-cache`, and restarting the gateway.

---

<div class="post-metadata">

**Author:** ![tebright1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tebright1/32/87405_2.png) [@tebright1](https://forum.inductiveautomation.com/u/tebright1)\
**Post date:** [November 6, 2025, 2:55pm UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631/8 "2025-11-06T14:55:52Z")

</div>

Bumping this.

I have some edge devices that are remote and I don't have the best support onsite to delete folders on the device. Any other workaround besides deleting the cache? How to prevent in the future?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 6, 2025, 2:58pm UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631/9 "2025-11-06T14:58:43Z")

</div>

> [@tebright1](#):
>
> How to prevent in the future?

Use Linux. I can't remember the last time I had to delete any client machine caches.

---

<div class="post-metadata">

**Author:** ![tebright1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tebright1/32/87405_2.png) [@tebright1](https://forum.inductiveautomation.com/u/tebright1)\
**Post date:** [November 6, 2025, 7:23pm UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631/10 "2025-11-06T19:23:11Z")

</div>

They are on Opto 22 PLCs which are using Linux. 😅

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 6, 2025, 7:49pm UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631/11 "2025-11-06T19:49:18Z")

</div>

The pictured errors are client failures to launch, not gateway failures. Is the Opto 22 in question a panel PC?

---

<div class="post-metadata">

**Author:** ![tebright1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tebright1/32/87405_2.png) [@tebright1](https://forum.inductiveautomation.com/u/tebright1)\
**Post date:** [November 7, 2025, 4:09pm UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631/12 "2025-11-07T16:09:14Z")

</div>

It is not. Trying to load a designer on a local PC connected to it.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 7, 2025, 4:22pm UTC](https://forum.inductiveautomation.com/t/error-launching-eofexception-unexpected-end-of-zlib-input-stream/43631/13 "2025-11-07T16:22:19Z")

</div>

Then you could try deleting the `.ignition/cache/` directory under your local user profile folder - this is one of the rare occasions where that might actually help. If that _really_ doesn't work, but you've got access to the gateway web interface, you could do something pretty hacky:

1. Use a separate, working Ignition install to create a gateway startup script that deletes the `jar-cache` folder in question (I'm not convinced that's related to this issue, but it's the only breadcrumb you have to go on).
2. Export the project from that gateway.
3. Import it into the affected gateway.

Et voila, you've run code on the machine that you don't otherwise have access to.
