motioneye-project / motioneye

A web frontend for the motion daemon.
GNU General Public License v3.0
3.93k stars 652 forks source link

Manual IP address (static IP), the displayed date is 1970-01-01 #1291

Open aclemfr opened 5 years ago

aclemfr commented 5 years ago

Hello, I use the version "motionEyeOS 20190427" on raspberry pi zero. By setting a manual IP address (static IP), the displayed date is 1970-01-01 at the location of 2019-05-25. I have 3 cameras with raspberry pi zero. I have the same problem on these 3 cameras. In automatic mode (DHCP) no problem displaying the current date. Cordially.

Bonjour, J'utilise la version "motionEyeOS 20190427" sur raspberry pi zero. En mettant une adresse IP manuel (static IP), la date affiché est 1970-01-01 au lieux de 2019-05-25. j'ai 3 cameras avec raspberry pi zero. j'ai ce même problème sur ces 3 cameras. En mode automatic (DHCP) aucun problème d'affichage de la date actuel. Cordialement.

zagrim commented 5 years ago

Hello. As you say, you are using motionEyeOS, so it might be better to ask this from motionEyeOS site. Anyway, my guess is that you've likely got have an issue with routing and/or firewalls that prohibit traffic to the NTP server from the static IP range you are using, which would be a more generic network configuration issue and not related to this application at all.

dtokez commented 5 years ago

Check your gateway IP, I had the same issue till I checked mine and set it correctly