• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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