In legacy application hosted in Amazon AWS we are getting SPDY_PROTOCOL_ERROR for a certain page. This happens in Google Chrome and Opera, but in Firefox the page loads normally. According to https://en.wikipedia.org/wiki/SPDY the SPDY implementations in Chromium and Firefox might be a bit different, in Chromium the error occurs anyway. The problem is not happening within the same webpage in the local development environment.
After doing some research via Google I did still not find a good answer on how to debug this (from a developers or server administrators perspective). What can I do to identify the source of this problem?
The problem turned out to be caused by zlib output compression setting in AWS. After disabling this setting all worked again. Chances are that the server was sending invalid content length headers for some special pages which is not accepted by Chrome and Opera.
There is some discussion about this in the Cloudflare support forums: https://community.cloudflare.com/t/community-tip-fixing-err-spdy-protocol-error/71356
Here is the answer from the Cloudflare community: