• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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