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

RemoteDisconnected #24

Open
wwang-nmdp opened this issue Sep 16, 2019 · 0 comments
Open

RemoteDisconnected #24

wwang-nmdp opened this issue Sep 16, 2019 · 0 comments

Comments

@wwang-nmdp
Copy link

Tried to load a large fasta file (~73 Mib) which contains thousands of full-length HLA sequences for GFE annotation. It seems the server was disconnected without response. The program stopped.

`
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 387, in _make_request
six.raise_from(e, None)
File "", line 2, in raise_from
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 383, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/usr/lib/python3.6/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.6/http/client.py", line 266, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/bin/seq2gfe", line 94, in
main()
File "/usr/local/bin/seq2gfe", line 76, in main
features, gfe = gfe_maker.get_gfe(ann, loc)
File "/usr/local/lib/python3.6/dist-packages/pygfe/pygfe.py", line 123, in get_gfe
feature = self.api.create_feature(body=request)
File "/usr/local/lib/python3.6/dist-packages/pygfe/feature_client/apis/features_api.py", line 77, in create_feature
(data) = self.create_feature_with_http_info(**kwargs)
File "/usr/local/lib/python3.6/dist-packages/pygfe/feature_client/apis/features_api.py", line 152, in create_feature_with_http_info
_return_http_data_only=params.get('_return_http_data_only'))
File "/usr/local/lib/python3.6/dist-packages/pygfe/feature_client/api_client.py", line 334, in call_api
response_type, auth_settings, callback, _return_http_data_only)
File "/usr/local/lib/python3.6/dist-packages/pygfe/feature_client/api_client.py", line 157, in __call_api
post_params=post_params, body=body)
File "/usr/local/lib/python3.6/dist-packages/pygfe/feature_client/api_client.py", line 370, in request
body=body)
File "/usr/local/lib/python3.6/dist-packages/pygfe/feature_client/rest.py", line 216, in POST
body=body)
File "/usr/local/lib/python3.6/dist-packages/pygfe/feature_client/rest.py", line 150, in request
headers=headers)
File "/usr/local/lib/python3.6/dist-packages/urllib3/request.py", line 70, in request
**urlopen_kw)
File "/usr/local/lib/python3.6/dist-packages/urllib3/request.py", line 148, in request_encode_body
return self.urlopen(method, url, **extra_kw)
File "/usr/local/lib/python3.6/dist-packages/urllib3/poolmanager.py", line 321, in urlopen
response = conn.urlopen(method, u.request_uri, **kw)
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.6/dist-packages/urllib3/util/retry.py", line 357, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.6/dist-packages/urllib3/packages/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 601, in urlopen
chunked=chunked)
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 387, in _make_request
six.raise_from(e, None)
File "", line 2, in raise_from
File "/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py", line 383, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.6/http/client.py", line 1331, in getresponse
response.begin()
File "/usr/lib/python3.6/http/client.py", line 297, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.6/http/client.py", line 266, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))
`

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