• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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