Bonjour,
bizzard, toujours le problème de timeout et ne peux le changer de plus 10, je pense que ça va faire pareil.
Traceback (most recent call last):
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask/app.py", line 1997, in __call__
return self.wsgi_app(environ, start_response)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask/app.py", line 1985, in wsgi_app
response = self.handle_exception(e)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask_restful/__init__.py", line 273, in error_router
return original_handler(e)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask/app.py", line 1540, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask/_compat.py", line 32, in reraise
raise value.with_traceback(tb)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask_restful/__init__.py", line 273, in error_router
return original_handler(e)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask/_compat.py", line 32, in reraise
raise value.with_traceback(tb)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask_restful/__init__.py", line 480, in wrapper
resp = resource(*args, **kwargs)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask/views.py", line 84, in view
return self.dispatch_request(*args, **kwargs)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/flask_restful/__init__.py", line 595, in dispatch_request
resp = meth(*args, **kwargs)
File "/home/myhome/app_name/app_name/app_name/serializer/__init__.py", line 13, in wrapper
resp = f(*args, **kwargs)
File "/home/myhome/app_name/app_name/app_name/decorators.py", line 24, in wrapper
return f(*args, **kwargs)
File "/home/myhome/app_name/app_name/app_name/interfaces/filters.py", line 36, in get
resp = current_elasticsearch.regions()
File "/home/myhome/app_name/app_name/app_name/search/elastic_search.py", line 41, in regions
resp_count = self.client.count(index="region")
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/elasticsearch/client/utils.py", line 76, in _wrapped
return func(*args, params=params, **kwargs)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/elasticsearch/client/__init__.py", line 1088, in count
doc_type, '_count'), params=params, body=body)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/elasticsearch/transport.py", line 314, in perform_request
status, headers_response, data = connection.perform_request(method, url, params, body, headers=headers, ignore=ignore, timeout=timeout)
File "/home/myhome/app_name/venv/lib/python3.5/site-packages/elasticsearch/connection/http_urllib3.py", line 157, in perform_request
raise ConnectionTimeout('TIMEOUT', str(e), e)
elasticsearch.exceptions.ConnectionTimeout: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host='xx.xxx.xxx.xx', port=9200): Read timed out. (read timeout=10))