• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the current Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

Weird 404 not found errors

Edi Duluman

Basic Pleskian
Hello guys ! I have a client who's running Smarty just fine on one of his old servers.
He decided to do a move to test the perfomance on the new server and I'm having this annoying problem which I can't really figure out how to solve.

Here you have two requests, first one ends up in 404 Not Found and second one works fine.

  1. http://nakenpraten.com/external_c/dp/%%10/103/10379A4F%%form_QuickSearch.js
  2. http://nakenpraten.com/external_c/dp/%%CA/CAD/CADB2AD9%%menu-line-bottom.style.css

I don't understand what's the difference between these two ?

The files exist at the following paths:

  1. /external_c/dp/%25%2510/103/10379A4F%25%25form_QuickSearch.js
  2. /external_c/dp/%%CA/CAD/CADB2AD9%%menu-line-bottom.style.css

They work just fine on the old server... and I'm really struggling to understand what's different here.
Do you have any idea ?

Sometimes I get some errors from nginx access like this:

1253#0: *1781 open() "/var/www/vhosts/nakenpraten.com/httpdocs/external_c/dp/%DE/DE6/DE65EBD5%form_SignUp.js" failed (2: No such file or directory)

I don't understand why nginx sees %25%25 ( originally %% ) as only one %.

Print of the logs:

S6MySku.png



I havel literally no idea..
 
Last edited:
I have found out that if I disable Smart static files processing for the domains that have trouble with this in Apache & Nginx Settings after few minutes, if you refresh couple of times, the errors dissapear. It's very strange. Before finding the workaround, there were files that sometimes were loading, sometimes they were returning a 404. Don't understand why.
 
Back
Top