0

Axiom TimeZone

Hello,

I'm testing Canary Backup Process (communicated about this with canary support team).

This is what I usually see on Axiom tile.

 

But after I conducted backup and restore process on a testing server,

the timezone section is N/A and message tile says timezonestring info cannot be null.

and probably due to this error, my login attempt to Axiom page fails (https://localhost)

 

I'm using a VM for testing and if I execute Get-timezone it's set to UTC by default.

But it still says N/A for Timezone.

May I ask where this timezone info is coming from?

 

For backing up, I copied and pasted folders and files from the paths below. 

Program Data / Canary

Program Files / Canary

4 replies

null
    • smason
    • 1 mth ago
    • Reported - view

     Axiom defaults to using the local timezone of the client's machine. Now, you can override this timezone setting through Preferences when you click your username in the top-right corner of Axiom. If you do this, Axiom will create a Preferences.AxiomPrf2 file. This is stored in ProgramData\Canary\Axiom\Files\[user].

      • Software Developer | System Integrator
      • tedkdj88
      • 1 mth ago
      • Reported - view

       

      Hello Steve,

      I was not even able to reach the screen where I could click preferences, 

      as I entered username, password and waited for a min, to see an error message.

      after I get the error message, if I go to Messages Tile, it says Timezonestring Info cannot be null.

      I debugged and resolved last night.

      My local timezone(VM) was already set to UTC, but Canary was not recognizing it, thinking it might be a mapping issue.

      I checked what was inside the axiom.postload.min.js.

      There was "Etc/UTC":"UTC" for mapping of 'TimeZoneWindows',

      but there was no "UTC":"UTC", so I added that, which resolved the issue.

       

      Please confirm this is safe to be used, although I was only using in for a testing VM.

      Thanks.

      • smason
      • 1 mth ago
      • Reported - view

       It's difficult to say for certain. The browser uses one format for timezones. Some standard. But C# has its own Windows standard. So, we can't just pass the browser timezone to the server. We need to use a mapping to translate the browser timezone to a Windows timezone.

      Not really sure how you got a browser timezone that didn't map, but it appears Etc/UTC is not supported.

    • smason
    • 3 hrs ago
    • Reported - view

    Hi  ,

    Wanted to add another note. Not sure which version you are running, but we fixed an Axiom bug concerning UTC in v26.0. Servers that were set to use UTC were causing the U/I to break in Axiom. This may resolve what you were seeing.
    https://helpcenter.canarylabs.com/t/g9yp4c5/release-v26-0#:~:text=Using%20UTC%20time%20zone%20breaks%20UI

Content aside

print this pagePrint this page
  • 3 hrs agoLast active
  • 4Replies
  • 71Views
  • 3 Following