I have set up a configuration to allow Alexa to be able to toggle OH managed devices.
When it was initially set up to all worked fine for about 24 hours but now when I try to change stat of devices via Alexa I’m getting “Waiting for OpenHab…” then a delay of 5+ seconds and either “device unresponsive” or occasionally it works. When first set up it was almost instantaneous.
The recent OH logs have this in them:
2018-11-10 20:34:52.348 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'MQTT.items'
2018-11-10 20:43:45.745 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'MQTT.items'
2018-11-11 01:06:05.662 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: {}
io.socket.engineio.client.EngineIOException: websocket error
at io.socket.engineio.client.Transport.onError(Transport.java:71) [200:org.openhab.io.openhabcloud:2.3.0]
at io.socket.engineio.client.transports.WebSocket.access$500(WebSocket.java:28) [200:org.openhab.io.openhabcloud:2.3.0]
at io.socket.engineio.client.transports.WebSocket$2$5.run(WebSocket.java:150) [200:org.openhab.io.openhabcloud:2.3.0]
at io.socket.thread.EventThread$2.run(EventThread.java:80) [200:org.openhab.io.openhabcloud:2.3.0]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[?:?]
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:?]
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) ~[?:?]
at sun.security.ssl.InputRecord.read(InputRecord.java:503) ~[?:?]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983) ~[?:?]
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:940) ~[?:?]
at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[?:?]
at okio.Okio$2.read(Okio.java:138) ~[?:?]
at okio.AsyncTimeout$2.read(AsyncTimeout.java:238) ~[?:?]
at okio.RealBufferedSource.request(RealBufferedSource.java:66) ~[?:?]
at okio.RealBufferedSource.require(RealBufferedSource.java:59) ~[?:?]
at okio.RealBufferedSource.readByte(RealBufferedSource.java:72) ~[?:?]
at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.java:115) ~[?:?]
at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.java:104) ~[?:?]
at okhttp3.internal.ws.RealWebSocket.readMessage(RealWebSocket.java:97) ~[?:?]
at okhttp3.ws.WebSocketCall.createWebSocket(WebSocketCall.java:152) ~[?:?]
at okhttp3.ws.WebSocketCall.access$000(WebSocketCall.java:41) ~[?:?]
at okhttp3.ws.WebSocketCall$1.onResponse(WebSocketCall.java:97) ~[?:?]
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:126) ~[?:?]
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) ~[?:?]
... 3 more
2018-11-11 01:06:05.762 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 8e987094-132a-4c4f-9f24-0cf0f7b182ff, base URL = http://localhost:8080)
2018-11-11 08:39:24.429 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 8e987094-132a-4c4f-9f24-0cf0f7b182ff, base URL = http://localhost:8080)
2018-11-11 23:09:56.912 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'MQTT.items'
2018-11-11 23:12:54.923 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection
2018-11-11 23:12:54.942 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 8e987094-132a-4c4f-9f24-0cf0f7b182ff, base URL = http://localhost:8080)
2018-11-11 23:12:55.536 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 8e987094-132a-4c4f-9f24-0cf0f7b182ff, base URL = http://localhost:8080)
Also worth noting that I’m having difficulty accessing the OH console from https://home.myopenhab.org/start/index
timing out etc.
any time I refresh https://home.myopenhab.org in the browser it shows “online”
My internet connection is good. 40Mb/s down & 10Mb/s up. pinging myopenhab.org shows 30-34ms time.
Questions
- Is there a way to turn logging on on myopenhab.org?
- I’m not seeing any upnp type records on my router for OH. Should I be? Is there anything I should be configuring in my router?
- Any other diagnostic suggestions?