'Connection aborted.', BadStatusLine("''",)
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
最近发现机器人总是出现下面错误,重启也没有效果。。
('Connection aborted.', BadStatusLine("''",)) Traceback (most recent call last):
File "C:\Users\xsw\Workspaces\python\HTSecBot\wxbot.py", line 53, in request
allow_redirects, proxies, hooks, stream, verify, cert, json)
File "C:\python\Python27\lib\site-packages\requests\sessions.py", line 488, in request
resp = self.send(prep, **send_kwargs)
File "C:\python\Python27\lib\site-packages\requests\sessions.py", line 609, in send
r = adapter.send(request, **kwargs)
File "C:\python\Python27\lib\site-packages\requests\adapters.py", line 473, in send
raise ConnectionError(err, request=request)
ConnectionError: ('Connection aborted.', BadStatusLine("''",))
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The traceback points to wxbot.py line 53 and the requests library; start by examining that request call and the BadStatusLine failure. Reproduce the connection-aborted error and clarify the expected behavior for handling it, since the report does not specify a proposed change or acceptance condition.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100