Skip to content
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

submit a task after report error on terminal #11

Open
tonyjia87 opened this issue Jun 17, 2018 · 0 comments
Open

submit a task after report error on terminal #11

tonyjia87 opened this issue Jun 17, 2018 · 0 comments

Comments

@tonyjia87
Copy link

点击发布后出现错误代码:

worker_1   | [2018-06-17 10:26:18,916: WARNING/Worker-1] POST http://es:9200/tars-2018-06-11/controller [status:N/A request:3.059s]
worker_1   | Traceback (most recent call last):
worker_1   |   File "/usr/local/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 166, in perform_request
worker_1   |     response = self.pool.urlopen(method, url, body, retries=False, headers=request_headers, **kw)
worker_1   |   File "/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 639, in urlopen
worker_1   |     _stacktrace=sys.exc_info()[2])
worker_1   |   File "/usr/local/lib/python2.7/site-packages/urllib3/util/retry.py", line 333, in increment
worker_1   |     raise six.reraise(type(error), error, _stacktrace)
worker_1   |   File "/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 601, in urlopen
worker_1   |     chunked=chunked)
worker_1   |   File "/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 357, in _make_request
worker_1   |     conn.request(method, url, **httplib_request_kw)
worker_1   |   File "/usr/local/lib/python2.7/httplib.py", line 1042, in request
worker_1   |     self._send_request(method, url, body, headers)
worker_1   |   File "/usr/local/lib/python2.7/httplib.py", line 1082, in _send_request
worker_1   |     self.endheaders(body)
worker_1   |   File "/usr/local/lib/python2.7/httplib.py", line 1038, in endheaders
worker_1   |     self._send_output(message_body)
worker_1   |   File "/usr/local/lib/python2.7/httplib.py", line 882, in _send_output
worker_1   |     self.send(msg)
worker_1   |   File "/usr/local/lib/python2.7/httplib.py", line 844, in send
worker_1   |     self.connect()
worker_1   |   File "/usr/local/lib/python2.7/site-packages/urllib3/connection.py", line 166, in connect
worker_1   |     conn = self._new_conn()
worker_1   |   File "/usr/local/lib/python2.7/site-packages/urllib3/connection.py", line 150, in _new_conn
worker_1   |     self, "Failed to establish a new connection: %s" % e)
worker_1   | NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fd319c37850>: Failed to establish a new connection: [Errno 113] No route to host
web_1      | WARNING:elasticsearch:POST http://es:9200/tars-2018-06-11/controller [status:N/A request:3.063s]
web_1      | Traceback (most recent call last):
web_1      |   File "/usr/local/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 166, in perform_request
web_1      |     response = self.pool.urlopen(method, url, body, retries=False, headers=request_headers, **kw)
web_1      |   File "/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 639, in urlopen
web_1      |     _stacktrace=sys.exc_info()[2])
web_1      |   File "/usr/local/lib/python2.7/site-packages/urllib3/util/retry.py", line 333, in increment
web_1      |     raise six.reraise(type(error), error, _stacktrace)
web_1      |   File "/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 601, in urlopen
web_1      |     chunked=chunked)
web_1      |   File "/usr/local/lib/python2.7/site-packages/urllib3/connectionpool.py", line 357, in _make_request
web_1      |     conn.request(method, url, **httplib_request_kw)
web_1      |   File "/usr/local/lib/python2.7/httplib.py", line 1042, in request
web_1      |     self._send_request(method, url, body, headers)
web_1      |   File "/usr/local/lib/python2.7/httplib.py", line 1082, in _send_request
web_1      |     self.endheaders(body)
web_1      |   File "/usr/local/lib/python2.7/httplib.py", line 1038, in endheaders
web_1      |     self._send_output(message_body)
web_1      |   File "/usr/local/lib/python2.7/httplib.py", line 882, in _send_output
web_1      |     self.send(msg)
web_1      |   File "/usr/local/lib/python2.7/httplib.py", line 844, in send
web_1      |     self.connect()
web_1      |   File "/usr/local/lib/python2.7/site-packages/urllib3/connection.py", line 166, in connect
web_1      |     conn = self._new_conn()
web_1      |   File "/usr/local/lib/python2.7/site-packages/urllib3/connection.py", line 150, in _new_conn
web_1      |     self, "Failed to establish a new connection: %s" % e)
web_1      | NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f86081f71d0>: Failed to establish a new connection: [Errno 113] No route to host
web_1      | [17/Jun/2018 10:26:20]"GET /api/v1/applications/1?_method=GET HTTP/1.1" 200 473
web_1      | [17/Jun/2018 10:26:20]"GET /api/v1/applications?app_id=1&page=1&page_size=10&_method=GET HTTP/1.1" 200 515
web_1      | [17/Jun/2018 10:26:20]"GET /api/v1/groups/1?_method=GET HTTP/1.1" 200 575
web_1      |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant