# \[Bug-Resolved\]8.1 RC2 - "Error handling route" every 10s

**URL:** <https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516>\
**Category:** Ignition Early Access\
**Tags:** perspective\
**Created:** [October 8, 2020, 8:51pm UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516 "2020-10-08T20:51:59Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrea.tidwell](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrea.tidwell/32/18682_2.png) [@andrea.tidwell](https://forum.inductiveautomation.com/u/andrea.tidwell)\
**Post date:** [October 8, 2020, 8:51pm UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/1 "2020-10-08T20:51:59Z")

</div>

We’re running Ignition 8.1 RC2 and we just started getting an “Error handling route” message in our log every 10 seconds. Currently utilizing Perspective via mobile and Perspective Workstation. Here’s the stack trace:

```auto
java.lang.IllegalStateException: Could not find the web session

at com.inductiveautomation.perspective.gateway.comm.Routes.getOrCreateSession(Routes.java:994)

at com.inductiveautomation.perspective.gateway.comm.Routes$PerspectiveRouteHandlerAdapter.handle(Routes.java:601)

at com.inductiveautomation.ignition.gateway.dataroutes.Route.service(Route.java:252)

at com.inductiveautomation.ignition.gateway.dataroutes.RouteGroupImpl.service(RouteGroupImpl.java:61)

at com.inductiveautomation.ignition.gateway.dataroutes.RouteGroupCollectionServlet.serviceInternal(RouteGroupCollectionServlet.java:54)

at com.inductiveautomation.ignition.gateway.dataroutes.AbstractRouteGroupServlet.service(AbstractRouteGroupServlet.java:38)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)

at org.eclipse.jetty.servlet.ServletHolder$NotAsyncServlet.service(ServletHolder.java:1391)

at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:760)

at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:547)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)

at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:590)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)

at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1607)

at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)

at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1297)

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)

at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485)

at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1577)

at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)

at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1212)

at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)

at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:59)

at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)

at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)

at org.eclipse.jetty.server.Server.handle(Server.java:500)

at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)

at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547)

at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)

at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:270)

at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)

at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)

at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)

at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)

at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:388)

at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806)

at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938)

```

---

<div class="post-metadata">

**Author:** ![chad.burrows](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@chad.burrows](https://forum.inductiveautomation.com/u/chad.burrows)\
**Post date:** [October 26, 2020, 5:48am UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/3 "2020-10-26T05:48:06Z")

</div>

Seems to be registered as a bug here:

> [@\[BUG-826\] Error handling route. route=/hello/:project\_name/:tab\_id, route-group=perspective, route-path=/hello](http://forum.inductiveautomation.com/t/bug-826-error-handling-route-route-hello-project-name-tab-id-route-group-perspective-route-path-hello/39599/1):
>
> I am continuously getting above error in log file every 10 Seconds! How to stop it? Why is it coming? Restart Ignition is the only solution? INFO | jvm 1 | 2020/10/12 22:14:24 | W [g.D.Route] [16:44:24]: Error handling route. route=/hello/:project\_name/:tab\_id, route-group=perspective, route-path=/hello/:project\_name/:tab\_id INFO | jvm 1 | 2020/10/12 22:14:24 | java.lang.IllegalStateException: Could not find the web session INFO | jvm 1 | 2020/10/12 22:14:2…

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [October 26, 2020, 3:50pm UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/4 "2020-10-26T15:50:24Z")

</div>

Yes, this should already be resolved for 8.1Stable.

---

<div class="post-metadata">

**Author:** ![andrea.tidwell](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/andrea.tidwell/32/18682_2.png) [@andrea.tidwell](https://forum.inductiveautomation.com/u/andrea.tidwell)\
**Post date:** [October 26, 2020, 5:52pm UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/5 "2020-10-26T17:52:22Z")

</div>

@cmallonee We’ve now updated to 8.1.0 RC3 and are still experiencing the same issue.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [October 26, 2020, 5:55pm UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/6 "2020-10-26T17:55:37Z")

</div>

Because we haven’t released 8.1.0 **Stable**. This issue was fixed after the release of 8.1.0RC3.

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [April 20, 2021, 10:42am UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/7 "2021-04-20T10:42:01Z")

</div>

We’re experiencing this issue with 8.1.1. Has this issue been fixed in a later version? It obviously wasn’t fixed in 8.1.0 **Stable**.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 20, 2021, 4:39pm UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/8 "2021-04-20T16:39:10Z")

</div>

In reading the notes on the internal ticket, it sounds like a shutdown of the offending open Designer is required to fully remove the issue (the issue stemmed from Designers using out-of-date code because they had not been restarted to use the new code). 8.1.0 Stable should indeed include the fix, but until you restart your Designer it will still be using the old code to communicate with the Gateway.

Please close any Designer which could conceivably be running the “old” code and re-open it. Once all Designers have been restarted, please reach back out if you continue experiencing the issue.

---

<div class="post-metadata">

**Author:** ![AlThePal](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/althepal/32/3603_2.png) [@AlThePal](https://forum.inductiveautomation.com/u/AlThePal)\
**Post date:** [April 21, 2021, 12:23pm UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/9 "2021-04-21T12:23:11Z")

</div>

I’m confused by your response. This was a fresh install of 8.1.1, so there would be no possibility of ‘out-of-date’ code running. The previous system was 7.9, so no clients or Designers were left running.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 21, 2021, 3:00pm UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/10 "2021-04-21T15:00:41Z")

</div>

> [@AlThePal](#):
>
> This was a fresh install of 8.1.1

Oh, that's interesting... I have some other tasks I need to get completed, but I'll try to circle back to this today.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 21, 2021, 5:28pm UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/11 "2021-04-21T17:28:55Z")

</div>

I worked with another QA member and we were unable to replicate this issue with a clean 8.1.1 installation, even while having Designers (and Workstation clients) persist during Gateway restarts.

As such, there are only two recommendations I’m able to provide:

1. Verify there are no open Designers by navigating to your Gateway’s `Status > Connections > Designers` page. If you see any entries here, they _could_ be the cause of the issue. Close all of these Designers, and then go back to normal usage. If the issue persists you will need to contact support because we’ve done all we can with the information available to us here.
2. If you’re 100% confident you already closed all Designers, then please contact our Support team.

---

<div class="post-metadata">

**Author:** ![sqlwalkermj](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@sqlwalkermj](https://forum.inductiveautomation.com/u/sqlwalkermj)\
**Post date:** [June 15, 2021, 1:26pm UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/12 "2021-06-15T13:26:04Z")

</div>

Hello All - we are experiencing this issue on a production environment currently. (currently running 8.0.12) - I am trying to understand what version / release this issue is resolved in to perform an upgrade on this production environment.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [June 15, 2021, 2:49pm UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/13 "2021-06-15T14:49:31Z")

</div>

The issue appears to have been fixed as of 8.1.0. There was a report of it still being encountered in 8.1.1, but we were unable to replicate the behavior internally in that version.

---

<div class="post-metadata">

**Author:** ![sqlwalkermj](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@sqlwalkermj](https://forum.inductiveautomation.com/u/sqlwalkermj)\
**Post date:** [June 15, 2021, 6:34pm UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/14 "2021-06-15T18:34:55Z")

</div>

Thank you @cmallonee – Follow up question would this issue have caused high CPU usage for any reason on a production gateway?

We are troubleshooting our logs and events leading up to the non-responsive gateway (seen in the CPU usage trend below) – The message for this bug is the only standout error / exception we are seeing.

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/1/e1d9bae251196341d61ec8449d6633fe0cd575a6.png)

---

<div class="post-metadata">

**Author:** ![Colin\_Downs](https://avatars.discourse-cdn.com/v4/letter/c/87869e/32.png) [@Colin\_Downs](https://forum.inductiveautomation.com/u/Colin_Downs)\
**Post date:** [July 27, 2022, 7:50pm UTC](https://forum.inductiveautomation.com/t/bug-resolved-8-1-rc2-error-handling-route-every-10s/39516/15 "2022-07-27T19:50:56Z")

</div>

Not sure if this is useful, but we recently had this error pop up in 8.1.13. A user was logged in to Ignition with the designer open, we were testing Active Directory (unsuccessfully) and we wound up locking this user's AD account. While his account was locked, the designer session wasn't showing as active on the gateway, but was still open on his desktop. We got this Error Handling Route error every 10 seconds until the session was closed on the user's laptop (after calling IT to get the AD account unlocked). Just FYI.

> java.lang.IllegalStateException: Could not find the web session
> 
> at com.inductiveautomation.perspective.gateway.comm.Routes.getOrCreateSession(Routes.java:1042)
> 
> at com.inductiveautomation.perspective.gateway.comm.Routes$PerspectiveRouteHandlerAdapter.handle(Routes.java:628)
> 
> at com.inductiveautomation.ignition.gateway.dataroutes.Route.service(Route.java:254)
> 
> at com.inductiveautomation.ignition.gateway.dataroutes.RouteGroupImpl.service(RouteGroupImpl.java:61)
> 
> at com.inductiveautomation.ignition.gateway.dataroutes.RouteGroupCollectionServlet.serviceInternal(RouteGroupCollectionServlet.java:59)
> 
> at com.inductiveautomation.ignition.gateway.dataroutes.AbstractRouteGroupServlet.service(AbstractRouteGroupServlet.java:38)
> 
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> 
> at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450)
> 
> at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
> 
> at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626)
> 
> at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
> 
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> 
> at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
> 
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
> 
> at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
> 
> at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
> 
> at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
> 
> at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
> 
> at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
> 
> at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
> 
> at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
> 
> at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
> 
> at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
> 
> at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> 
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
> 
> at com.inductiveautomation.catapult.handlers.RemoteHostNameLookupHandler.handle(RemoteHostNameLookupHandler.java:116)
> 
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
> 
> at org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
> 
> at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:59)
> 
> at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
> 
> at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
> 
> at org.eclipse.jetty.server.Server.handle(Server.java:516)
> 
> at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
> 
> at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
> 
> at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
> 
> at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
> 
> 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:386)
> 
> 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)
