语调 mod_bosh:会话中有 1 个请求打开,发送缓冲区中没有任何内容。

我正在尝试jitsi-meet。环境是debian 7 + nginx + prosody(包括jitsi-videobridge组件)。

我启动nginx、prosody和jitsi-videobridge后,prosody调试日志如下:

----------
Sep 10 10:43:17 mod_bosh    debug   BOSH body open (sid: 259ea820-4153-453e-91e2-9444b4b80fa0)
Sep 10 10:43:17 mod_bosh    debug   Session 259ea820-4153-453e-91e2-9444b4b80fa0 has 1 out of 1 requests open
Sep 10 10:43:17 mod_bosh    debug   and there are 0 things in the send_buffer:
Sep 10 10:43:17 mod_bosh    debug   Have nothing to say, so leaving request unanswered for now
Sep 10 10:43:17 socket  debug   server.lua: accepted new client connection from 192.168.0.1:40239 to 65290
Sep 10 10:43:17 mod_bosh    debug   Handling new request table: 0x28353f0:
----------
Sep 10 10:43:17 mod_bosh    debug   BOSH body open (sid: 0236d44d-5999-48a1-8dd5-5dfe467315ea)
Sep 10 10:43:17 mod_bosh    debug   Session 0236d44d-5999-48a1-8dd5-5dfe467315ea has 1 out of 1 requests open
Sep 10 10:43:17 mod_bosh    debug   and there are 0 things in the send_buffer:
Sep 10 10:43:17 mod_bosh    debug   Have nothing to say, so leaving request unanswered for now
Sep 10 10:44:14 mod_bosh    debug   table: 0x29702d0 was soon to timeout (at 1410317057, now 1410317057), sending empty response
Sep 10 10:44:14 mod_bosh    debug   We have an open request, so sending on that
Sep 10 10:44:14 mod_bosh    debug   Request destroyed: table: 0x29702d0
Sep 10 10:44:14 bosh259ea820-4153-453e-91e2-9444b4b80fa0    debug   BOSH session marked as inactive (for 120s)
Sep 10 10:44:14 socket  debug   server.lua: closed client handler and removed socket from list
Sep 10 10:44:14 mod_bosh    debug   table: 0x29d6f40 was soon to timeout (at 1410317057, now 1410317057), sending empty response
Sep 10 10:44:14 mod_bosh    debug   We have an open request, so sending on that
Sep 10 10:44:14 mod_bosh    debug   Request destroyed: table: 0x29d6f40
Sep 10 10:44:14 bosh0236d44d-5999-48a1-8dd5-5dfe467315ea    debug   BOSH session marked as inactive (for 120s)
Sep 10 10:44:14 socket  debug   server.lua: closed client handler and removed socket from list
Sep 10 10:44:15 socket  debug   server.lua: accepted new client connection from 192.168.0.1:40240 to 65290
Sep 10 10:44:15 socket  debug   server.lua: accepted new client connection from 192.168.0.1:40241 to 65290
Sep 10 10:44:15 mod_bosh    debug   Handling new request table: 0x282c540:
----------
Sep 10 10:44:15 mod_bosh    debug   BOSH body open (sid: 0236d44d-5999-48a1-8dd5-5dfe467315ea)
Sep 10 10:44:15 mod_bosh    debug   Session 0236d44d-5999-48a1-8dd5-5dfe467315ea has 1 out of 1 requests open
Sep 10 10:44:15 mod_bosh    debug   and there are 0 things in the send_buffer:
Sep 10 10:44:15 mod_bosh    debug   Have nothing to say, so leaving request unanswered for now
Sep 10 10:44:15 mod_bosh    debug   Handling new request table: 0x292cb90:

我尝试不同的解决方案:

  1. consider_bosh_secure = true;,并使用https
  2. 身份验证已设置为“匿名”
  3. 将超时设置为120s

但它们都不起作用。我不知道“在发送缓冲区中没有任何内容”的可能原因。我猜测这可能是我设置中端口配置错误导致的。

如有任何解决该问题的想法,将不胜感激。

点赞