Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH

前端 未结 9 669
死守一世寂寞
死守一世寂寞 2020-11-30 06:15

What does this error message mean and how do I resolve it? That is from console of Google Chrome v33.0, on Windows 7.

Failed to load resource: net::ER

9条回答
  •  离开以前
    2020-11-30 06:52

    This error is definite mismatch between the data that is advertised in the HTTP Headers and the data transferred over the wire.

    It could come from the following:

    1. Server: If a server has a bug with certain modules that changes the content but don't update the content-length in the header or just doesn't work properly. It was the case for the Node HTTP Proxy at some point (see here)

    2. Proxy: Any proxy between you and your server could be modifying the request and not update the content-length header.

    As far as I know, I haven't see those problem in IIS but mostly with custom written code.

    Let me know if that helps.

提交回复
热议问题