Socket.IO error: class com.github.nkzawa.engineio.client.EngineIOException

215 views
Skip to first unread message

robertv...@gmail.com

unread,
May 8, 2015, 11:28:59 PM5/8/15
to myop...@googlegroups.com
I am constantly getting these errors:

2015-05-09 05:26:52.727 [ERROR] [o.i.m.i.t.MyOpenHABTransportV2] - Socket.IO error: class com.github.nkzawa.engineio.client.EngineIOException
2015-05-09 05:26:52.731 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service
2015-05-09 05:26:56.723 [INFO ] [.myopenhab.internal.MyOHClient] - Connected to my.openHAB service

What's going on with the my.openHAB service?

Gert Konemann

unread,
May 14, 2015, 6:23:16 PM5/14/15
to myop...@googlegroups.com
The same error here.

Gert

Fred Bret-Mounet

unread,
May 14, 2015, 6:38:11 PM5/14/15
to Gert Konemann, myop...@googlegroups.com

I've been getting that for the last 4 months or so... :-(

Thanks

-fred

--
You received this message because you are subscribed to the Google Groups "my.openHAB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to myopenhab+...@googlegroups.com.
To post to this group, send email to myop...@googlegroups.com.
Visit this group at http://groups.google.com/group/myopenhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/myopenhab/07e46049-8bc0-420d-8cf0-6d74defee6d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Victor Belov

unread,
May 14, 2015, 6:48:57 PM5/14/15
to myop...@googlegroups.com
Ccing this to the group for others to see the answer.

On Thu, May 14, 2015 at 11:48 PM, Victor Belov <belov...@gmail.com> wrote:
Hi,

If you see this messages in the log from time to time it is normal. First, the Internet is not ideal, connectivity can break sometimes.
Second, we restart my.openHAB service from time to time for bugfixes and upgrades and those restarts close all socket.io connections.
What those messages mean is that connection to my.openHAB was lost but then restored, so basically, if you see them sometimes it is just normal.
If you see a lot of them in your log then it is a problem though. If you have lots of those errors then I would be glad to diagnose what's happening
in your particular case.

Best regards,
Victor Belov


Fred Bret-Mounet

unread,
May 14, 2015, 7:00:50 PM5/14/15
to Victor Belov, myop...@googlegroups.com
I believe I see it 24/7. Here's a sample

23:04:02.532 INFO  o.o.m.script.Arduino Update![:53]- *** *** *** skylight = OPEN

23:04:08.205 INFO  o.o.i.m.internal.MyOHClient[:298]- Reconnecting

23:04:08.615 WARN  o.openhab.io.net.http.HttpUtil[:197]- Method failed: HTTP/1.1 404 Not Found

23:04:08.870 ERROR o.o.i.m.internal.MyOHClient[:283]- onError(): Error while handshaking

23:04:08.870 INFO  o.o.i.m.internal.MyOHClient[:287]- Initiating Socket.IO reconnect

23:04:08.870 ERROR o.o.i.m.internal.MyOHClient[:292]- onError(): Error while handshaking

23:04:08.870 INFO  o.o.i.m.internal.MyOHClient[:293]- Initiating Socket.IO reconnect

23:04:18.631 WARN  o.openhab.io.net.http.HttpUtil[:197]- Method failed: HTTP/1.1 404 Not Found

23:04:20.279 WARN  javax.jmdns.impl.DNSIncoming[:415]- There was an OPT answer. Not currently handled. Option code: 65002 data: E23566C9ECF4635F

23:04:23.870 INFO  o.o.i.m.internal.MyOHClient[:298]- Reconnecting

23:04:24.540 ERROR o.o.i.m.internal.MyOHClient[:283]- onError(): Error while handshaking

23:04:24.540 INFO  o.o.i.m.internal.MyOHClient[:287]- Initiating Socket.IO reconnect

23:04:24.540 ERROR o.o.i.m.internal.MyOHClient[:292]- onError(): Error while handshaking

23:04:24.540 INFO  o.o.i.m.internal.MyOHClient[:293]- Initiating Socket.IO reconnect

23:04:28.649 WARN  o.openhab.io.net.http.HttpUtil[:197]- Method failed: HTTP/1.1 404 Not Found

23:04:38.859 WARN  o.openhab.io.net.http.HttpUtil[:197]- Method failed: HTTP/1.1 404 Not Found

23:04:44.541 INFO  o.o.i.m.internal.MyOHClient[:298]- Reconnecting

23:04:45.176 ERROR o.o.i.m.internal.MyOHClient[:283]- onError(): Error while handshaking

23:04:45.176 INFO  o.o.i.m.internal.MyOHClient[:287]- Initiating Socket.IO reconnect

23:04:45.176 ERROR o.o.i.m.internal.MyOHClient[:292]- onError(): Error while handshaking

23:04:45.176 INFO  o.o.i.m.internal.MyOHClient[:293]- Initiating Socket.IO reconnect

23:04:48.876 WARN  o.openhab.io.net.http.HttpUtil[:197]- Method failed: HTTP/1.1 404 Not Found

23:04:51.728 WARN  javax.jmdns.impl.DNSIncoming[:415]- There was an OPT answer. Not currently handled. Option code: 65002 data: E23566C9ECF4635F

23:04:59.876 WARN  o.openhab.io.net.http.HttpUtil[:197]- Method failed: HTTP/1.1 404 Not Found

23:05:09.894 WARN  o.openhab.io.net.http.HttpUtil[:197]- Method failed: HTTP/1.1 404 Not Found

23:05:10.498 INFO  o.o.i.m.internal.MyOHClient[:298]- Reconnecting

23:05:11.166 ERROR o.o.i.m.internal.MyOHClient[:283]- onError(): Error while handshaking

23:05:11.167 INFO  o.o.i.m.internal.MyOHClient[:287]- Initiating Socket.IO reconnect


Victor Belov

unread,
May 14, 2015, 7:13:08 PM5/14/15
to Fred Bret-Mounet, myop...@googlegroups.com

Hi,

Fred, this looks like an old bundle for me. Can you please download the latest file from my.openhab.org Docs section and place it to addons?

Dominic Lerbs

unread,
Jun 14, 2015, 8:10:59 AM6/14/15
to myop...@googlegroups.com
I had a the same exeption yesterday, couldn't reach my openHAB for a few hours (even though it seemed to connect again right away:

2015-06-13 17:19:16.305 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: com.github.nkzawa.engineio.client.EngineIOException: xhr post error
2015-06-13 17:19:16.323 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = 9cc9..., base URL = http://localhost:8080)
2015-06-13 17:19:23.493 [INFO ] [.myopenhab.internal.MyOHClient] - Connected to my.openHAB service (UUID = 9cc9..., base URL = http://localhost:8080)
2015-06-13 20:23:56.860 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: com.github.nkzawa.engineio.client.EngineIOException: xhr post error
2015-06-13 20:23:56.873 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = 9cc9..., base URL = http://localhost:8080)
2015-06-13 20:23:59.145 [INFO ] [.myopenhab.internal.MyOHClient] - Connected to my.openHAB service (UUID = 9cc9..., base URL = http://localhost:8080)
2015-06-13 20:32:03.574 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: com.github.nkzawa.engineio.client.EngineIOException: xhr post error
2015-06-13 20:32:03.583 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = 9cc9..., base URL = http://localhost:8080)
2015-06-13 20:40:33.531 [INFO ] [.myopenhab.internal.MyOHClient] - Connected to my.openHAB service (UUID = 9cc9..., base URL = http://localhost:8080)
2015-06-13 20:46:28.917 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: com.github.nkzawa.engineio.client.EngineIOException: xhr post error
2015-06-13 20:46:28.925 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = 9cc9..., base URL = http://localhost:8080)
2015-06-13 20:54:01.337 [INFO ] [.myopenhab.internal.MyOHClient] - Connected to my.openHAB service (UUID = 9cc9..., base URL = http://localhost:8080)
2015-06-13 21:00:22.238 [WARN ] [ipse.jetty.client.HttpExchange] - EXPIRED MyOHExchange@e76644=GET//localhost:8080/rest/sitemaps/home/home?#WAITING(29867ms)->EXPIRED(0ms)sent=29869ms
2015-06-13 21:00:36.056 [WARN ] [ipse.jetty.client.HttpExchange] - EXPIRED MyOHExchange@208a68=GET//localhost:8080/rest/sitemaps/home/0101?#WAITING(29874ms)->EXPIRED(0ms)sent=29876ms
2015-06-13 21:00:36.219 [WARN ] [osphere.cpr.DefaultBroadcaster] - Duplicate resource ae219359-49ab-4b65-a0c6-0518afac6de1. Could be caused by a dead connection not detected by your server. Replacing the old one with the fresh one
2015-06-13 21:01:06.082 [WARN ] [ipse.jetty.client.HttpExchange] - EXPIRED MyOHExchange@1f0d34=GET//localhost:8080/rest/sitemaps/home/0100?#WAITING(29878ms)->EXPIRED(0ms)sent=29878ms
2015-06-13 21:01:36.315 [WARN ] [ipse.jetty.client.HttpExchange] - EXPIRED MyOHExchange@11d8053=GET//localhost:8080/rest/sitemaps/home/0201?#WAITING(29923ms)->EXPIRED(0ms)sent=29924ms
2015-06-13 21:01:41.721 [WARN ] [ipse.jetty.client.HttpExchange] - EXPIRED MyOHExchange@6118f2=GET//localhost:8080/rest/sitemaps/home/0003?#WAITING(29877ms)->EXPIRED(0ms)sent=29878ms
2015-06-13 21:49:56.614 [WARN ] [osphere.cpr.DefaultBroadcaster] - Duplicate resource 1f9541f9-312f-47ad-9dab-87ace60d43f1. Could be caused by a dead connection not detected by your server. Replacing the old one with the fresh one
2015-06-13 21:50:16.443 [WARN ] [ipse.jetty.client.HttpExchange] - EXPIRED MyOHExchange@abfdc=GET//localhost:8080/rest/sitemaps/home/home?#WAITING(29897ms)->EXPIRED(0ms)sent=29899ms
2015-06-13 21:50:26.451 [WARN ] [ipse.jetty.client.HttpExchange] - EXPIRED MyOHExchange@9c79c4=GET//localhost:8080/rest/sitemaps/home/0201?#WAITING(29856ms)->EXPIRED(1ms)sent=29858ms
2015-06-13 21:50:32.458 [WARN ] [ipse.jetty.client.HttpExchange] - EXPIRED MyOHExchange@1327f1c=GET//localhost:8080/rest/sitemaps/home/0201?#WAITING(29886ms)->EXPIRED(0ms)sent=29887ms
2015-06-13 21:50:33.063 [WARN ] [ipse.jetty.client.HttpExchange] - EXPIRED MyOHExchange@16846c0=GET//localhost:8080/rest/sitemaps/home/home?#WAITING(30007ms)->EXPIRED(0ms)sent=30007ms
2015-06-13 22:04:58.650 [WARN ] [ipse.jetty.client.HttpExchange] - EXPIRED MyOHExchange@25e56e=GET//localhost:8080/rest/sitemaps/home/0201?#WAITING(29997ms)->EXPIRED(0ms)sent=29998ms

Mark Czelnik

unread,
Aug 4, 2015, 4:50:27 PM8/4/15
to my.openHAB
Hi,

i have the same error in my log:

2015-08-04 20:29:54.990 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: com.github.nkzawa.engineio.client.EngineIOException: xhr post error
2015-08-04 20:29:54.995 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = ..., base URL = http://localhost:8080)
2015-08-04 20:30:07.968 [INFO ] [.myopenhab.internal.MyOHClient] - Connected to my.openHAB service (UUID = ..., base URL = http://localhost:8080)
2015-08-04 20:31:18.006 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: com.github.nkzawa.engineio.client.EngineIOException: xhr post error
2015-08-04 20:31:18.012 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = ..., base URL = http://localhost:8080)
2015-08-04 20:31:30.860 [INFO ] [.myopenhab.internal.MyOHClient] - Connected to my.openHAB service (UUID = ..., base URL = http://localhost:8080)
2015-08-04 20:31:55.532 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: com.github.nkzawa.engineio.client.EngineIOException: xhr post error
2015-08-04 20:31:55.537 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = ..., base URL = http://localhost:8080)
2015-08-04 20:32:07.628 [INFO ] [.myopenhab.internal.MyOHClient] - Connected to my.openHAB service (UUID = ..., base URL = http://localhost:8080)
2015-08-04 20:33:17.685 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: com.github.nkzawa.engineio.client.EngineIOException: xhr post error
2015-08-04 20:33:17.691 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = ..., base URL = http://localhost:8080)
2015-08-04 20:33:31.168 [INFO ] [.myopenhab.internal.MyOHClient] - Connected to my.openHAB service (UUID = ..., base URL = http://localhost:8080)


Any news how to fix the problem?

Bob Dickenson

unread,
Aug 4, 2015, 7:07:16 PM8/4/15
to my.openHAB
I am also seeing same error pattern.
Reply all
Reply to author
Forward
0 new messages