[SOLVED] OH2 (2.4.0): Can't access GUI anymore (openHABian)

Don’t know what exactly happened, but I can’t access my basic ui and paper ui anymore: The circle in the browser keeps spinning and I never get a respose (also I don’t get any timeouts!).
I can connect via SSH, Samba and even the iOS app works fine - just the web frontend is dead.
I already cleared the cache and restored the ownership.

Any other ideas what I could look for?

In the log I find “nice” messages like these:

Thanks,
Boby

==> /var/log/openhab2/openhab.log <==

2019-10-06 16:03:19.455 [ERROR] [lfe.hap.impl.http.impl.BinaryHandler] - Exception in binary handler

java.io.IOException: Die Verbindung wurde vom Kommunikationspartner zurückgesetzt

at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:?]

at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:?]

at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:?]

at sun.nio.ch.IOUtil.read(IOUtil.java:192) ~[?:?]

at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:?]

at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:447) ~[234:org.openhab.io.homekit:2.4.0]

at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:880) ~[234:org.openhab.io.homekit:2.4.0]

at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242) ~[234:org.openhab.io.homekit:2.4.0]

at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) [234:org.openhab.io.homekit:2.4.0]

at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) [234:org.openhab.io.homekit:2.4.0]

at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) [234:org.openhab.io.homekit:2.4.0]

at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) [234:org.openhab.io.homekit:2.4.0]

at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [234:org.openhab.io.homekit:2.4.0]

at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) [234:org.openhab.io.homekit:2.4.0]

at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [234:org.openhab.io.homekit:2.4.0]

at java.lang.Thread.run(Thread.java:748) [?:?]

2019-10-06 16:03:19.479 [ERROR] [.hap.impl.http.impl.AccessoryHandler] - Exception caught in web handler

java.io.IOException: Die Verbindung wurde vom Kommunikationspartner zurückgesetzt

at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:?]

at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:?]

at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:?]

at sun.nio.ch.IOUtil.read(IOUtil.java:192) ~[?:?]

at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:?]

at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:447) ~[234:org.openhab.io.homekit:2.4.0]

at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:880) ~[234:org.openhab.io.homekit:2.4.0]

at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242) ~[234:org.openhab.io.homekit:2.4.0]

at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) ~[234:org.openhab.io.homekit:2.4.0]

at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) ~[234:org.openhab.io.homekit:2.4.0]

at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) ~[234:org.openhab.io.homekit:2.4.0]

at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) ~[234:org.openhab.io.homekit:2.4.0]

at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) ~[234:org.openhab.io.homekit:2.4.0]

at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) [234:org.openhab.io.homekit:2.4.0]

at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [234:org.openhab.io.homekit:2.4.0]

at java.lang.Thread.run(Thread.java:748) [?:?]

`

english translation:
The connection was reset by the communication partner

Try either restarting OH or rebooting the server?

Yes, rebooted multiple times. No change. WebGUI renders dead, OH2 itself works flawless - including app. Even rules do work. The problem is: I don’t get any error to start from - just endless waiting for the gui.

Any chance to look at a special log for the Jetty? Or to reinstall the webserver or the whole installation without losing config or data (RR4D)?

Did you try clearing the cache?

Yes, I stopped OH2, cleared the cache, fixed the ownership & rebooted. Still all my WebGuis aren’t reachable without any error in a log :open_mouth:

VERY strange: When I try to browse via ohenhabcloud (https://home.myopenhab.org/basicui/app) , I can access my installation. I try to clear the broweser cache now…

Now I get in the logfile:

2019-10-06 20:48:06.727 [WARN ] [org.eclipse.jetty.server.HttpChannel] - /rest/sitemaps/events/4be54d3d-af10-4b45-8201-31e127ef24ce

javax.servlet.ServletException: javax.servlet.ServletException: java.lang.UnsupportedOperationException: Asynchronous processing not supported on Servlet 2.x container.

	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:88) ~[?:?]

	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.server.Server.handle(Server.java:531) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) [84:org.eclipse.jetty.server:9.4.11.v20180605]

	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) [75:org.eclipse.jetty.io:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:762) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:680) [87:org.eclipse.jetty.util:9.4.11.v20180605]

	at java.lang.Thread.run(Thread.java:748) [?:?]

Caused by: javax.servlet.ServletException: java.lang.UnsupportedOperationException: Asynchronous processing not supported on Servlet 2.x container.

	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:489) ~[?:?]

	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) ~[?:?]

	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) ~[?:?]

	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) ~[?:?]

	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) ~[?:?]

	at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) ~[?:?]

	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865) ~[?:?]

	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) ~[?:?]

	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) ~[?:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) ~[?:?]

	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) ~[?:?]

	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) ~[?:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) ~[?:?]

	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) ~[?:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) ~[?:?]

	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317) ~[?:?]

	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) ~[?:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) ~[?:?]

	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) ~[?:?]

	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) ~[?:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) ~[?:?]

	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219) ~[?:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) ~[?:?]

	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) ~[?:?]

	... 15 more

Caused by: java.lang.UnsupportedOperationException: Asynchronous processing not supported on Servlet 2.x container.

	at org.glassfish.jersey.servlet.WebComponent$3.suspend(WebComponent.java:138) ~[?:?]

	at org.glassfish.jersey.servlet.internal.ResponseWriter.suspend(ResponseWriter.java:125) ~[?:?]

	at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:775) ~[?:?]

	at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444) ~[?:?]

	at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434) ~[?:?]

	at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:329) ~[?:?]

	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) ~[?:?]

	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) ~[?:?]

	at org.glassfish.jersey.internal.Errors.process(Errors.java:315) ~[?:?]

	at org.glassfish.jersey.internal.Errors.process(Errors.java:297) ~[?:?]

	at org.glassfish.jersey.internal.Errors.process(Errors.java:267) ~[?:?]

	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) ~[?:?]

	at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) ~[?:?]

	at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) ~[?:?]

	at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) ~[?:?]

	at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) ~[?:?]

	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) ~[?:?]

	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) ~[?:?]

	at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) ~[?:?]

	at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) ~[?:?]

	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865) ~[?:?]

	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) ~[?:?]

	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) ~[?:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) ~[?:?]

	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) ~[?:?]

	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) ~[?:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) ~[?:?]

	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) ~[?:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) ~[?:?]

	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317) ~[?:?]

	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) ~[?:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) ~[?:?]

	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) ~[?:?]

	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) ~[?:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) ~[?:?]

	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219) ~[?:?]

	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) ~[?:?]

	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) ~[?:?]

	... 15 more

Clear of the browser cache (Chrome) didn’t help.

Last, but not least, a reboot of my PC (!!!) solved the problem. Seems like something went wrong with my network connectivity, but only openhab - the rest worked well.

However, problem solved - thanks for your contribution!

1 Like