Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] #357

Open
himuura opened this issue Oct 16, 2024 · 0 comments
Open

[BUG] #357

himuura opened this issue Oct 16, 2024 · 0 comments

Comments

@himuura
Copy link

himuura commented Oct 16, 2024

Describe the bug

Endpoint Summary -> (select the endpoint) -> On the MITRE ATT&CK mini-dashboard select one -> Resolves to "Something went wrong". (Internal Server Error)

To Reproduce
Steps to reproduce the behavior:

Endpoint Summary -> (select the endpoint) -> On the MITRE ATT&CK mini-dashboard select one -> Resolves to "Something went wrong". (Internal Server Error)
Happened after migrating from 4.8.0 to 4.9.0

Expected behavior
Should open the MITTRE ATT&CK dashboard and that doesn't happen. It i use the separator MITRE ATT&CK on the top, it shows fine.

OpenSearch Version
Opensearch that ships with wazuh 4.9.0-2

Dashboards Version
Default dash that ships with 4.9.0-2.

Plugins

Nothing

Screenshots

image
image

Host/Environment (please complete the following information):

  • OS:
    NAME="Ubuntu"
    VERSION_ID="22.04"
    VERSION="22.04.5 LTS (Jammy Jellyfish)" ---> Wazuh Server
  • Browser and version [e.g. 22]
    Any browser.

Additional context

Oct 11 16:50:18 srv-wazuh opensearch-dashboards[702]: {"type":"error","@timestamp":"2024-10-11T15:50:18Z","tags":[],"pid":702,"level":"error","error":{"message":"Internal Server Error",
"name":"Error","stack":"Error: Internal Server Error\n at HapiResponseAdapter.toError (/usr/share/wazuh-dashboard/src/core/server/http/router/response_adapter.js:127:19)\n at Hapi
ResponseAdapter.toHapiResponse (/usr/share/wazuh-dashboard/src/core/server/http/router/response_adapter.js:83:19)\n at HapiResponseAdapter.handle (/usr/share/wazuh-dashboard/src/core
/server/http/router/response_adapter.js:79:17)\n at Router.handle (/usr/share/wazuh-dashboard/src/core/server/http/router/router.js:175:34)\n at processTicksAndRejections (node:in
ternal/process/task_queues:95:5)\n at handler (/usr/share/wazuh-dashboard/src/core/server/http/router/router.js:140:50)\n at exports.Manager.execute (/usr/share/wazuh-dashboard/no
de_modules/@hapi/hapi/lib/toolkit.js:60:28)\n at Object.internals.handler (/usr/share/wazuh-dashboard/node_modules/@hapi/hapi/lib/handler.js:46:20)\n at exports.execute (/usr/shar
e/wazuh-dashboard/node_modules/@hapi/hapi/lib/handler.js:31:20)\n at Request._lifecycle (/usr/share/wazuh-dashboard/node_modules/@hapi/hapi/lib/request.js:371:32)\n at Request._ex
ecute (/usr/share/wazuh-dashboard/node_modules/@hapi/hapi/lib/request.js:281:9)"},"url":"https://MY_IP_ADDRESS/utils/logs/ui","message":"Internal Server Error"}
Oct 11 16:50:18 srv-wazuh opensearch-dashboards[702]: {"type":"response","@timestamp":"2024-10-11T15:50:18Z","tags":[],"pid":702,"method":"post","statusCode":500,"req":{"url":"/utils/lo
gs/ui","method":"post","headers":{"host":"MY_IP_ADDRESS","connection":"keep-alive","content-length":"1086","sec-ch-ua-platform":""Windows"","sec-ch-ua":""Google Chrome";v="129",
"Not=A?Brand";v="8", "Chromium";v="129"","sec-ch-ua-mobile":"?0","id":"default","user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chr
ome/129.0.0.0 Safari/537.36","accept":"application/json, text/plain, /","content-type":"application/json","pattern":"wazuh-alerts-*","osd-xsrf":"kibana","origin":"https://MY_IP_ADDRES
S","sec-fetch-site":"same-origin","sec-fetch-mode":"cors","sec-fetch-dest":"empty","referer":"https://MY_IP_ADDRESS/app/endpoints-summary","accept-encoding":"gzip, deflate, br, zstd","a
ccept-language":"pt-PT,pt;q=0.9,en-US;q=0.8,en;q=0.7"},"remoteAddress":"REMOTE_ACCESS_IP_ADDRESS","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrom
e/129.0.0.0 Safari/537.36","referer":"https://MY_IP_ADDRESS/app/endpoints-summary"},"res":{"statusCode":500,"responseTime":14,"contentLength":9},"message":"POST /utils/logs/ui 500 14ms
9.0B"}

NOTE: I changed my ip's to MY_IP_ADDRESS for the server and REMOTE_IP_ADDRESS to the computer accessing the dashboards page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant