Skip to content

"Unable to fetch clock state" error when NTP not available #1601

@szymontrocha

Description

@szymontrocha

Observed in one of my testpoint 5.2.2, Debian12 hosts that stopped working properly because NTP failed.

2025-11-05T13:15:14.601640+01:00 raman0 pscheduler-api[1206672] ERROR    Internal error 193.111.144.85 GET https://raman0.perfsonar.pionier.net.pl/pscheduler/clock: Unable to fetch clock state: not all arguments converted during string formatting

$ pscheduler troubleshoot
Performing basic troubleshooting of raman0.

raman0:

  Checking that host "raman0" resolves... 193.111.144.85
  Measuring MTU... N/A (Local)
  Looking for pScheduler... OK.
  Fetching API level... 6
  Checking clock... Failed.

Unable to fetch clock state: not all arguments converted during string formatting

$ pscheduler clock
localhost returned status 500: Unable to fetch clock state: not all arguments converted during string formatting

psudouser@raman0:/var/log/pscheduler$ ntpq -p
     remote                            refid      st t when poll reach   delay   offset   jitter
================================================================================================
 time.taken.pl                    .INIT.          16 u    -   64    0   0.0000   0.0000   0.0002
 5.185.77.40.ipv4.public.orange.p .INIT.          16 u    -   64    0   0.0000   0.0000   0.0002
 paa154.internetdsl.tpnet.pl      .INIT.          16 u    -   64    0   0.0000   0.0000   0.0002
 178.183.190.121.mobile.static.t- .INIT.          16 u    -   64    0   0.0000   0.0000   0.0002

Metadata

Metadata

Labels

Type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions