nginx · Server

Fix ERR_SPDY_PROTOCOL_ERROR nginx error on Chrome


There is a nefarious error on nginx that in rare cases can throw an ERR_SPDY_PROTOCOL_ERROR for the users of Chrome. TLDR: Check your nginx add_headers directives for invalid characters within any HTTP2 server configurations. I call this out as attempting to troubleshoot it online can lead you down a rabbit hole of old and misinformation.… Continue reading Fix ERR_SPDY_PROTOCOL_ERROR nginx error on Chrome

Server

Assignment to read-only properties is not allowed in strict mode


Using JavaScript to apply CSS to Internet Explorer/Edge returns 'Assignment to read-only properties is not allowed in strict mode' I encountered a silly mistake on my behalf the other day when programming some JavaScript DOM. This simple JS code to apply a style to an HTML element works fine in Chrome and Firefox. But breaks in Microsoft's… Continue reading Assignment to read-only properties is not allowed in strict mode