wazuh / wazuh-api

Wazuh - RESTful API
https://wazuh.com
GNU General Public License v2.0
69 stars 57 forks source link

foo: timestamp out of range for platform time_t #481

Closed buzzzo closed 4 years ago

buzzzo commented 4 years ago

Hi OS: Centos 7 (virtual appliance)

After upgrading rpm wazuh manager to: wazuh-manager-3.12.0-2.i386 and wazuh-api version is: wazuh-api-3.12.0-1.x86_64

Wazuh kibana app cannot connect anymore to api (gives internal server error)

On api.log I have:

WazuhAPI 2020-03-30 23:40:23 foo: timestamp out of range for platform time_t WazuhAPI 2020-03-30 23:40:23 foo: [::ffff:127.0.0.1] GET /manager/info? - 200 - error: '1000'. WazuhAPI 2020-03-30 23:41:42 foo: timestamp out of range for platform time_t WazuhAPI 2020-03-30 23:41:42 foo: [::ffff:127.0.0.1] GET /manager/info? - 200 - error: '1000'.

buzzzo commented 4 years ago

Maybe i've found the issue:

For some strange reason (maybe misconfigured rpm?) yum update have replaced the wazuh-api-3.12.0-1.x86_64 package with wazuh-manager-3.12.0-2.i386.

Please double check your rpm build process as this can create big issue on people without backups.

Thx

AdriiiPRodri commented 4 years ago

Hi @buzzzo,

That is right. Apparently, there was some type of problem with the 3.12 packages, we apologize for the inconvenience. You can see more information here: https://wazuh.slack.com/archives/C0A933R8E/p1586871869440800

If you have any questions, please do not hesitate to ask. I give you the links to our mailing list and our slack channel as these will help you more quickly.

Best regards, Adrián Peña