-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
OpenCTI #36
Comments
my bad.. figured out the API key and entered the details in the app. Ran a search for an observable available in OpenCTI but its been analysing forever. Not sure what the problem is. |
Hello @dial647s which value did you put for Is there any error in the logs? |
oops. figured out the issue. The app was trying to reach OpenCTI over the internet. Changed that to private IP and now the response is snappy. However, I only see the searched telemetry in the results page. Will it pull context and display as well? |
@dial647s the OpenCTI connector tries to retrieve data and if it finds something, it gives the link, the score of the latest IoC and so on. But if nothing is found, you won't have much. For example (on Cyberbro demo): when I'm looking for 1.1.1.1 I won't find related indicators, however I will get the stats of entities: But if I'm looking for a real (and existing) indicator, I will have the following: |
Thank you mate. Its working fine now. Issue was with the DNS entry. BTW, I quite often get "Internal server error" when running a search however it resolves upon hitting refresh once or twice. Anyway to overcome this error? |
Do you have a reverse proxy? You can follow the steps here https://github.com/stanfrbd/cyberbro/wiki/4.-Advanced-options-in-secrets.json to change the number of threads (1) and workers (1) and rebuild the image after ( |
No reverse proxy. I am running this on my AWS EC2 instance.. running Amazon Linux 2023, t3.xlarge with 16gb memory. Let me try the changes recommended in that doc and get back. |
well, still getting internet server error after making the change and re-initialising the container as you suggested. Lets see. |
Hum what do the logs say? Connect to the container
and
|
==> /var/log/cyberbro/cyberbro.err.log <== ==> /var/log/cyberbro/cyberbro.out.log <== ==> /var/log/cyberbro/cyberbro.err.log <== |
==> /var/log/cyberbro/cyberbro.err.log <== ==> /var/log/cyberbro/cyberbro.out.log <== ==> /var/log/cyberbro/cyberbro.err.log <== |
It seems there is an issue with gunicorn, is secrets.json present in the directory? I suggest you to stop the container, then start it again (with a previous |
Yes, secrets.json in the same folder.. it works with a refresh. [2025-02-06 20:39:56 +0000] [46] [INFO] Booting worker with pid: 46 |
I think it may be about the IP direct access without reverse proxy, I think that Can you try to add a reverse proxy like You can just do the command reverse proxy to |
Thanks, I'll give it a go and see if it works. Will keep you posted. |
It seems the problem happens often with the timeout https://stackoverflow.com/questions/10855197/gunicorn-how-to-resolve-worker-timeout This link references it, we must add a timeout of 120 for cloud stuff I guess. I suggest you edit the file Then you can redeploy your container. Let me know if it helps! |
@dial647s I released v0.4.0 with default 120 timeout, update and tell me if it changes something. |
@stanfrbd - deployed the new version.. works like a charm.. thank you. "supervisord_workers_count": 1, |
@dial647s you can keep these settings if you are a single user :) Actually the 120 did not apply properly so I changed the timeout explicitely, you can update again if you have still issues. |
I have a local OpenCTI deployment and which is authenticated using username/password. Is it possible to user password based auth instead of API?
The text was updated successfully, but these errors were encountered: