alanhe421
V2EX  ›  浏览器

(failed)net::ERR_CONNECTION_CLOSED

  •  
  •   alanhe421 · Sep 20, 2021 · 4077 views
    This topic created in 1877 days ago, the information mentioned may be changed or developed.

    你们开发 Web 时,有遇到过这个报错吗

    我最近线上 Web 遇到过这个错,页面效果是没有返回状态码,只有报错,提示(failed)net::ERR_CONNECTION_CLOSED 。

    同时我同样请求只是参数变化了,就没有报错,正常 200 。

    现在的问题是这个报错是什么意思,没有理解。

    https://imgur.com/a/TbsExBE

    2 replies  •  2021-09-21 14:33:13 +08:00
    TomChaai
    TomChaai
    Sep 21, 2021
    1
    服务器直接把你踢了,不返回 HTTP 代码,而是直接把你的 TCP 一起干掉
    alanhe421
    alanhe421
    OP
    Sep 21, 2021
    2
    @TomChaai 明白了,谢谢
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2424 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 04:54 · PVG 12:54 · LAX 20:54 · JFK 23:54
    ♥ Do have faith in what you're doing.