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

Login Failed #57

Open
isairz opened this issue Nov 24, 2015 · 1 comment
Open

Login Failed #57

isairz opened this issue Nov 24, 2015 · 1 comment

Comments

@isairz
Copy link

isairz commented Nov 24, 2015

After rebooting the bot, this occur login error at login.
Last rebooting is 2 month ago.

I guess some problem in "SESSION_LINE".

Traceback (most recent call last):
  File "token.py", line 2, in <module>
    client = LineClient("[email protected]", "password")
  File "/home/isair/private/LINE/line/client.py", line 88, in __init__
    self.login()
  File "/home/isair/private/LINE/line/api.py", line 101, in login
    j = self._get_json(self.LINE_SESSION_LINE_URL)
  File "/home/isair/private/LINE/line/api.py", line 348, in _get_json
    return json.loads(self._session.get(url, headers=self._headers).text)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 480, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 468, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 412, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",))
@vijay32
Copy link

vijay32 commented Jan 25, 2016

Same issue here. I just logged in once. It worked, but unable to login again after running the script again.

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

2 participants