Description

 

This article describes a workaround and a permanent fix for users who encounter an error while scheduling and performing License Polling jobs.

Symptoms

 

When trying to 'Schedule Poll' under Administration > License Management > Notification Settings, the user gets the following error:

 

License Polling update failed

 

Solution

This issue is fixed in Security Director 24.1R4 Hotpatch-V1 and in 24.1R5 

 

Workaround:

 

To schedule the license polling job as a workaround, we will use a REST API call and verify it via the Junos Space GUI: 

 

  1. Open Google Chrome and enable Developer Tools (F12). In the toolbar, select the Network tab.

  2. From the Junos Space GUI, schedule the license polling by selecting the "Schedule Poll" and selecting the desired date and start time, then submit the request.

  3. In the Developer Tools window, observe the request/response error. Click on it to view the payload.

  4. Construct a curl command using the captured payload. Example:

curl -k -u <User>:<Password> \
--location --request PUT 'https://<vip-jsd>/api/juniper/sd/license-management/schedule' \
--header 'Accept: application/json' \
--header 'Access-Control-Request-Headers: manageLicenseManagement' \
--header 'Content-Type: application/json' \
--data '{
  "LicenseScheduleTO": {
    "recurrence": true,
    "scheduleUnit": "Weekly",
    "selectDay": "WED",
    "startTime": "xxxxxxxxxxxxxxx"
  }
}'

 

NOTE: Replace xxxxxxxxxxxxxxx with the appropriate timestamp which you get in step 3 and <User>:<Password> with valid credentials.

 

  1. Execute the above curl command from the external server or from the same Space server.
  2. Verify that the job appears under Job Management in the Junos Space GUI, and confirm that the job is successfully scheduled.

 

Modification History

2025-09-17 : Article Created