Skip to content

Instantly share code, notes, and snippets.

@rohansb
Created April 6, 2017 18:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rohansb/07c642e20e653e0ecc29d411d3a6af62 to your computer and use it in GitHub Desktop.
Save rohansb/07c642e20e653e0ecc29d411d3a6af62 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "telescope/backend/telescope_api/async_helpers/http_requests_bug_file.py", line 178, in <module>
job1.run_job()
File "telescope/backend/telescope_api/async_helpers/http_requests_bug_file.py", line 133, in run_job
io_event_loop.run_until_complete(future=self.process_job_response())
File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/base_events.py", line 387, in run_until_complete
return future.result()
File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/futures.py", line 274, in result
raise self._exception
File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "telescope/backend/telescope_api/async_helpers/http_requests_bug_file.py", line 160, in process_job_response
task_result_generator = await task_result.json(content_type='application/json') # this returns an unexpected generator
File ".virtualenvs/gyro/lib/python3.5/site-packages/aiohttp/client_reqrep.py", line 680, in json
yield from self.read()
File ".virtualenvs/gyro/lib/python3.5/site-packages/aiohttp/client_reqrep.py", line 641, in read
self._content = yield from self.content.read()
File ".virtualenvs/gyro/lib/python3.5/site-packages/aiohttp/streams.py", line 542, in read
return (yield from super().read(n))
File ".virtualenvs/gyro/lib/python3.5/site-packages/aiohttp/streams.py", line 266, in read
raise self._exception
aiohttp.client_exceptions.ClientConnectionError: Connection closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment