-
Notifications
You must be signed in to change notification settings - Fork 634
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
Unable to download Observables after successful upload #1098
Comments
Hello, Do you have more logs? We didn't produce the blog post you have referred to, to install your instance, so we don't know if there is something wrong on it. I would say it's probably a permission issue. |
2019-08-20 09:29:49,942 [INFO] from org.elastic4play.ErrorHandler in application-akka.actor.default-dispatcher-14 - GET /api/datastorezip/cd52d81e25f372e6fa4db2c0dfceb59862c1969cab17096da352b34950c973cc?name=20m.txt returned 500 |
i am able to download some files but not others, maybe there is a size issue? |
Are there Unicode-Charactes in the file name? |
And could you please be more preceise than "observable"? What type of observable? I was guessing you uploaded a file and couldn't download it, but it only was a guess ... |
This is with various files, not with Unicode characters. |
... and you try a third and forth time, and the download is successful? I have seen a similar unsolved issue here ... #1089. Howver, that one has random upload problems ... |
this also occurs on the training vm |
Replace openJDK with the Oracle JVM. I guess this will solve your problem. Would you please report back? This case is interesting. Thank you. |
ill try tomorrow, as this issue is on both the training VM and installing from "apt-get install thehive" both use openjdk |
i have installed the oracle JDK java 12.0.2.2019-07-16 im still unable to download file observables that i have uploaded |
you write
and before you wrote
I will gladly assist you as good as possible, but I need you to be preceise. Can you please clarify if you have the problem always or sometimes. Thank you. To make progress, please install If the download failed, please post the contents of the trace file (/tmp/strace.out) here or somewhere where I can view them. If the download was OK, repeat the sequence start |
### This is the Strace output after a successful upload of a file observable and the download of that observable:
### This is the strace output of a successful upload of a second file observable, that failed when i tried to download it:
|
i notice this error when i add an observable that failes to download.
Is the a list of specific file types that are can be added as an observable? |
Your JVM crashes with a segmentation error. That what the Try upgrading or replacing your JVM with a different kind (openjvm -> Oracle JVM and vice versa, maybe another supplier). @nadouani, @saadkadhi : this is the second time where I see JVMs crashing randomly when it comes to file downloads (#1089 and this case). A JVM crashing with a segmentation fault is clearly a JVM problem, not a thehive issue. But maybe you can work out under which circumstances the JVM crash occures and open a support ticket at OpenJVM? However, I can't do more here. |
This error occurs on the training VM also, im just wondering if the is a limit on the type or size of files you can create as an observable, or should you be able to upload any file? |
Hi I am the guy from #1089 . I am having the same issue. (This JVM Error seems to haunt me.) If I can help resolving this hit me up. |
Request Type
Bug
Work Environment
| TheHive version / git hash | 3.x, hash of the commit
| Package Type | DB
| Browser type & version | chromium/firefox
Problem Description
after following the instruction here:
"https://burnhamforensics.com/2018/12/17/installing-thehive-a-security-ir-platform/"
i was able to successfully build a instance of the HIVE, after creating cases, i am able to upload observable successfully, but when i try to download them i get an error.
error
{"type":"java.nio.file.NoSuchFileException","message":"/tmp/playtemp6864110579205867371/zip79854213664040215108c8ea27f1feddeb76d7a92dbfccf7bf73dcd46cee49763220902f68617922eed"}
The text was updated successfully, but these errors were encountered: