Check Wazuh API connection & Version Error...

1,312 views
Skip to first unread message

siddha...@gmail.com

unread,
Jul 1, 2021, 6:32:31 AM7/1/21
to Wazuh mailing list
Dear Team,

Dear Team,

I'm using wazuh 4.1 and my OS is Ubuntu 20.04 
i installed wazuh all in one with unattended deployment also i have installed agents on windows machine yesterday but today when i am login kibana its showing Check Wazuh API connection & Version error.

Health Check. [request body.id]: expected value of type [string] but got [undefined]

please suggest.

Gabriel Wassan

unread,
Jul 2, 2021, 8:55:10 AM7/2/21
to Wazuh mailing list
Hi Siddharth, 
In order to help you, could you check if all the services are running? You can check this with the following commands:
# systemctl status wazuh-manager

And if it possible could you send me the logs of wazuh: 
/usr/share/kibana/data/wazuh/logs/wazuhapp.log

Best!



siddharth jha

unread,
Jul 2, 2021, 9:41:23 AM7/2/21
to Gabriel Wassan, Wazuh mailing list
Hi Gabriel,
Thanks for your reply.
yes i checked all the services are running and i try to restart by /var/ossec/bin/ossec-control restart this cmd after that the error is not showing and i can access the kibana web interface. could you please suggest something on this?
i have also attached wazuapp.log , kindly check and suggest.




--
You received this message because you are subscribed to a topic in the Google Groups "Wazuh mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/wazuh/KLUlXaKm77o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/697eaeb2-ba20-426c-be9e-4fc5cc51e4b4n%40googlegroups.com.
wazuhapp.log

Gabriel Wassan

unread,
Jul 2, 2021, 12:21:12 PM7/2/21
to Wazuh mailing list
It is possible that you have incorrectly configured the API IP, you can verify it from this section or this file /usr/share/kibana/data/wazuh/config/wazuh.yml

setting-api.png

siddharth jha

unread,
Jul 3, 2021, 5:03:31 AM7/3/21
to Gabriel Wassan, Wazuh mailing list
Hi Gabriel,

Thanks for your support.
No, I have not changed any configuration. 
please check i have also attached a snap.

You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/1b5cb82e-b078-4b12-b8d3-02c46ab6b7c0n%40googlegroups.com.
wazuhAPI.JPG

Gabriel Wassan

unread,
Jul 5, 2021, 11:41:22 AM7/5/21
to Wazuh mailing list
Hi siddharth,
It is possible that you will send me some screenshots of the error that it shows you by opening the Console tab of your browser (F12) and also another screenshot of the Networking tab selecting where it shows the errors, in this way I could get better information to help you.
I attach an example screenshot:
Greetings!

consoleBrowser.png

siddharth jha

unread,
Jul 19, 2021, 9:17:46 AM7/19/21
to Gabriel Wassan, Wazuh mailing list
Hello Gabriel,

sorry for the late reply and thank you very much for your kind support.
I am not getting that error now as i told you earlier after restarting the the services i was not getting that error again.



Gabriel Wassan

unread,
Jul 19, 2021, 10:05:01 AM7/19/21
to Wazuh mailing list
I'm glad I could help you, if everything is resolved I'll close the Issue.
If you have any further questions, please do not hesitate to reopen the Issue or use our [slack channel](https://wazuh.com/community/join-us-on-slack/), our [Google group](https://groups.google.com/forum/#!forum/wazuh)
Regards !!
Reply all
Reply to author
Forward
0 new messages