• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Scheduler giving error - WARNING: Unable to fetch url:(API URL) WARNING: Exception calling "GetResponse" with "0" argument(s): "The remote server ret

naimisar

New Pleskian
Server operating system version
Microsoft Windows Server 2022
Plesk version and microupdate number
Plesk Obsidian 18.0.65 Update #2
Hi Team,
I am getting following error while my scheduler run. Same setup was working fine previously but now giving error.

WARNING: Unable to fetch url: (API URL)
WARNING: Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (500) Internal

API working fine while i am execute individual.

Thanks and regards,
naimisar
 
Hello, @naimisar. What you can try is increasing the execution time by navigating to the %plesk_dir%Additional\Scheduler folder and opening fetch_url.ps1. Add webRequest.timeout variable with value of 60000 in the Try block to the script:

...
Try {
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
$webRequest = [net.WebRequest]::Create($url)
$webRequest.timeout = 60000;
...

I hope that helps.
 
Back
Top