When I installed the Metron Alerts UI on my 0.4.0 install, I could log
in with the Metron Management UI user.
I upgraded to 0.4.1, did the same as mentioned on
https://github.com/apache/metron/tree/apache-metron-0.4.1-release/metron-interface/metron-alerts#installing-on-an-existing-cluster,
but for some reason the user that works on my management UI doesn't work
for the Alerts UI. I get a 500 Internal Server error back in the Chrome
console.
This is what I see via CLI on the host where I want to run the UI:
[root@metron1 ~]# /usr/metron/0.4.1/bin/start_alerts_ui.sh -p 4201 -r
metron1:8082
[HPM] Proxy created: / -> metron1:8082
[HPM] Proxy rewrite rule created: "^/search" ~> ""
[HPM] Proxy created: / -> metron1:8082
Metron alerts ui is listening on
http://127.0.0.1:4201
http://10.0.0.11:4201
http://172.17.42.1:4201
http://10.0.0.100:4201
[HPM] Error occurred while trying to proxy request /api/v1/user from
localhost:4201 to metron1:8082 (EINVAL)
(https://nodejs.org/api/errors.html#errors_common_system_errors)
[HPM] Error occurred while trying to proxy request /api/v1/user from
localhost:4201 to metron1:8082 (EINVAL)
(https://nodejs.org/api/errors.html#errors_common_system_errors)
[HPM] Error occurred while trying to proxy request /api/v1/user from
localhost:4201 to metron1:8082 (EINVAL)
(https://nodejs.org/api/errors.html#errors_common_system_errors)
^C[root@metron1 ~]#
Those errors happen when I try to log on.
Changing 'metron1' to the ip address doesn't resolve the issue.
Any idea on how I can generate extra logs to troubleshoot this?