Advertisement
Guest User

Untitled

a guest
Jul 15th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.34 KB | None | 0 0
  1. ---------------------------------------------------------------------------
  2. RemoteDisconnected Traceback (most recent call last)
  3. /usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
  4. 600 body=body, headers=headers,
  5. --> 601 chunked=chunked)
  6. 602
  7.  
  8. /usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
  9. 386 # otherwise it looks like a programming error was the cause.
  10. --> 387 six.raise_from(e, None)
  11. 388 except (SocketTimeout, BaseSSLError, SocketError) as e:
  12.  
  13. /usr/local/lib/python3.6/site-packages/urllib3/packages/six.py in raise_from(value, from_value)
  14.  
  15. /usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
  16. 382 try:
  17. --> 383 httplib_response = conn.getresponse()
  18. 384 except Exception as e:
  19.  
  20. /usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py in getresponse(self)
  21. 1330 try:
  22. -> 1331 response.begin()
  23. 1332 except ConnectionError:
  24.  
  25. /usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py in begin(self)
  26. 296 while True:
  27. --> 297 version, status, reason = self._read_status()
  28. 298 if status != CONTINUE:
  29.  
  30. /usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py in _read_status(self)
  31. 265 # sending a valid response.
  32. --> 266 raise RemoteDisconnected("Remote end closed connection without"
  33. 267 " response")
  34.  
  35. RemoteDisconnected: Remote end closed connection without response
  36.  
  37. During handling of the above exception, another exception occurred:
  38.  
  39. ProtocolError Traceback (most recent call last)
  40. /usr/local/lib/python3.6/site-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
  41. 439 retries=self.max_retries,
  42. --> 440 timeout=timeout
  43. 441 )
  44.  
  45. /usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
  46. 638 retries = retries.increment(method, url, error=e, _pool=self,
  47. --> 639 _stacktrace=sys.exc_info()[2])
  48. 640 retries.sleep()
  49.  
  50. /usr/local/lib/python3.6/site-packages/urllib3/util/retry.py in increment(self, method, url, response, error, _pool, _stacktrace)
  51. 356 if read is False or not self._is_method_retryable(method):
  52. --> 357 raise six.reraise(type(error), error, _stacktrace)
  53. 358 elif read is not None:
  54.  
  55. /usr/local/lib/python3.6/site-packages/urllib3/packages/six.py in reraise(tp, value, tb)
  56. 684 if value.__traceback__ is not tb:
  57. --> 685 raise value.with_traceback(tb)
  58. 686 raise value
  59.  
  60. /usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
  61. 600 body=body, headers=headers,
  62. --> 601 chunked=chunked)
  63. 602
  64.  
  65. /usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
  66. 386 # otherwise it looks like a programming error was the cause.
  67. --> 387 six.raise_from(e, None)
  68. 388 except (SocketTimeout, BaseSSLError, SocketError) as e:
  69.  
  70. /usr/local/lib/python3.6/site-packages/urllib3/packages/six.py in raise_from(value, from_value)
  71.  
  72. /usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py in _make_request(self, conn, method, url, timeout, chunked, **httplib_request_kw)
  73. 382 try:
  74. --> 383 httplib_response = conn.getresponse()
  75. 384 except Exception as e:
  76.  
  77. /usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py in getresponse(self)
  78. 1330 try:
  79. -> 1331 response.begin()
  80. 1332 except ConnectionError:
  81.  
  82. /usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py in begin(self)
  83. 296 while True:
  84. --> 297 version, status, reason = self._read_status()
  85. 298 if status != CONTINUE:
  86.  
  87. /usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/http/client.py in _read_status(self)
  88. 265 # sending a valid response.
  89. --> 266 raise RemoteDisconnected("Remote end closed connection without"
  90. 267 " response")
  91.  
  92. ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
  93.  
  94. During handling of the above exception, another exception occurred:
  95.  
  96. ConnectionError Traceback (most recent call last)
  97. <ipython-input-8-ea543309461d> in <module>()
  98. ----> 1 db_influx.ping()
  99.  
  100. /usr/local/lib/python3.6/site-packages/influxdb/client.py in ping(self)
  101. 491 url="ping",
  102. 492 method='GET',
  103. --> 493 expected_response_code=204
  104. 494 )
  105. 495
  106.  
  107. /usr/local/lib/python3.6/site-packages/influxdb/client.py in request(self, url, method, params, data, expected_response_code, headers)
  108. 265 proxies=self._proxies,
  109. 266 verify=self._verify_ssl,
  110. --> 267 timeout=self._timeout
  111. 268 )
  112. 269 break
  113.  
  114. /usr/local/lib/python3.6/site-packages/requests/sessions.py in request(self, method, url, params, data, headers, cookies, files, auth, timeout, allow_redirects, proxies, hooks, stream, verify, cert, json)
  115. 506 }
  116. 507 send_kwargs.update(settings)
  117. --> 508 resp = self.send(prep, **send_kwargs)
  118. 509
  119. 510 return resp
  120.  
  121. /usr/local/lib/python3.6/site-packages/requests/sessions.py in send(self, request, **kwargs)
  122. 616
  123. 617 # Send the request
  124. --> 618 r = adapter.send(request, **kwargs)
  125. 619
  126. 620 # Total elapsed time of the request (approximately)
  127.  
  128. /usr/local/lib/python3.6/site-packages/requests/adapters.py in send(self, request, stream, timeout, verify, cert, proxies)
  129. 488
  130. 489 except (ProtocolError, socket.error) as err:
  131. --> 490 raise ConnectionError(err, request=request)
  132. 491
  133. 492 except MaxRetryError as e:
  134.  
  135. ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement