# \[BUG\] Why it signs me off and lost all input after I unlock phone on browser Edge?

**URL:** <https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [August 25, 2023, 2:55am UTC](https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368 "2023-08-25T02:55:54Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [August 25, 2023, 2:55am UTC](https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368/1 "2023-08-25T02:55:54Z")

</div>

What are happenning after I lock phone even I anabled Edge backrgound app refresh and it's working fine on desktop:

WebSocket disconnected from session

Websocket connection errored out irreversibly. Closing the session.

```auto
org.eclipse.jetty.io.EofException: null
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:279)
at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422)
at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:277)
at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:381)
at org.eclipse.jetty.websocket.common.io.FrameFlusher.flush(FrameFlusher.java:264)
at org.eclipse.jetty.websocket.common.io.FrameFlusher.process(FrameFlusher.java:193)
at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241)
at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:223)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.outgoingFrame(AbstractWebSocketConnection.java:581)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.close(AbstractWebSocketConnection.java:181)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:510)
at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillable(AbstractWebSocketConnection.java:440)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host
at java.base/sun.nio.ch.SocketDispatcher.writev0(Native Method)
at java.base/sun.nio.ch.SocketDispatcher.writev(Unknown Source)
at java.base/sun.nio.ch.IOUtil.write(Unknown Source)
at java.base/sun.nio.ch.IOUtil.write(Unknown Source)
at java.base/sun.nio.ch.SocketChannelImpl.write(Unknown Source)
at java.base/java.nio.channels.SocketChannel.write(Unknown Source)
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:273)
... 22 common frames omitted

```

Websocket connection closed unexpectedly. code=1011, reason=EofException, codeMeaning=Internal Error, codeDescription=The server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request.

---

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [August 25, 2023, 7:18am UTC](https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368/2 "2023-08-25T07:18:43Z")

</div>

Any ideas would be appreciated, I lost mobile divice connection immediately once I locked phone.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [August 25, 2023, 8:35am UTC](https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368/3 "2023-08-25T08:35:51Z")

</div>

many mobiles will turn off apps to preserve battery when locking the phone.  
what are you trying to do that you need constant connection?

---

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [August 25, 2023, 1:07pm UTC](https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368/4 "2023-08-25T13:07:01Z")

</div>

I don't mind battery saving stuff, all I want is working without refreshing.

---

<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:** [August 25, 2023, 1:25pm UTC](https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368/5 "2023-08-25T13:25:18Z")

</div>

Your phone is cutting the browser connection to the gateway. You have to fix this at the phone. As Victor notes, this is probably a power-saving "feature" of your phone. Find out (from phone information/settings) how to exempt your browser from this "feature".

Ignition isn't the problem. The phone is the problem.

---

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [August 25, 2023, 1:27pm UTC](https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368/6 "2023-08-25T13:27:32Z")

</div>

For iPhone, it doesn't work even we enable background fresh, it's not going to work for all iPhones.

---

<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:** [August 25, 2023, 1:32pm UTC](https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368/7 "2023-08-25T13:32:54Z")

</div>

Then don't use iPhones. **It isn't an Ignition problem.** 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [August 28, 2023, 6:49am UTC](https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368/8 "2023-08-28T06:49:04Z")

</div>

You might have more luck with the ignition app. But i doubt it will make a difference, apple is annoying like that, nothing we can do about it.

---

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [August 28, 2023, 7:21am UTC](https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368/9 "2023-08-28T07:21:17Z")

</div>

The same result, sir.

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [August 28, 2023, 1:35pm UTC](https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368/10 "2023-08-28T13:35:33Z")

</div>

Did you turn off low batery mode?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/0/a0815a30c5b358c720c66651a4fd02661317282e.png)

---

<div class="post-metadata">

**Author:** ![weixionglichina](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/weixionglichina/32/10650_2.png) [@weixionglichina](https://forum.inductiveautomation.com/u/weixionglichina)\
**Post date:** [August 28, 2023, 1:42pm UTC](https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368/11 "2023-08-28T13:42:00Z")

</div>

Low power mode is off;  
Backgroud APP refresh is green;

Just doesn't work. 😂

---

<div class="post-metadata">

**Author:** ![victordcq](https://avatars.discourse-cdn.com/v4/letter/v/f6c823/32.png) [@victordcq](https://forum.inductiveautomation.com/u/victordcq)\
**Post date:** [August 28, 2023, 1:43pm UTC](https://forum.inductiveautomation.com/t/bug-why-it-signs-me-off-and-lost-all-input-after-i-unlock-phone-on-browser-edge/78368/12 "2023-08-28T13:43:57Z")

</div>

then you'll have to ask in an apple forum or something
