mrniko / netty-socketio

Socket.IO server implemented on Java. Realtime java framework
Apache License 2.0
6.82k stars 1.65k forks source link

Not able to start server after upgrade - Blocked wrong request! #321

Closed maksimu closed 8 years ago

maksimu commented 8 years ago

After upgrading to 1.7.9 I'm no longer able to startup the server getting following warnings on the server:

[web0] 2016-02-11 20:20:07.585 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : leave sessionId: 7fd2c1a8-6038-4144-ab7d-b76659dc14c7
[web0] 2016-02-11 20:20:07.586 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : disconnect sessionId: 7fd2c1a8-6038-4144-ab7d-b76659dc14c7
[web0] 2016-02-11 20:20:07.586 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : leave sessionId: 7fd2c1a8-6038-4144-ab7d-b76659dc14c7
[web0] 2016-02-11 20:20:11.052 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : connect sessionId: dc33c248-e93e-430c-a8b7-5129266fc54f
[web0] 2016-02-11 20:20:11.053 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : join sessionId: dc33c248-e93e-430c-a8b7-5129266fc54f
[web0] 2016-02-11 20:20:11.254 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : join sessionId: dc33c248-e93e-430c-a8b7-5129266fc54f
[web0] 2016-02-11 20:20:11.280 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : join sessionId: dc33c248-e93e-430c-a8b7-5129266fc54f
[web0] 2016-02-11 20:20:12.308  WARN 5 --- [ntLoopGroup-5-4] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36253
[web0] 2016-02-11 20:20:17.605  WARN 5 --- [ntLoopGroup-5-5] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36280
[web0] 2016-02-11 20:20:22.990  WARN 5 --- [ntLoopGroup-5-6] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36293
[web0] 2016-02-11 20:20:28.251  WARN 5 --- [ntLoopGroup-5-7] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36317
[web0] 2016-02-11 20:20:33.501  WARN 5 --- [ntLoopGroup-5-8] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36359
[web0] 2016-02-11 20:20:34.209 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : connect sessionId: 024883b9-4fb7-4a07-bd7d-bf7c811575fc
[web0] 2016-02-11 20:20:34.210 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : join sessionId: 024883b9-4fb7-4a07-bd7d-bf7c811575fc
[web0] 2016-02-11 20:20:34.385 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : join sessionId: 024883b9-4fb7-4a07-bd7d-bf7c811575fc
[web0] 2016-02-11 20:20:34.398 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : join sessionId: 024883b9-4fb7-4a07-bd7d-bf7c811575fc
[web0] 2016-02-11 20:20:38.895  WARN 5 --- [ntLoopGroup-5-9] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36378
[web0] 2016-02-11 20:20:44.147  WARN 5 --- [tLoopGroup-5-10] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36401
[web0] 2016-02-11 20:20:44.213 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : leave sessionId: 024883b9-4fb7-4a07-bd7d-bf7c811575fc
[web0] 2016-02-11 20:20:44.224 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : leave sessionId: 024883b9-4fb7-4a07-bd7d-bf7c811575fc
[web0] 2016-02-11 20:20:44.225 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : disconnect sessionId: 024883b9-4fb7-4a07-bd7d-bf7c811575fc
[web0] 2016-02-11 20:20:44.225 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : leave sessionId: 024883b9-4fb7-4a07-bd7d-bf7c811575fc
[web0] 2016-02-11 20:20:45.713 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : connect sessionId: d553178a-3489-4141-a300-942f68a1134f
[web0] 2016-02-11 20:20:45.714 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : join sessionId: d553178a-3489-4141-a300-942f68a1134f
[web0] 2016-02-11 20:20:46.140 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : join sessionId: d553178a-3489-4141-a300-942f68a1134f
[web0] 2016-02-11 20:20:46.153 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : join sessionId: d553178a-3489-4141-a300-942f68a1134f
[web0] 2016-02-11 20:20:49.396  WARN 5 --- [tLoopGroup-5-11] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36437
[web0] 2016-02-11 20:20:54.639  WARN 5 --- [tLoopGroup-5-12] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36446
[web0] 2016-02-11 20:20:59.898  WARN 5 --- [tLoopGroup-5-13] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36466
[web0] 2016-02-11 20:21:05.154  WARN 5 --- [tLoopGroup-5-14] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36482
[web0] 2016-02-11 20:21:10.416  WARN 5 --- [tLoopGroup-5-15] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36498
[web0] 2016-02-11 20:21:10.745 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : leave sessionId: dc33c248-e93e-430c-a8b7-5129266fc54f
[web0] 2016-02-11 20:21:10.797 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : leave sessionId: dc33c248-e93e-430c-a8b7-5129266fc54f
[web0] 2016-02-11 20:21:10.798 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : disconnect sessionId: dc33c248-e93e-430c-a8b7-5129266fc54f
[web0] 2016-02-11 20:21:10.799 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : leave sessionId: dc33c248-e93e-430c-a8b7-5129266fc54f
[web0] 2016-02-11 20:21:13.500 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : connect sessionId: 6d679ceb-f572-44c5-947f-1279e1da003c
[web0] 2016-02-11 20:21:13.501 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : join sessionId: 6d679ceb-f572-44c5-947f-1279e1da003c
[web0] 2016-02-11 20:21:13.680 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : join sessionId: 6d679ceb-f572-44c5-947f-1279e1da003c
[web0] 2016-02-11 20:21:13.690 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : join sessionId: 6d679ceb-f572-44c5-947f-1279e1da003c
[web0] 2016-02-11 20:21:16.674  WARN 5 --- [tLoopGroup-5-16] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36539
[web0] 2016-02-11 20:21:21.952  WARN 5 --- [ntLoopGroup-5-1] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36555
[web0] 2016-02-11 20:21:27.296  WARN 5 --- [ntLoopGroup-5-2] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36568
[web0] 2016-02-11 20:21:32.560  WARN 5 --- [ntLoopGroup-5-3] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36602
[web0] 2016-02-11 20:21:37.832  WARN 5 --- [ntLoopGroup-5-4] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36616
[web0] 2016-02-11 20:21:43.095  WARN 5 --- [ntLoopGroup-5-5] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36629
[web0] 2016-02-11 20:21:45.573 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : leave sessionId: d553178a-3489-4141-a300-942f68a1134f
[web0] 2016-02-11 20:21:45.595 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : leave sessionId: d553178a-3489-4141-a300-942f68a1134f
[web0] 2016-02-11 20:21:45.595 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : disconnect sessionId: d553178a-3489-4141-a300-942f68a1134f
[web0] 2016-02-11 20:21:45.596 DEBUG 5 --- [ntLoopGroup-2-6] c.c.socketio.store.RedissonStoreFactory  : leave sessionId: d553178a-3489-4141-a300-942f68a1134f
[web0] 2016-02-11 20:21:48.373  WARN 5 --- [ntLoopGroup-5-6] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36654
[web0] 2016-02-11 20:21:53.663  WARN 5 --- [ntLoopGroup-5-7] c.c.socketio.handler.AuthorizeHandler    : Blocked wrong request! url: /, ip: /10.51.0.14:36670

On 1.7.8 I just saw Blocked wrong request!... warning once

What could cause this issue?

maksimu commented 8 years ago

Looks like this one is a duplicate of https://github.com/mrniko/netty-socketio/issues/309

mrniko commented 8 years ago

I removed this warn message.