I found the problem.
In IIS, we use the URL Rewrite to redirect http request to https request, like that :
See the problem? The person who created this rule did a mistake. REQUEST_URI already contains the url params, so if the checkbox Append query string is checked, it will duplicate the url params.
This raises a question. In the scheduled task, the url is well specified in HTTPS. Does Lucee make the HTTP call first anyway?