# Gateway restore issue: Error writing to restore file: java.io.IOException: Stream Closed

**URL:** <https://forum.inductiveautomation.com/t/gateway-restore-issue-error-writing-to-restore-file-java-io-ioexception-stream-closed/31876>\
**Category:** Ignition\
**Created:** [February 3, 2020, 5:58pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-issue-error-writing-to-restore-file-java-io-ioexception-stream-closed/31876 "2020-02-03T17:58:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bpeake](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@bpeake](https://forum.inductiveautomation.com/u/bpeake)\
**Post date:** [February 3, 2020, 5:58pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-issue-error-writing-to-restore-file-java-io-ioexception-stream-closed/31876/1 "2020-02-03T17:58:10Z")

</div>

I’m having trouble restoring a .gwbk file and I am hoping I haven’t missed it anywhere in these forums.

I am running Ignition 7.8 and need to restore a customer’s gateway on my local machine to make some updates.

I am getting the following error when I try to restore from the gateway webpage. I apologize in advance if this is a simple thing that I am overlooking.

---

<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:** [February 3, 2020, 6:03pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-issue-error-writing-to-restore-file-java-io-ioexception-stream-closed/31876/2 "2020-02-03T18:03:29Z")

</div>

There might be more detail in the wrapper log. Stream closed could be either a flaw in the browser upload task or in the save to disk task.

---

<div class="post-metadata">

**Author:** ![bpeake](https://avatars.discourse-cdn.com/v4/letter/b/c0e974/32.png) [@bpeake](https://forum.inductiveautomation.com/u/bpeake)\
**Post date:** [February 6, 2020, 3:43pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-issue-error-writing-to-restore-file-java-io-ioexception-stream-closed/31876/3 "2020-02-06T15:43:40Z")

</div>

A coworker of mine was able to restore it no problem. I am fairly new to Ignition and not quite sure where to find the wrapper.

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [February 6, 2020, 3:50pm UTC](https://forum.inductiveautomation.com/t/gateway-restore-issue-error-writing-to-restore-file-java-io-ioexception-stream-closed/31876/4 "2020-02-06T15:50:33Z")

</div>

> [@bpeake](#):
>
> where to find the wrapper

The wrapper log files are in the logs folder within the installation folder. On Windows, this would typically be in `C:\Program Files\Inductive Automation\Ignition\logs`.
