• 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

Issue URL Scheduled task returns 401 without even trying to visit the URL

uniauto

Basic Pleskian
Server operating system version
Debian 10.13
Plesk version and microupdate number
18.0.59 #2
Hi.

I have a URL scheduled task for https://mydomain.es/crontask/myscript.php
"mydomain.es" root directory is password protected .
"crontask" directory have .htaccess file with: "Require all granted"
This was working fine until yesterday, after I changed PHP handler to test something from 8.3 FastCGI to 8.2 FastCGI and then back again to 8.3 FastCGI.

Now the scheduled task return 401 Authorization Required.
I think Plesk is not even trying to visit the URL, because there no log for mydomain.es in access_log, access_ssl_log or error_log.

Adding user:password to the URL work fine https://user:[email protected]/crontask/myscript.php but I would like not to do it.

What is happening?
 
Back
Top