Traceback (most recent call last):
File "/usr/local/lib/python3.4/site-packages/flask/app.py", line 1836, in __call__
return self.wsgi_app(environ, start_response)
File "/usr/local/lib/python3.4/site-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/local/lib/python3.4/site-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/usr/local/lib/python3.4/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.4/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.4/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/local/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise
raise value
File "/usr/local/lib/python3.4/site-packages/flask/app.py", line 1475, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.4/site-packages/flask_debugtoolbar/__init__.py", line 125, in dispatch_request
return view_func(**req.view_args)
File "/usr/local/lib/python3.4/site-packages/flask_admin/base.py", line 68, in inner
return self._run_view(f, *args, **kwargs)
File "/usr/local/lib/python3.4/site-packages/flask_admin/base.py", line 359, in _run_view
return fn(self, *args, **kwargs)
File "/usr/local/lib/python3.4/site-packages/flask_admin/model/base.py", line 1656, in create_view
model = self.create_model(form)
File "/usr/local/lib/python3.4/site-packages/flask_admin/contrib/mongoengine/view.py", line 537, in create_model
if not self.handle_view_exception(ex):
File "/usr/local/lib/python3.4/site-packages/flask_admin/contrib/mongoengine/view.py", line 533, in create_model
form.populate_obj(model)
File "/usr/local/lib/python3.4/site-packages/wtforms/form.py", line 96, in populate_obj
field.populate_obj(obj, name)
File "/usr/local/lib/python3.4/site-packages/flask_admin/model/fields.py", line 92, in populate_obj
field.populate_obj(fake_obj, 'data')
File "/usr/local/lib/python3.4/site-packages/libthumbor/flask/views.py", line 64, in populate_obj
self.upload_img(obj, name)
File "/usr/local/lib/python3.4/site-packages/libthumbor/flask/views.py", line 78, in upload_img
response = requests.post(endpoint, files=files)
File "/usr/local/lib/python3.4/site-packages/requests/api.py", line 109, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/local/lib/python3.4/site-packages/requests/api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.4/site-packages/requests/sessions.py", line 465, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.4/site-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.4/site-packages/requests/adapters.py", line 415, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', TimeoutError(110, 'Connection timed out'))
user@srv...:~/$ curl --request GET 'thumbor.sitename.com/unsafe/672x720/smart/test.org...'
????JFIF??C ..... дальше идет ответ
С лэптопа тоже самое.
Внутри docker контейнера
/ # curl --request GET 'thumbor.sitename.com/unsafe/672x720/smart/test.org...'
curl: (7) Failed to connect to thumbor.sitename.com port 80: Operation timed out