1

在恢复 ejabberd 的流管理会话时,我得到以下日志:

2016-04-11 08:53:07.430 [info] <0.5432.11>@ejabberd_c2s:terminate:1752 Closing former stream of resumed session for 54ff31587261691606060000@108.59.83.204/sender
2016-04-11 08:53:07.430 [info] <0.7868.11>@ejabberd_c2s:handle_unacked_stanzas:2814 1 stanzas were not acknowledged by 54ff31587261691606060000@108.59.83.204/sender
2016-04-11 08:53:07.430 [info] <0.7868.11>@ejabberd_c2s:handle_resume:2731 Resumed session for 54ff31587261691606060000@108.59.83.204/sender
2016-04-11 08:53:08.602 [info] <0.8227.11>@ejabberd_c2s:handle_enable:2644 Stream management with resumption enabled for 5695b87d7261697179130000@108.59.83.204/sender
2016-04-11 08:53:09.516 [info] <0.8227.11>@ejabberd_c2s:terminate:1779 ({socket_state,gen_tcp,#Port<0.138899>,<0.8244.11>}) Close session for 5695b87d7261697179130000@108.59.83.204/sender
2016-04-11 08:53:09.517 [info] <0.8227.11>@ejabberd_c2s:handle_unacked_stanzas:2814 1 stanzas were not acknowledged by 5695b87d7261697179130000@108.59.83.204/sender
2016-04-11 08:53:09.987 [info] <0.458.0>@ejabberd_listener:accept:333 (#Port<0.138210>) Accepted connection 106.196.172.221:58035 -> 10.240.0.3:5222
2016-04-11 08:53:11.157 [info] <0.8254.11>@ejabberd_c2s:wait_for_sasl_response:919 ({socket_state,gen_tcp,#Port<0.138210>,<0.8185.11>}) Accepted authentication for 5695b87d7261697179130000 by undefined from 106.196.172.221

这里 1 节未被承认,这是什么意思以及如何纠正它。

有时,接收方客户端没有收到很少的交付确认,这是那些节丢失的原因吗?

更新:会话期间未确认的节在连接恢复时再次交换。但是在某些情况下,某些节会丢失,因此发送确认不会反映在发送方客户端。

为流管理设置的参数:

超时恢复:120 秒

超时重发:真

由于某些节丢失,我可能会丢失任何配置吗?

4

1 回答 1

1

这意味着您正在使用流管理,并且您的客户没有确认他收到了一些节。如果这是消息,它们将被存储以供离线传递或在其他连接上重新发送,因此您不应丢失任何消息。

于 2016-04-12T07:53:25.730 回答