Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Error resolution

Clocks between server and client are not synchronized

Last updated on 23 August 2021

Admin

Overview

You get an error message like
Connection to the vault failed
Clocks between server and client are not synchronized

Solution

Ensure all machines related to the setup have the correct date, time and time zone set. Consider enabling synchronization with an internet service (for example, the Windows Time service). You may find useful the following article from Microsoft: Windows Time service tools and settings. Please be aware that the link points to a 3rd party site and we have no control over its contents.
This includes:
  • The PC where the M-Files client runs.
  • The server where the M-Files server runs.
  • AD or other user authentication provider (such as domain controller).
  • Virtual Machine host that hosts servers (such as the M-Files server and AD server).
When the clock has been wrong with more than several minutes, you may need to restart the machine after you fix its time settings.
Make sure that the time settings are correct after the restart as well.
Note that virtual machines may take the time from their physical host hardware and software, regardless of the local OS settings, so make sure to check the hosting system as well.

Troubleshooting Tip

Often you have easy access to the M-Files Client and Server and their clocks are correct but you still get errors. To test if the problem is on those machines or other server are involved, do the following:
  1. On the client PC, Log Out from the Vault.
  2. On the M-Files Server, create an M-Files login account
    1. It is important that it does not use AD or other federated authentication, but uses M-Files authentication with a password you set in the M-Files Admin.
  3. On the client PC, start adding the same Vault Connection and fill in the server address, port and connection type.
    1. Ensure that the "Test Connection" in the Server section is successful.
    2. For Authentication, choose the "M-Files user" and click "Test Connection to Document Vault".
If this test is successful, but the real user (Current Windows user or Specific Windows User) fails with the original error ("Clocks between server and client are not synchronized"), then the problem is with authenticating that user with the provider (such as AD or domain controller). It is likely that the machine that hosts that authentication provider server has the wrong time that you need to fix as well.
 

Still need help?