What does ERR_SPDY_PROTOCOL_ERROR mean in nginx?

后端 未结 14 2275
无人共我
无人共我 2020-12-09 01:45

I and a few of my colleagues got the net::ERR_SPDY_PROTOCOL_ERROR error.

We use ngnix version 1.8.0. The error is not stable (hard to replicate), and t

14条回答
  •  囚心锁ツ
    2020-12-09 02:12

    For me it was Nginx configuration that didn't allow OPTIONS method. I had whitelisted GET|PUT|POST|DELETE only, so when Chrome tried to send OPTIONS method, for God knows why**, the error was reproduced.

    Open up Firefox and repeat the request, then look at the Network inspector to check if any OPTIONS requests are being sent.

    ** probably to check for X-Frame-Options or HSTS verification.

提交回复
热议问题