Skip to content

收到服务器消息会自动断开重连 #2

@zetingzhu

Description

@zetingzhu

你好我问下,每次收到服务器的消息后都会断开重连,不知道是真断了还是状态判断问题

05-07 16:35:10.297 2820-2873/com.box.niu.boxes I/LoggingHandler: [id: 0x1b57890f, L:/10.0.2.15:39562 - R:/119.23.138.149:28899] FLUSH
05-07 16:35:10.298 2820-2873/com.box.niu.boxes D/NettyService: Write auth successful
05-07 16:35:10.344 2820-2873/com.box.niu.boxes I/LoggingHandler: [id: 0x1b57890f, L:/10.0.2.15:39562 - R:/119.23.138.149:28899] RECEIVED: 16B
+-------------------------------------------------+
| 0 1 2 3 4 5 6 7 8 9 a b c d e f |
+--------+-------------------------------------------------+----------------+
|00000000| 01 00 00 00 bf 0f f0 5a 15 cd 5b 07 f9 2a 02 00 |.......Z..[..*..|
+--------+-------------------------------------------------+----------------+
05-07 16:35:10.345 2820-2873/com.box.niu.boxes E/NettyClientHandler: 读取发过来的消息
05-07 16:35:10.348 2820-2873/com.box.niu.boxes I/LoggingHandler: [id: 0x1b57890f, L:/10.0.2.15:39562 ! R:/119.23.138.149:28899] INACTIVE
05-07 16:35:10.348 2820-2873/com.box.niu.boxes E/NettyClientHandler: 连接失败 需要重连
05-07 16:35:10.349 2820-2873/com.box.niu.boxes D/NettyService: connect status:0
05-07 16:35:10.349 2820-2873/com.box.niu.boxes I/LoggingHandler: [id: 0x1b57890f, L:/10.0.2.15:39562 ! R:/119.23.138.149:28899] UNREGISTERED

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions