1. Problem description
The recording of a terminal session started through Monopam could not be uploaded to MinIO object storage, and its status changed to Failed on the Recordings screen.
MinIO API responded with message=The difference between the request time and the server's time is too large.
Figure 1. Failed recording and MinIO error message on the Record Details screen.
2. Root cause analysis
MinIO validates the timestamp of signed API requests. In a controlled test, the same error reoccurred when the Windows PAM Gateway clock was set back by about one hour. The findings point to a mismatch between the request time and the MinIO server time. Servers being in different time zones or locations does not cause the error; it is enough for each server’s clock to be correct and synchronized for its own time zone.
3. Linux and CDN checks
The docker top output confirms that MinIO is running inside the CDN container. The API port is 9000 and the console port is 9001; the service status is 1 Online, 0 Offline. On the Linux side, NTP is active and the system clock is synchronized.
Check commands:
docker ps | grep -i cdn
docker exec -it 0680df3334c9 date -u
date -u
timedatectl
docker top 0680df3334c9
docker service logs --since 15m monopam_cdn
docker service logs -f --since 1m --timestamps monopam_app
Figure 2. CDN/MinIO process, time and service checks.
Figure 3. Monopam App logs: session expired and Agent connection refused.
The session expired and Agent connection refused messages in the App logs are not direct evidence of the MinIO error and should be assessed separately.
4. Resolution on the Windows Gateway
Right-click the clock on the Windows taskbar and open Adjust date/time. Apply the following settings:
Set time automatically: ON
Set time zone automatically: OFF
Time zone: The time zone of the server’s location (e.g. (UTC+03:00) Istanbul)
Synchronize your clock: Sync now
Figure 4. Correct configuration: Set time automatically is on, the time zone is (UTC+03:00) Istanbul, and the clock is synchronized with time.windows.com (opens in a new tab).
5. Post-resolution verification
Check that the system clock is correct and synchronized on both the Gateway and the Linux server. Start and end a new terminal session. Confirm on the Recordings screen that the status is Uploaded and the recording can be opened. This step is pending, as a screenshot of a successful post-resolution test has not been shared yet.
Note: The system clock must not be changed manually in production. If the machine is a domain member, the organization’s time synchronization policy applies.



