You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The MISP_2_1 analyzer (using the ghcr.io/thehive-project/misp:2 Docker image, which internally uses Python 3.13.3 and PyMISP 2.5.10) consistently fails when run.
The job report in the Cortex UI shows "input": null and a FutureWarning related to pymisp usage: /usr/local/lib/python3.13/site-packages/pymisp/__init__.py:67: FutureWarning: This class is deprecated, use PyMISP instead...
The backend Cortex logs (docker logs final_cortex.local_1) indicate that "[warn] o.t.c.s.DockerJobRunnerSrv - The worker didn't generate output file."
This occurs even when correctly selecting the Data Type (e.g., "ip") and providing valid input (e.g., "8.8.8.8") in the UI.
The Docker host machine running the Cortex container is also using Python 3.13.x.
To Reproduce
Steps to reproduce the behavior:
Ensure Cortex and its dependencies (including the ghcr.io/thehive-project/misp:2 analyzer image) are running in a Docker environment.
Navigate to the "Analyzers" page in the Cortex UI.
Select the MISP_2_1 analyzer.
Click the "Run analysis" button (play icon).
In the "Run analysis" dialog:
a. Set TLP (e.g., AMBER).
b. Set PAP (e.g., AMBER).
c. Select Data Type: ip.
d. Enter Data: 8.8.8.8.
Click "Start".
Observe the job in "Jobs History" shows "Failure".
View the job report, which shows "input": null and the FutureWarning.
Expected behavior
The MISP_2_1 analyzer should:
Successfully receive the input observable (e.g., 8.8.8.8).
Query the configured MISP instance.
Generate an output report file.
Show a "Success" status in the Cortex "Jobs History" with a meaningful report (e.g., "No results found" or details of MISP events if the IP is present).
Complementary information
UI Job Report Screenshot (showing input: null and FutureWarning): [Link to your screenshot if you can upload it somewhere, or describe it as previously provided] You can describe: "As seen in previous screenshots, the job report JSON contains \"input\": null and the FutureWarning..."
Relevant Docker logs from final_cortex.local_1:
[info] o.t.c.s.JobSrv - Looking for similar job in the last 10 minutes (worker=a9f0dc192a18876bb0abe99677334132, dataType=ip, data=Left(8.8.8.8), tlp=2, parameters={})
...
[info] o.t.c.s.DockerJobRunnerSrv - Execute container f8e0f858533fcf96dd64d375b4ae28e80ace0bd3882cf2f542b0eaae43ac7c73
timeout: 30 minutes
image : ghcr.io/thehive-project/misp:2
volume : /tmp/cortex-jobs/cortex-job-s9c37JYBBAXVpzhgnmTo-11309280436449689568:/job
...
[warn] o.t.c.s.DockerJobRunnerSrv - The worker didn't generate output file.
[info] o.t.c.s.JobSrv - Job s9c37JYBBAXVpzhgnmTo has finished with status Failure
Python and PyMISP versions inside ghcr.io/thehive-project/misp:2 Docker image:(If you managed to get these, add them here. E.g., "Python version inside image: 3.x.x", "PyMISP version inside image: y.y.y")This is very valuable if you can get it.
Hello @phub1123, there's a possibility this was incompatibility between python version 3.13 and PyMISP <=2.5.12. I've rebuilt the image with latest 2.5.12 which may fix those issues.
Feel free to let me know if that fixed it, I'll try testing it later on.
Describe the bug
The MISP_2_1 analyzer (using the
ghcr.io/thehive-project/misp:2
Docker image, which internally uses Python 3.13.3 and PyMISP 2.5.10) consistently fails when run.The job report in the Cortex UI shows
"input": null
and aFutureWarning
related topymisp
usage:/usr/local/lib/python3.13/site-packages/pymisp/__init__.py:67: FutureWarning: This class is deprecated, use PyMISP instead...
The backend Cortex logs (
docker logs final_cortex.local_1
) indicate that "[warn] o.t.c.s.DockerJobRunnerSrv - The worker didn't generate output file."This occurs even when correctly selecting the Data Type (e.g., "ip") and providing valid input (e.g., "8.8.8.8") in the UI.
The Docker host machine running the Cortex container is also using Python 3.13.x.
To Reproduce
Steps to reproduce the behavior:
ghcr.io/thehive-project/misp:2
analyzer image) are running in a Docker environment.MISP_2_1
analyzer.a. Set TLP (e.g., AMBER).
b. Set PAP (e.g., AMBER).
c. Select Data Type:
ip
.d. Enter Data:
8.8.8.8
."input": null
and theFutureWarning
.Expected behavior
The
MISP_2_1
analyzer should:8.8.8.8
).Complementary information
input: null
andFutureWarning
): [Link to your screenshot if you can upload it somewhere, or describe it as previously provided] You can describe: "As seen in previous screenshots, the job report JSON contains\"input\": null
and theFutureWarning
..."final_cortex.local_1
:ghcr.io/thehive-project/misp:2
Docker image: (If you managed to get these, add them here. E.g., "Python version inside image: 3.x.x", "PyMISP version inside image: y.y.y") This is very valuable if you can get it.Work environment
soc-Veriton-S2690G-D22E2
]3.1.8-1
(from UI screenshot)MISP
2.1
(from UI list of analyzers)thehiveproject/cortex:latest
(Container namefinal_cortex.local_1
)ghcr.io/thehive-project/misp:2
ghcr.io/thehive-project/misp:2
Docker image:3.13.3
2.5.10
The text was updated successfully, but these errors were encountered: