iris-web icon indicating copy to clipboard operation
iris-web copied to clipboard

[BUG] Cortex Module Integration - IRISwebapp is unavailable - sleeping

Open Noones47 opened this issue 1 year ago • 2 comments

Describe the bug After running the buildnpush script the Iris web app starts sleeping and giving a nginx error. I figured out that this only happens after i restart the webapp, if i only restart the worker i can go to the GUI and the Module will be there, but if i either restart the docker or the webapp i will have to prune everything back.

To Reproduce Steps to reproduce the behavior:

  1. Run ./buildnpush2iris.sh in the Cortex Analyzer for IRIS tutorial
  2. Check the GUI, will give the NGINX error there

Expected behavior It was supposed to add the module and keep running clear.

Screenshots image

Docker Logs: image

Desktop (please complete the following information):

  • OS: Windows 10
  • Chrome
  • Version 2.4.7

Additional context This problem can happen with other modules how are we suppose to add modules if this happens???

Noones47 avatar Jul 09 '24 12:07 Noones47

I am also facing the same issue... the nginx container goes unhealthy and if I just push the module to the worker ... the GUI opens but still I cant validate the module.

OS: ubuntu 22.04 Version: 2.4.10

SaubhagyaDeep avatar Jul 29 '24 11:07 SaubhagyaDeep

I am also facing the same issue... the nginx container goes unhealthy and if I just push the module to the worker ... the GUI opens but still I cant validate the module.

OS: ubuntu 22.04 Version: 2.4.10

Yeah, the pseudo fix that i found is to put the Cortex module in the IRIS build folder and build the IRIS with the module already .

Noones47 avatar Jul 30 '24 09:07 Noones47

If the worker goes to sleep it means the webApp isn't up. You can check the logs of the webapp to understand why the App crashes. I'll close this issue for now, at it is more related to the third party cortex module: https://github.com/socfortress/iris-cortexanalyzer-module

whikernel avatar Sep 24 '24 14:09 whikernel

Même problème, y a-t-il une solution ?

Skan24 avatar Mar 12 '25 08:03 Skan24