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
I see multiple warning notifications in UI (stack of red rectangles in the lower left corner) saying StreamSrv: Unexpected message : StreamNotFound (class services.StreamActor$StreamNotFound$)
and fading away.
EDIT 1: When Elasticsearch index is deleted and TheHive service is reinitialized in docker (removed, recreated) it seems to create the_hive_X without giving any options to provide admin password.
EDIT 2: When TheHive service is reduced down to one replica (one app instance running in the docker swarm) everything seems to work as expected without any change in configuration (just deletion of ES index)
EDIT 3: When left to its own devices, at some point even one instance of TheHive starts to produce receive dead message in the log and show the 504 Gateway Time-out error from Nginx (has nginx/1.13.8 in the body) in the UI (red notification popups).
For those who might face similar problem. I have an answer to the problem of 504 Gateway Time-out.
After dropping Keep-Alive header sporadic gateway time-outs stopped. I also stopped using variables for service port (vars apparently evaluated on each request in nginx and thus, expensive), added some proxy timeout settings and some proxy headers for logging, so nginx config would look like below.
location / {
set $docker_service thehive_internal;
proxy_pass http://$docker_service:9000;
# time out settings
proxy_connect_timeout 159s;
proxy_send_timeout 600;
proxy_read_timeout 600;
proxy_buffer_size 64k;
proxy_buffers 16 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
proxy_http_version 1.1; # needed for Play Framework chunked responses to function
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
I still get StreamNotFound error when scale TheHive service to more than one worker.
If you want to setup TheHive in cluster, you must wait version 3.1 (including the patch 21590aa) and add some configuration. You can find here some documentation.
Request Type
Bug?
Work Environment
Problem Description
I see multiple warning notifications in UI (stack of red rectangles in the lower left corner) saying
StreamSrv: Unexpected message : StreamNotFound (class services.StreamActor$StreamNotFound$)
and fading away.
EDIT 1: When Elasticsearch index is deleted and TheHive service is reinitialized in docker (removed, recreated) it seems to create the_hive_X without giving any options to provide admin password.
EDIT 2: When TheHive service is reduced down to one replica (one app instance running in the docker swarm) everything seems to work as expected without any change in configuration (just deletion of ES index)
EDIT 3: When left to its own devices, at some point even one instance of TheHive starts to produce
receive dead message
in the log and show the504 Gateway Time-out
error from Nginx (has nginx/1.13.8 in the body) in the UI (red notification popups).Full log could be viewed here
Steps to Reproduce
Complementary information
TheHive config
Nginx config
The text was updated successfully, but these errors were encountered: