By secretdeals
Hello! I am getting error on opening my site. Here are the examples:
GET https://houseville.villas/fonts/Montserrat-Regular.woff2
net::ERR_HTTP2_PROTOCOL_ERROR 200
GET https://houseville.villas/styles/welcome-tour.css
net::ERR_ABORTED 404
The errors only relate to site resources like css and js. The error appeared on May-29 and somehow solved without any actions from my side. It just appeared again.
Thanks for you answer!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there @secretdeals,
There are a few things which could be causing this issue:
Make sure there is enough space on the Droplet, you can do that by running the df -h command
After some research, it looks like that there was a bug report and it is being fixed at the moment:
https://chromium-review.googlesource.com/c/chromium/src/+/2001234
I’ve not been able to recreate the problem myself but some people report that making the following changes to their Nginx server blocks fixed the problem:
gzip on;
add_header 'Cache-Control' 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
expires off;
Make sure to run an Nginx config test before restarting the service:
- nginx -t
If you get syntax is ok, then go ahead and restart the service.
Let me know how it goes! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.