Here are warnings I can find in my logs:
2017-01-26 19:42:16.119 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 101571 failed: null
2017-01-26 19:42:16.254 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 101464 failed: null
By the way, the binding is working well.
Looks like #106
Maybe you could move this one to:
https://github.com/openhab/openhab.ios/issues/106#issuecomment-270998231
I think that is the right place.
I have no iOS devices but the warnings.
And the logs concern the binding itself.
As you like ...
I wanted just to mention that in Kai's opinion it should be moved to core.
Kai's opinion it should be moved to core.
... while I am not sure anymore why I suggested that. The old my.openHAB bundle used to live in openhab-core, but the new openhabcloud connector is actually right here in openhab2-addons. So let's keep this issue right here!
Hi, I also have the problem when using the android app. I also found out that (in remote mode) I've to refresh app a few times in order to see my items.
Any solution on the Jetty request failed issue?
(I'm currently running Snapshot 2.1.0 from 5th february)
I also found out that (in remote mode) I've to refresh app a few times in order to see my items.
I doubt that this is related.
The above comments all say that despite the warnings in the log, all works as expected.
I agree. Things are done ... but the reaction of the App is slow (even when internet connection is fast)
Another question:
I'm running the "current" unstable Release (2.1.0) from 5th february). Chris fixed a bug with the fibaro zwave smoke sensors. So I'm waiting for a new unstable version to test. Do you know, when it will be provided?
Link to the issue:
https://github.com/openhab/org.openhab.binding.zwave/pull/346
https://github.com/openhab/org.openhab.binding.zwave/issues/336
Another question
Hi @helmar74, actually this is an issue tracker.
If you have questions regarding other topics, you should better ask that in the Community Forum.
Have fun.
I seem to be having the same problem. New install. OH 2.1, openhabcloud-2.2.0.jar. The error seems to appear immediately upon reconnecting my Android to (but not disconnecting from) the home wifi network. But everything still seems to work, both locally and remotely.
Did someone solve this problem?!
@amedsaad: No, I didn't resolved it yet
But I guess it's just a warning a not an actual problem right?
has anyone reported an issue about it?
But I guess it's just a warning a not an actual problem right?
Yes.
has anyone reported an issue about it?
This post IS the issue
almost a year and a half later - still open? (the warnings are in my logs consistently since no matter the versions I have been running)
with Android mobile app i am getting following error while using webview element.
[io.openhabcloud.internal.CloudClient] - Jetty request 3026583 failed: null
2018-06-12 19:09:23.966 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 9367305 failed: null
2018-06-12 19:09:26.418 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 9367405 failed: null
2018-06-12 19:09:23.966 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 9367305 failed: null
2018-06-12 19:09:26.418 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 9367405 failed: null
2018-06-12 19:11:53.116 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 9367931 failed: null
2018-06-12 19:16:26.231 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 9369173 failed: null
2018-06-12 19:16:33.483 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 9369203 failed: null
2018-06-12 19:16:45.742 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 9369248 failed: null
2018-06-12 19:17:10.016 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 9369303 failed: null
2018-06-12 19:17:22.022 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 9369347 failed: null
webview page is not launching over Internet android app
Hello, I also have the problem when using the android app. I found out that (in remote mode) I've to refresh app a few times in order to see my items.
Any solution on the Jetty request failed issue?
Same issue here - is some one working on this?
same problem here
is someone working on this issue? I have the same problem now :
2018-11-10 02:04:12.119 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 6872995 failed: null
2018-11-10 02:04:29.702 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 6873009 failed: null
Same here with android app
I too have this issue:
12:34:40.667 [WARN ] [.io.openhabcloud.internal.CloudClient] - Jetty request 1672 failed: null
12:34:40.669 [WARN ] [.io.openhabcloud.internal.CloudClient] - Response Failure: null
Me too:
2018-11-12 17:22:31.815 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 4743846 failed: null
2018-11-12 17:22:31.820 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
I had this issue too tonight. There are so many warn messages that OH stopped working, totally blocked by all log messages. I could not access Paper UI nor the cloud service.
Same issue since the m7 testing version. Especially when closing the app on my Android phone I`m getting lots of these warnings.
same for me in the last milestone, a lot of warning but the most annoying, it's necessary to refresh the UI
Which UI are you referring to? The last week I have paid special attention to manually closing and unloading the iPhone app after using it and have not had any warning messages. I am still on 2.3.0 stable. I have three webview elements in my sitemap.
Android app
Le mar. 11 déc. 2018 à 12:15, Gunnar Blockmar notifications@github.com a
écrit :
Which UI are you referring to? The last week I have paid special attention
to manually closing and unloading the iPhone app after using it and have
not had any warning messages. I am still on 2.3.0 stable. I have three
webview elements in my sitemap.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/openhab/openhab2-addons/issues/1782#issuecomment-446147394,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AeL6wwIUo1CLC50iBWWOLLQRlt2wyzucks5u34XZgaJpZM4Lwefu
.
Openhab 2.4.0 M8
2018-12-12 21:08:00.299 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 4021495 failed: null
2018-12-12 21:08:00.303 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-12 21:08:02.767 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 4021512 failed: null
2018-12-12 21:08:02.772 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-12 17:57:56.113 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 3974610 failed: null
2018-12-12 17:57:56.120 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-12 17:57:59.912 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 3974615 failed: null
2018-12-12 17:57:59.921 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-12 17:58:35.017 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 3974649 failed: null
2018-12-12 17:58:35.023 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
Havent had this in a long time
I'm getting a similar error OH 2.4 Final
2018-12-20 18:17:19.480 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 3416 failed: null
2018-12-20 18:17:19.485 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
Same issue here.
Version: 2.5.0-SNAPSHOT (#1475)
2018-12-25 17:42:34.279 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 15547 failed: null
2018-12-25 17:42:34.283 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-25 17:42:39.196 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 15569 failed: null
2018-12-25 17:42:39.201 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-25 17:42:42.889 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 15581 failed: null
2018-12-25 17:42:42.893 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-25 17:42:52.674 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 15600 failed: null
2018-12-25 17:42:52.677 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-25 17:43:05.777 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 15677 failed: null
2018-12-25 17:43:05.782 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-25 17:43:23.400 [ERROR] [ersey.server.ServerRuntime$Responder] - An I/O error has occurred while writing a response message entity to the container output stream.
org.glassfish.jersey.server.internal.process.MappableException: org.eclipse.jetty.io.EofException
at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:92) ~[?:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.message.internal.MessageBodyFactory.writeTo(MessageBodyFactory.java:1130) ~[171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.server.ServerRuntime$Responder.writeResponse(ServerRuntime.java:711) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.ServerRuntime$Responder.processResponse(ServerRuntime.java:444) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.ServerRuntime$Responder.process(ServerRuntime.java:434) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:329) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) [171:org.glassfish.jersey.core.jersey-common:2.22.2]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) [172:org.glassfish.jersey.core.jersey-server:2.22.2]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) [169:org.glassfish.jersey.containers.jersey-container-servlet-core:2.22.2]
at com.eclipsesource.jaxrs.publisher.internal.ServletContainerBridge.service(ServletContainerBridge.java:76) [20:com.eclipsesource.jaxrs.publisher:5.3.1.201602281253]
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548) [82:org.eclipse.jetty.security:9.4.11.v20180605]
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.handler.ScopedHandler.nextHandle(ScopedHandler.java:257) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1317) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:293) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) [85:org.eclipse.jetty.servlet:9.4.11.v20180605]
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1219) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) [84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:80) [186:org.ops4j.pax.web.pax-web-jetty:7.2.3]
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: org.eclipse.jetty.io.EofException
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:286) ~[75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:429) ~[75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:323) ~[75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:380) ~[75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:798) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241) ~[87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224) ~[87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:538) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:790) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:846) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:240) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:216) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:541) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at java.io.OutputStream.write(OutputStream.java:75) ~[?:?]
at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:320) ~[?:?]
at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:218) ~[?:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:294) ~[?:?]
at org.eclipse.smarthome.io.rest.core.internal.GsonProvider.writeTo(GsonProvider.java:71) ~[?:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265) ~[?:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250) ~[?:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[?:?]
at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106) ~[?:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[?:?]
at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86) ~[?:?]
... 53 more
Caused by: java.io.IOException: Broken pipe
at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[?:?]
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) ~[?:?]
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) ~[?:?]
at sun.nio.ch.IOUtil.write(IOUtil.java:65) ~[?:?]
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471) ~[?:?]
at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:264) ~[75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:429) ~[75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:323) ~[75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:380) ~[75:org.eclipse.jetty.io:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:798) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241) ~[87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:224) ~[87:org.eclipse.jetty.util:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:538) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:790) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:846) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:240) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:216) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:541) ~[84:org.eclipse.jetty.server:9.4.11.v20180605]
at java.io.OutputStream.write(OutputStream.java:75) ~[?:?]
at org.glassfish.jersey.servlet.internal.ResponseWriter$NonCloseableOutputStreamWrapper.write(ResponseWriter.java:320) ~[?:?]
at org.glassfish.jersey.message.internal.CommittingOutputStream.write(CommittingOutputStream.java:218) ~[?:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$UnCloseableOutputStream.write(WriterInterceptorExecutor.java:294) ~[?:?]
at org.eclipse.smarthome.io.rest.core.internal.GsonProvider.writeTo(GsonProvider.java:71) ~[?:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.invokeWriteTo(WriterInterceptorExecutor.java:265) ~[?:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor$TerminalWriterInterceptor.aroundWriteTo(WriterInterceptorExecutor.java:250) ~[?:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[?:?]
at org.glassfish.jersey.server.internal.JsonWithPaddingInterceptor.aroundWriteTo(JsonWithPaddingInterceptor.java:106) ~[?:?]
at org.glassfish.jersey.message.internal.WriterInterceptorExecutor.proceed(WriterInterceptorExecutor.java:162) ~[?:?]
at org.glassfish.jersey.server.internal.MappableExceptionWrapperInterceptor.aroundWriteTo(MappableExceptionWrapperInterceptor.java:86) ~[?:?]
... 53 more
2018-12-25 17:43:28.590 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 15680 failed: null
2018-12-25 17:43:28.593 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-25 17:43:43.035 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 15764 failed: null
2018-12-25 17:43:43.040 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-25 17:44:21.208 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 15860 failed: null
2018-12-25 17:44:21.212 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-25 17:44:24.060 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 15873 failed: null
2018-12-25 17:44:24.064 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
2018-12-25 17:44:28.909 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 15940 failed: null
2018-12-25 17:44:28.911 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
When killing openhab, also:
2018-12-25 21:14:10.249 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[ESH-httpClient-common]@2baf35{STOPPING,10<=10<=40,i=0,q=4}[org.eclipse.jetty.util.thread.TryExecutor$$Lambda$110/13857890@6d493c] Couldn't stop Thread[ESH-httpClient-common-229,5,main]
2018-12-25 21:14:10.252 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - QueuedThreadPool[ESH-httpClient-common]@2baf35{STOPPING,10<=10<=40,i=0,q=4}[org.eclipse.jetty.util.thread.TryExecutor$$Lambda$110/13857890@6d493c] Couldn't stop Thread[ESH-httpClient-common-233,5,main]
Nothing like this since I uninstalled the cloud connector a week ago.
Same here always on "refresh" (swipe down) in the Android app with a sitemap in basic ui.
It doesn't happen on the web version of basic ui.
2018-12-31 00:45:25.571 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 2823553 failed: null
2018-12-31 00:45:25.580 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: null
Ok, this famous warning is produced at this line: https://github.com/openhab/openhab2-addons/blob/master/addons/io/org.openhab.io.openhabcloud/src/main/java/org/openhab/io/openhabcloud/internal/CloudClient.java#L589
One solution would be to simply ignore the log when result.getFailure().getMessage() is null.
In this souce file, I see many many logger.errorand logger.warn, I am really not sure that the approprioate log level is used.
@kaikreuzer : WDYT ?
Same for result.getRequestFailure() and result.getResponseFailure()
@kaikreuzer : WDYT ?
See https://github.com/openhab/openhab2-addons/pull/4481#pullrequestreview-188509096.
The movie issue on Android app
https://drive.google.com/file/d/1HFVJ2YJoX6I98dJVp_Y7oRtZcj7xJbAm/view?usp=drivesdk
First, apologies for formatting, or if this is overkill. I am not a Github pro / developer by any stretch.
This issue started for me today. Received the seemingly benign warning multiple times, followed by this exception in the logs:
2019-01-22 16:40:07.656 [WARN ] [io.openhabcloud.internal.CloudClient] - Jetty request 2292 failed: HttpConnectionOverHTTP@1c28d84(l:/127.0.0.1:38674 <-> r:localhost/127.0.0.1:8080,closed=false)=>HttpChannelOverHTTP@516580(exchange=HttpExchange@619557 req=PENDING/null@null res=PENDING/null@null)[send=HttpSenderOverHTTP@103a92(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@ff5fc6{s=START}],recv=HttpReceiverOverHTTP@18f4b3c(rsp=IDLE,failure=null)[HttpParser{s=CLOSED,0 of -1}]]<-SocketChannelEndPoint@1eca0f7{localhost/127.0.0.1:8080<->/127.0.0.1:38674,ISHUT,fill=-,flush=-,to=4/0}{io=0/0,kio=0,kro=1}->HttpConnectionOverHTTP@1c28d84(l:/127.0.0.1:38674 <-> r:localhost/127.0.0.1:8080,closed=false)=>HttpChannelOverHTTP@516580(exchange=HttpExchange@619557 req=TERMINATED/null@null res=PENDING/null@null)[send=HttpSenderOverHTTP@103a92(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@ff5fc6{s=START}],recv=HttpReceiverOverHTTP@18f4b3c(rsp=IDLE,failure=null)[HttpParser{s=CLOSED,0 of -1}]]
2019-01-22 16:40:07.663 [WARN ] [io.openhabcloud.internal.CloudClient] - Response Failure: HttpConnectionOverHTTP@1c28d84(l:/127.0.0.1:38674 <-> r:localhost/127.0.0.1:8080,closed=false)=>HttpChannelOverHTTP@516580(exchange=HttpExchange@619557 req=PENDING/null@null res=PENDING/null@null)[send=HttpSenderOverHTTP@103a92(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@ff5fc6{s=START}],recv=HttpReceiverOverHTTP@18f4b3c(rsp=IDLE,failure=null)[HttpParser{s=CLOSED,0 of -1}]]<-SocketChannelEndPoint@1eca0f7{localhost/127.0.0.1:8080<->/127.0.0.1:38674,ISHUT,fill=-,flush=-,to=4/0}{io=0/0,kio=0,kro=1}->HttpConnectionOverHTTP@1c28d84(l:/127.0.0.1:38674 <-> r:localhost/127.0.0.1:8080,closed=false)=>HttpChannelOverHTTP@516580(exchange=HttpExchange@619557 req=TERMINATED/null@null res=PENDING/null@null)[send=HttpSenderOverHTTP@103a92(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@ff5fc6{s=START}],recv=HttpReceiverOverHTTP@18f4b3c(rsp=IDLE,failure=null)[HttpParser{s=CLOSED,0 of -1}]]
After this, connection to my instance of OpenHAB Cloud Connector (self hosted) failed with a warning of:
Connection unsuccessful. An unexpected response was received while trying to connect to the configured OpenHAB server (received HTTP response code: 443)
Rebooting Openhab caused the following cascade of exceptions:
2019-01-22 17:12:25.572 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = cc9f31c3-b32d-48fc-81d0-fe821873d117, base URL = http://localhost:8080)
2019-01-22 17:12:28.064 [WARN ] [org.eclipse.jetty.server.HttpChannel] - /rest/events
javax.servlet.ServletException: javax.servlet.ServletException: A MultiException has 2 exceptions. They are:
1. java.lang.IllegalStateException: Could not find an active context for org.glassfish.jersey.process.internal.RequestScoped
2. java.lang.IllegalStateException: While attempting to create a service for SystemDescriptor(
implementation=org.glassfish.jersey.internal.inject.ReferencingFactory$EmptyReferenceFactory
contracts={org.glassfish.jersey.internal.util.collection.Ref}
scope=org.glassfish.jersey.process.internal.RequestScoped
qualifiers={}
descriptorType=PROVIDE_METHOD
descriptorVisibility=NORMAL
metadata=
rank=0
loader=org.glassfish.hk2.utilities.binding.AbstractBinder$2@555dbb
proxiable=false
proxyForSameScope=null
analysisName=null
id=10
locatorId=3
identityHashCode=7096297
reified=true) in scope org.glassfish.jersey.process.internal.RequestScoped an error occured while locating the context
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: A MultiException has 2 exceptions. They are:
1. java.lang.IllegalStateException: Could not find an active context for org.glassfish.jersey.process.internal.RequestScoped
2. java.lang.IllegalStateException: While attempting to create a service for SystemDescriptor(
implementation=org.glassfish.jersey.internal.inject.ReferencingFactory$EmptyReferenceFactory
contracts={org.glassfish.jersey.internal.util.collection.Ref}
scope=org.glassfish.jersey.process.internal.RequestScoped
qualifiers={}
descriptorType=PROVIDE_METHOD
descriptorVisibility=NORMAL
metadata=
rank=0
loader=org.glassfish.hk2.utilities.binding.AbstractBinder$2@555dbb
proxiable=false
proxyForSameScope=null
analysisName=null
id=10
locatorId=3
identityHashCode=7096297
reified=true) in scope org.glassfish.jersey.process.internal.RequestScoped an error occured while locating the context
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: org.glassfish.hk2.api.MultiException: A MultiException has 2 exceptions. They are:
1. java.lang.IllegalStateException: Could not find an active context for org.glassfish.jersey.process.internal.RequestScoped
2. java.lang.IllegalStateException: While attempting to create a service for SystemDescriptor(
implementation=org.glassfish.jersey.internal.inject.ReferencingFactory$EmptyReferenceFactory
contracts={org.glassfish.jersey.internal.util.collection.Ref}
scope=org.glassfish.jersey.process.internal.RequestScoped
qualifiers={}
descriptorType=PROVIDE_METHOD
descriptorVisibility=NORMAL
metadata=
rank=0
loader=org.glassfish.hk2.utilities.binding.AbstractBinder$2@555dbb
proxiable=false
proxyForSameScope=null
analysisName=null
id=10
locatorId=3
identityHashCode=7096297
reified=true) in scope org.glassfish.jersey.process.internal.RequestScoped an error occured while locating the context
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2016) ~[?:?]
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:765) ~[?:?]
at org.jvnet.hk2.internal.ServiceLocatorImpl.getUnqualifiedService(ServiceLocatorImpl.java:772) ~[?:?]
at org.jvnet.hk2.internal.IterableProviderImpl.get(IterableProviderImpl.java:111) ~[?:?]
at org.glassfish.jersey.server.internal.process.ReferencesInitializer.apply(ReferencesInitializer.java:84) ~[?:?]
at org.glassfish.jersey.server.internal.process.ReferencesInitializer.apply(ReferencesInitializer.java:57) ~[?:?]
at org.glassfish.jersey.process.internal.Stages$LinkedStage.apply(Stages.java:308) ~[?:?]
at org.glassfish.jersey.process.internal.Stages.process(Stages.java:197) ~[?:?]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:318) ~[?:?]
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
Caused by: java.lang.IllegalStateException: Could not find an active context for org.glassfish.jersey.process.internal.RequestScoped
at org.jvnet.hk2.internal.ServiceLocatorImpl._resolveContext(ServiceLocatorImpl.java:2117) ~[?:?]
at org.jvnet.hk2.internal.ServiceLocatorImpl.access$000(ServiceLocatorImpl.java:122) ~[?:?]
at org.jvnet.hk2.internal.ServiceLocatorImpl$3.compute(ServiceLocatorImpl.java:182) ~[?:?]
at org.jvnet.hk2.internal.ServiceLocatorImpl$3.compute(ServiceLocatorImpl.java:178) ~[?:?]
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture$1.call(Cache.java:97) ~[?:?]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:?]
at org.glassfish.hk2.utilities.cache.Cache$OriginThreadAwareFuture.run(Cache.java:154) ~[?:?]
at org.glassfish.hk2.utilities.cache.Cache.compute(Cache.java:199) ~[?:?]
at org.jvnet.hk2.internal.ServiceLocatorImpl.resolveContext(ServiceLocatorImpl.java:2125) ~[?:?]
at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2000) ~[?:?]
at org.jvnet.hk2.internal.ServiceLocatorImpl.internalGetService(ServiceLocatorImpl.java:765) ~[?:?]
at org.jvnet.hk2.internal.ServiceLocatorImpl.getUnqualifiedService(ServiceLocatorImpl.java:772) ~[?:?]
at org.jvnet.hk2.internal.IterableProviderImpl.get(IterableProviderImpl.java:111) ~[?:?]
at org.glassfish.jersey.server.internal.process.ReferencesInitializer.apply(ReferencesInitializer.java:84) ~[?:?]
at org.glassfish.jersey.server.internal.process.ReferencesInitializer.apply(ReferencesInitializer.java:57) ~[?:?]
at org.glassfish.jersey.process.internal.Stages$LinkedStage.apply(Stages.java:308) ~[?:?]
at org.glassfish.jersey.process.internal.Stages.process(Stages.java:197) ~[?:?]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:318) ~[?:?]
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
Those exceptions continued until I restarted the nodejs app on my Cloud instance.
Hope this helps.
Please what do you mean by restarting the "nodejs app on my Cloud instance"?
I run Cloud Connector as a service using pm2 on Ubuntu 16.04.5 x64. So I ssh'ed into my Cloud Connector server and ran:
sudo pm2 stop app
sudo pm2 start app
to stop and restart /opt/openhab-cloud/app.js on the machine.
Then I rebooted my local OpenHAB, and it reconnected to the Cloud Connector without further exception messages in the logs.
I still get Jetty request XXXX failed: null log warnings when I refresh my Android OpenHAB app while outside my LAN, but the stream of errors / exceptions noted above ceased.
BTW: I am running OpenHAB 2.4.0-1 via Openhabian, and I stood up the Cloud Connector via a git pull performed on 1/5/2019.
Hope this helps.
EDIT: To further clarify, the message: Connection unsuccessful. An unexpected response was received while trying to connect to the configured OpenHAB server (received HTTP response code: 443) I noted in my prior comment was displayed on my Android app. I was able to get to the Web site for my connector without issue, although I did not try to log into the Web interface prior to restarting app.js.
EDIT2: (And apologies for the edits; I used to be QA in a prior life, but the habits of proper bug logging are very, very rusty): The stream of exceptions above occurred after I had manually refreshed my Android app 5 to 10 times in fairly rapid succession - over the course of a minute or two. I had noticed the Jetty request XXXX failed: null messages in my logs, so I connected my phone to VPN and refreshed several times in an attempt to reproduce the behavior so I would know it was benign. Turns out it wasn't so benign, at least for me.
Hi guys,
thanks for your excellent work on the project.
I am sharing my case hoping this can help someone here:
I have not been able to get notifications and receiving Jetty request XXXX failed: null error and IoS device on one of my OH instances (on the other all worked perfectly).
It all started to worked when in the IoS app I changed remote URL to "https://myopenhab.org:443" (from the default on the app, that also worked with my other instance, was something like "https://home.myopenhab.org/").
Now with "https://myopenhab.org:443" notifications work with both of mine instances and I dont get the Jetty warning (it feels good - it's been killing me for weeks;).
Hope this helps.
thanks and regards
For me adding the port does not fix it and I still get the NULL warnings even in my local network. What do I have to add to the org.ops4j.pax.logging.cfg file to get rid of the warnings and set the level to ERROR only? I tried following but I still get the NULL warnings.
log4j2.logger.io_openhabcloud_internal_cloudclient.level = ERROR
log4j2.logger.io_openhabcloud_internal_cloudclient.name = io.openhabcloud.internal.CloudClient
I would be fine by ignoring the warnings since it seems everything is working as intended.
NoTechi