曦云 发表于 2024-12-31 22:52

shadmmd 发表于 2025-1-1 09:49

本帖最后由 shadmmd 于 2025-1-1 09:52 编辑

是 https://www.msn.cn/zh-cn 的问题,一打开就从service-worker.js?bundles=latest这个js去生成超300个的请求。
处理方法:改掉这个浏览器主页、禁用这个地址、路由器禁止访问https://www.msn.cn/homepage/service-worker.js?bundles=latest。

https://s21.ax1x.com/2025/01/01/pAzxkvQ.md.png

https://s21.ax1x.com/2025/01/01/pAzxFgg.md.png

格式化代码后的第8976行这段js代码在引起的

async fetch(t) {
                const {event: s} = this;
                let n = M(t);
                if ("navigate" === n.mode && s instanceof FetchEvent && s.preloadResponse) {
                  const e = await s.preloadResponse;
                  if (e)
                        return e
                }
                const a = this.hasCallback("fetchDidFail") ? n.clone() : null;
                try {
                  for (const e of this.iterateCallbacks("requestWillFetch"))
                        n = await e({
                            request: n.clone(),
                            event: s
                        })
                } catch (t) {
                  if (t instanceof Error)
                        throw new e("plugin-error-request-will-fetch",{
                            thrownErrorMessage: t.message
                        })
                }
                const r = n.clone();
                try {
                  let e;
                  e = await fetch(n, "navigate" === n.mode ? void 0 : this._strategy.fetchOptions);
                  for (const t of this.iterateCallbacks("fetchDidSucceed"))
                        e = await t({
                            event: s,
                            request: r,
                            response: e
                        });
                  return e
                } catch (e) {
                  throw a && await this.runCallbacks("fetchDidFail", {
                        error: e,
                        event: s,
                        originalRequest: a.clone(),
                        request: r.clone()
                  }),
                  e
                }
            }

浅暮丶千殇 发表于 2025-1-1 00:02

ennn 大概率是路由器被黑了 然后当成了肉鸡, 现在有大量的 IP 在尝试撞库, 我自己的微软账户每天能收到几十条登录失败的请求, IP 来自全世界

曦云 发表于 2025-1-1 00:22

曦云 发表于 2025-1-1 16:13

页: [1]
查看完整版本: 短时间内向微软并发大量连接是什么原因,导致路由器卡死。