Post Install Network Challenges

CloudLong

Cadet
Joined
Jun 14, 2023
Messages
1
Error: System Settings - Update - Initial Error

ClientConnectorCertificateError​

TrueNAS was unable to reach update servers.
Error: System Settings - Update - Later Error
Cannot connect to host update.ixsystems.com:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1123)')]: Automatic update check failed. Please check system network settings.
Error - Dashboard - Network
The reporting database is broken

Current Network Setup
  1. 10 to 60 Mbps ISP Cable
  2. Modem
  3. Home WiFi Main
  4. Ethernet to WiFi Adapter
  5. Managed Switch (TP-SG108E)
  6. This Device
Network Availability on Everything else:

TypeOperating SystemAvailability
DesktopWindows 10It is connected over Ethernet to Truenas.com for this forum.
LaptopWindows 10It can connect to Google.
NASTrueNASIt issues errors. I can ping 8.8.8.8. I can't update. I can't get the catalog.

1686804969728.png

For reasons I don't know it is set to the wrong date. I assume this breaks SSL Encryption. It would explain why my other networked devices are working.

Here are my NTP servers:
1686805189416.png



My Theory on what went wrong:
Update requires SSL requires accurate time.
I don't know how to fix this.
It could be something else.

Thanks for the help,
CloudLong

Me to ChatGPT:
What is the command to synchronize TrueNAS system time with a reliable time server?

Response:
To synchronize the system time on a TrueNAS system with a reliable time server, you can use the following command:
shell
sudo ntpdate -u <time_server>

Replace <time_server> with the address of a reliable NTP (Network Time Protocol) server. You can choose a suitable time server based on your location and preferences. Here are a few examples of reliable time servers:

  • time.google.com
  • pool.ntp.org
Make sure you have administrative privileges or use sudo to execute the command. After running the command, it will initiate the synchronization process and update the system time with the time server's information.

Note that the ntpdate command is commonly available on most Unix-like systems, including TrueNAS, but it may not be installed by default. If the command is not found, you can install it using the package manager specific to your TrueNAS distribution.

Problem: Command not found

Now what? Manual update with file?

I rebooted after an update. My time is off again.

The good news is I found the problem: Wrong date throws off SSL which causes everything to complain.
1686808197916.png
 

Attachments

  • 1686805270715.png
    1686805270715.png
    30.7 KB · Views: 134

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Mod note: Merged three individual posts, so the text looks a little crazy.

Me to ChatGPT:

Response:
Why did you think that was a good idea? What's wrong with using a search engine and getting your answer more quickly and with better results? ntpdate has been obsolete for over a decade on all relevant Unix and Unix-adjacent systems, so yet again ChatGPT confidently blurts out nonsense.

Generally speaking, if you have a time sync issue, you'll want to:
  • Make sure the system clock is set to UTC and generally aligned with UTC (to within a minute or two ideally)
  • Make sure you can reach the NTP servers in use
  • On TrueNAS, ntpd shouldn't be stopped, but it won't hurt to double check.
 
Top