<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[WebSocket 断了以后，页面还以为自己在线]]></title><description><![CDATA[<p dir="auto">NodeBB 页面能打开，但在线人数、通知、打字状态都不动。刷新后短暂正常，过几分钟又停。</p>
]]></description><link>https://localaihub.com/topic/169/websocket-断了以后-页面还以为自己在线</link><generator>RSS for Node</generator><lastBuildDate>Wed, 03 Jun 2026 20:31:27 GMT</lastBuildDate><atom:link href="https://localaihub.com/topic/169.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 May 2026 03:35:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to WebSocket 断了以后，页面还以为自己在线 on Tue, 12 May 2026 22:59:00 GMT]]></title><description><![CDATA[<p dir="auto">这类事故复盘要写“页面可访问不等于实时通道可用”，监控也要覆盖 WebSocket。</p>
]]></description><link>https://localaihub.com/post/1796</link><guid isPermaLink="true">https://localaihub.com/post/1796</guid><dc:creator><![CDATA[林小北]]></dc:creator><pubDate>Tue, 12 May 2026 22:59:00 GMT</pubDate></item><item><title><![CDATA[Reply to WebSocket 断了以后，页面还以为自己在线 on Tue, 12 May 2026 20:09:00 GMT]]></title><description><![CDATA[<p dir="auto">补配置后挂了半小时，通知正常了。</p>
]]></description><link>https://localaihub.com/post/1795</link><guid isPermaLink="true">https://localaihub.com/post/1795</guid><dc:creator><![CDATA[葡萄冰]]></dc:creator><pubDate>Tue, 12 May 2026 20:09:00 GMT</pubDate></item><item><title><![CDATA[Reply to WebSocket 断了以后，页面还以为自己在线 on Tue, 12 May 2026 19:12:00 GMT]]></title><description><![CDATA[<p dir="auto">补完要用真实浏览器挂 15 分钟，看通知和在线状态，不是 curl 健康检查。</p>
]]></description><link>https://localaihub.com/post/1794</link><guid isPermaLink="true">https://localaihub.com/post/1794</guid><dc:creator><![CDATA[陈一]]></dc:creator><pubDate>Tue, 12 May 2026 19:12:00 GMT</pubDate></item><item><title><![CDATA[Reply to WebSocket 断了以后，页面还以为自己在线 on Tue, 12 May 2026 16:31:00 GMT]]></title><description><![CDATA[<p dir="auto">我们单实例，先补内层 Nginx。</p>
]]></description><link>https://localaihub.com/post/1793</link><guid isPermaLink="true">https://localaihub.com/post/1793</guid><dc:creator><![CDATA[葡萄冰]]></dc:creator><pubDate>Tue, 12 May 2026 16:31:00 GMT</pubDate></item><item><title><![CDATA[Reply to WebSocket 断了以后，页面还以为自己在线 on Tue, 12 May 2026 16:13:00 GMT]]></title><description><![CDATA[<p dir="auto">多实例 NodeBB 的话还要看 sticky session 或 Redis adapter，不然 WebSocket 连到不同进程会乱。</p>
]]></description><link>https://localaihub.com/post/1792</link><guid isPermaLink="true">https://localaihub.com/post/1792</guid><dc:creator><![CDATA[阿白]]></dc:creator><pubDate>Tue, 12 May 2026 16:13:00 GMT</pubDate></item><item><title><![CDATA[Reply to WebSocket 断了以后，页面还以为自己在线 on Tue, 12 May 2026 13:21:00 GMT]]></title><description><![CDATA[<p dir="auto">双层代理都要配。用户路径经过哪里，哪里就不能假装透明。</p>
]]></description><link>https://localaihub.com/post/1791</link><guid isPermaLink="true">https://localaihub.com/post/1791</guid><dc:creator><![CDATA[nora]]></dc:creator><pubDate>Tue, 12 May 2026 13:21:00 GMT</pubDate></item><item><title><![CDATA[Reply to WebSocket 断了以后，页面还以为自己在线 on Tue, 12 May 2026 11:28:00 GMT]]></title><description><![CDATA[<p dir="auto">我外层 Nginx 配了 upgrade，内层没有。</p>
]]></description><link>https://localaihub.com/post/1790</link><guid isPermaLink="true">https://localaihub.com/post/1790</guid><dc:creator><![CDATA[葡萄冰]]></dc:creator><pubDate>Tue, 12 May 2026 11:28:00 GMT</pubDate></item><item><title><![CDATA[Reply to WebSocket 断了以后，页面还以为自己在线 on Tue, 12 May 2026 11:16:00 GMT]]></title><description><![CDATA[<p dir="auto">还有超时。<code>proxy_read_timeout</code> 太短时，空闲连接会被代理切掉。</p>
]]></description><link>https://localaihub.com/post/1789</link><guid isPermaLink="true">https://localaihub.com/post/1789</guid><dc:creator><![CDATA[melo]]></dc:creator><pubDate>Tue, 12 May 2026 11:16:00 GMT</pubDate></item><item><title><![CDATA[Reply to WebSocket 断了以后，页面还以为自己在线 on Tue, 12 May 2026 10:56:00 GMT]]></title><description><![CDATA[<p dir="auto">如果前面还有 FRP，也要确认它支持并稳定转发 WebSocket。</p>
]]></description><link>https://localaihub.com/post/1788</link><guid isPermaLink="true">https://localaihub.com/post/1788</guid><dc:creator><![CDATA[小蓝]]></dc:creator><pubDate>Tue, 12 May 2026 10:56:00 GMT</pubDate></item><item><title><![CDATA[Reply to WebSocket 断了以后，页面还以为自己在线 on Tue, 12 May 2026 09:06:00 GMT]]></title><description><![CDATA[<p dir="auto">代理头先看：Upgrade、Connection、Host、X-Forwarded-Proto。Nginx 少一项就会变成长轮询或断连。</p>
]]></description><link>https://localaihub.com/post/1787</link><guid isPermaLink="true">https://localaihub.com/post/1787</guid><dc:creator><![CDATA[林小北]]></dc:creator><pubDate>Tue, 12 May 2026 09:06:00 GMT</pubDate></item><item><title><![CDATA[Reply to WebSocket 断了以后，页面还以为自己在线 on Tue, 12 May 2026 06:36:00 GMT]]></title><description><![CDATA[<p dir="auto">控制台有 <code>websocket error</code>，但页面没有明显提示。</p>
]]></description><link>https://localaihub.com/post/1786</link><guid isPermaLink="true">https://localaihub.com/post/1786</guid><dc:creator><![CDATA[葡萄冰]]></dc:creator><pubDate>Tue, 12 May 2026 06:36:00 GMT</pubDate></item><item><title><![CDATA[Reply to WebSocket 断了以后，页面还以为自己在线 on Tue, 12 May 2026 05:13:00 GMT]]></title><description><![CDATA[<p dir="auto">这像 WebSocket 断了。浏览器控制台看 <a href="http://socket.io" rel="nofollow ugc">socket.io</a> 有没有 reconnect 或 transport close。</p>
]]></description><link>https://localaihub.com/post/1785</link><guid isPermaLink="true">https://localaihub.com/post/1785</guid><dc:creator><![CDATA[陈小舟]]></dc:creator><pubDate>Tue, 12 May 2026 05:13:00 GMT</pubDate></item></channel></rss>