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
Uploading from python connector stopped working #1418
Comments
Hi @Xehos , I think its due to the fact that currently with filter all errors of type "missing reference" in the UI but we should not. So in fact you have 171 messages retried 5 times that fail everytimes. Its for this reason that its really slow to process and you dont see any new data in OCTI. In case of final fail of the retry system, the UI should ne filter this error. We will improve the UI to show this kind of situation as error in the next release. |
Actually, I don't really think that dependencies are my problem, the bundle I'm sending is for example: All dependencies should be handled perfectly and I don't see any problem. I don't really know what should be problem, because I already tried many things (including complete OpenCTI lab reinstall) and nothing worked. I don't really know how it could break itself without my touch. |
Always difficult to mix your problem into a single question / issue. With the first logs and screenshot you send, my explanation make sens. (Missing indicator or ipv4 addr in the relation you try to create) Now for your second message, you can have this kind of message if you cleanup rabbitMQ without cleanup elasticsearch. When connector register themself, they create dedicated queue (rabbit) and references them in opencti (elastic). So if you clean rabbit without cleaning elastic you create inconsistency. To solve that you cleanup everything or :
|
Update Anyway, thank you for help with understanding why the error didn't appear in the UI for the first time! |
Further notice |
Description
After upload Stix2 bundle from my Python connector, upload performs really slowly and nothing appears to be added (worker log attached below). No errors are showed in the OpenCti anyway.
Uploads from other connectors are okay.
Environment
Reproducible Steps
scenario:
Expected Output
Data from Stix2 should be uploaded to the ElasticSearch
Actual Output
Additional information
Uploading from any connector is working properly, but uploading from my python connectors stopped working unexpectedly yesterday.
For sending bundle I use send_stix2_bundle from OpenCTI helper library and api.work.initiate_work for work initiation.
The text was updated successfully, but these errors were encountered: