Open Radzhab opened 6 years ago
This error occurs because elasticsearch container is throwing a virtual memory error.
You must run this command for increment max memory usage, according https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html:
sysctl -w vm.max_map_count=262144
And then start docker containers manually (containers name could vary):
docker start match_elasticsearch -i
docker start match_match -i
I'm going to create a Pull Request setting this config on docker compose file for fix the error. But this is the temporary fix until they approve it.
This error occurs because elasticsearch container is throwing a virtual memory error.
You must run this command for increment max memory usage, according https://www.elastic.co/guide/en/elasticsearch/reference/current/vm-max-map-count.html:
sysctl -w vm.max_map_count=262144
And then start docker containers manually (containers name could vary):
docker start match_elasticsearch -i
docker start match_match -i
I'm going to create a Pull Request setting this config on docker compose file for fix the error. But this is the temporary fix until they approve it.
This is the PR #40
When i post image its raise error
{"status": "fail", "error": ["ConnectionError(<urllib3.connection.HTTPConnection object at 0x7fa5c0f1eac8>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7fa5c0f1eac8>: Failed to establish a new connection: [Errno 111] Connection refused)"], "method": "", "result": []}