[issue23054] ConnectionError: ('Connection aborted.', BadStatusLine(''''))

2015-07-18 Thread Chris Mattmann

Chris Mattmann added the comment:

Hi there, we are experiencing this in tika-python too, see:

https://github.com/chrismattmann/tika-python/issues/44

--
nosy: +chrismattmann

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23054
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23054] ConnectionError: ('Connection aborted.', BadStatusLine(''''))

2015-07-18 Thread Martin Panter

Martin Panter added the comment:

There is hopefully a better RemoteDisconnected exception and documentation in 
3.5, thanks to Issue 3566. In Python 2, I think this is the same as Issue 8450.

--
resolution:  - duplicate
status: open - closed
superseder:  - httplib: false BadStatusLine() raised

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23054
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23054] ConnectionError: ('Connection aborted.', BadStatusLine(''''))

2014-12-16 Thread Joe Cabrera

Joe Cabrera added the comment:

This is an error wrapping coming from requests.

https://github.com/kennethreitz/requests/issues/2364

The Requests team has concluded they can do nothing about this error, I believe 
the next step up is the python httplib library.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23054
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23054] ConnectionError: ('Connection aborted.', BadStatusLine(''''))

2014-12-16 Thread R. David Murray

R. David Murray added the comment:

I wonder the actual error reported in that issue has any relationship to issue 
15082?

In any case, the error being presented to requests is *accurate*: httplib tried 
to read the status line and got nothing (the actual text in the linked issue is 
BadStatusLine('')).  (Note that issue 7427 was where we fixed the repr, if 
you are curious).

I see that requests would like a better error message.  Is there a concrete 
suggestion for what that better error message would look like?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23054
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23054] ConnectionError: ('Connection aborted.', BadStatusLine(''''))

2014-12-16 Thread Martin Panter

Martin Panter added the comment:

Not exactly sure what do you want the Python library to do, but perhaps this is 
a duplicate of Issue 8450, about making the error less misleading when the 
connection is closed before _any_ status line is sent. See also Issue 7427.

--
nosy: +vadmium

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23054
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23054] ConnectionError: ('Connection aborted.', BadStatusLine(''''))

2014-12-16 Thread R. David Murray

R. David Murray added the comment:

Ouch.  I assumed the change was made to the repr, not the contents of line (I 
wasn't involved in that fix).  Not that that would actually affect this issue, 
I think, since Requests doesn't want to introspect exception objects.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23054
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23054] ConnectionError: ('Connection aborted.', BadStatusLine(''''))

2014-12-15 Thread Joe Cabrera

New submission from Joe Cabrera:

ConnectionError: ('Connection aborted.', BadStatusLine())

This error can also occur on Linux and Windows, a more descriptive error 
messages would be useful for people trying to debug their code.

--
assignee: docs@python
components: Documentation
messages: 232664
nosy: docs@python, joecabrera
priority: normal
severity: normal
status: open
title: ConnectionError: ('Connection aborted.', BadStatusLine())
type: behavior
versions: Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23054
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23054] ConnectionError: ('Connection aborted.', BadStatusLine(''''))

2014-12-15 Thread R. David Murray

R. David Murray added the comment:

I think you made a mistake in your copy and paste or retyping of that line, 
since it is not valid python syntax.

What is not explicit about it?  It is telling you there was a bad status line, 
and what the bad status line contents was.  (Used to be you couldn't tell, when 
the badness of the status line was that it was empty, that that was what the 
error message was saying, but I'm pretty sure we fixed that so that it shows an 
empty status line as an empty string in the message).

--
nosy: +r.david.murray

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23054
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23054] ConnectionError: ('Connection aborted.', BadStatusLine(''''))

2014-12-15 Thread R. David Murray

R. David Murray added the comment:

Perhaps part of your problem is that you are not getting the string 
representation of the error message.  Is that because of your code, or is this 
representation something the stdlib is generating?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23054
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com