Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-57798

Companion App throws System clock error if it starts up before the computer has synced with the NTP server

      Summary

      1. When connected to the internet, the Companion App checks and compares the computer's time with the NTP time.
      2. If the time is out of sync, it will throw the error saying "System clock is incorrect"
      3. Sometimes the Companion App will start before the computer has time to sync with the NTP server, which will them prompt the error message as well.

      Steps to replicate

      1. Set the Companion App to auto start on OS boot.
      2. Start the computer in another location where the local time is different.
      3. If the computer boots up, but has not synced with the NTP server to update it's time, the Companion App will throw the "System clock is incorrect" error.
      1. The issue can also be reproducible by simply changing the local time of the machine, and then setting it to update using the NTP server.
      2. Start the Atlassian Companion app, and it will throw the error, since it takes some time for the computer to sync with the NTP server time.

      Expected behavior

      1. When starting up, the Companion app should wait awhile for the computer time to sync with the network time, to prevent the error message from appearing.
      2. Or, there should be an option to disable the checking.

      Current behavior

      1. Companion App throws "System clock is incorrect" error message, as the computer has have the time to sync with the network time.
      2. In some cases, the app will crash on boot, and but works fine if started manually after.

            [CONFSERVER-57798] Companion App throws System clock error if it starts up before the computer has synced with the NTP server

            Alex K added a comment -

            A fix for this issue is available in Companion 1.2.0. View the Release Notes to see what other issues are resolved.

            If Companion is installed via the MSI, then it will need to be manually updated to the new version.

            Alex K added a comment - A fix for this issue is available in Companion 1.2.0. View the Release Notes to see what other issues are resolved. If Companion is installed via the MSI, then it will need to be manually updated to the new version .

            Alex K added a comment -

            Hi folks, this issue is in the Companion App itself and is not related to the Confluence version. 

            Alex K added a comment - Hi folks, this issue is in the Companion App itself and is not related to the Confluence version. 

            Affects version 7.4.0

            Justin Alex Paramanandan added a comment - Affects version 7.4.0

            Affects Version Confluence v6.15.2

            Prasad Andrews added a comment - Affects Version Confluence v6.15.2

            Issue solved for us after upgrading to Confluence version 7.3.1 on Monday, March 16, 2020.

            VAS - ITSServiceManagement added a comment - Issue solved for us after upgrading to Confluence version 7.3.1 on Monday, March 16, 2020.

            Affecting Confluence 6.13

            Leena Bakshi added a comment - Affecting Confluence 6.13

            avanesch added a comment - - edited

            Affects Version Confluence 7.1.0

            avanesch added a comment - - edited Affects Version Confluence 7.1.0

              aknight@atlassian.com Alex K
              smaran Sattesh M
              Affected customers:
              14 This affects my team
              Watchers:
              22 Start watching this issue

                Created:
                Updated:
                Resolved: