Safari ajax request Failed to load resource: The network connection was lost

前端 未结 2 732
故里飘歌
故里飘歌 2021-02-05 09:55

I\'m receiving a message \"Failed to load resource: The network connection was lost.\" in my application, which uses ajax requests to get content from

2条回答
  •  梦如初夏
    2021-02-05 10:37

    One of the reasons why it might happen is the way Safari handles some SSL certificates (mainly, LetsEncrypt). The solution is to put the line:

    ssl_session_cache shared:SSL:10m;

    to your nginx config.

    Source: https://community.letsencrypt.org/t/apple-safari-browsers-fail-to-connect/3731/3

提交回复
热议问题