{"action":"created","issue":{"url":"https://api.github.com/repos/Rapptz/discord.py/issues/373","repository_url":"https://api.github.com/repos/Rapptz/discord.py","labels_url":"https://api.github.com/repos/Rapptz/discord.py/issues/373/labels{/name}","comments_url":"https://api.github.com/repos/Rapptz/discord.py/issues/373/comments","events_url":"https://api.github.com/repos/Rapptz/discord.py/issues/373/events","html_url":"https://github.com/Rapptz/discord.py/issues/373","id":185732327,"number":373,"title":"discord.errors.LoginFailure: Improper credentials have been passed.","user":{"login":"ButterCheezii","id":22616762,"avatar_url":"https://avatars.githubusercontent.com/u/22616762?v=3","gravatar_id":"","url":"https://api.github.com/users/ButterCheezii","html_url":"https://github.com/ButterCheezii","followers_url":"https://api.github.com/users/ButterCheezii/followers","following_url":"https://api.github.com/users/ButterCheezii/following{/other_user}","gists_url":"https://api.github.com/users/ButterCheezii/gists{/gist_id}","starred_url":"https://api.github.com/users/ButterCheezii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ButterCheezii/subscriptions","organizations_url":"https://api.github.com/users/ButterCheezii/orgs","repos_url":"https://api.github.com/users/ButterCheezii/repos","events_url":"https://api.github.com/users/ButterCheezii/events{/privacy}","received_events_url":"https://api.github.com/users/ButterCheezii/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-27T17:29:24Z","updated_at":"2016-10-27T17:32:37Z","closed_at":null,"body":"This exact file and configuration works on my local laptop, but upon attempting to run it on my server I get this error:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/lib/python3.5/dist-packages/discord/http.py\", line 180, in email_login\r\n    data = yield from self.post(self.LOGIN, json=payload, bucket=_func_())\r\n  File \"/usr/local/lib/python3.5/dist-packages/discord/http.py\", line 137, in request\r\n    raise HTTPException(r, data)\r\ndiscord.errors.HTTPException: BAD REQUEST (status code: 400)\r\n\r\nThe above exception was the direct cause of the following exception:\r\n\r\nTraceback (most recent call last):\r\n  File \"core.py\", line 113, in <module>\r\n    bot.run('email', 'password', bot = False)\r\n  File \"/usr/local/lib/python3.5/dist-packages/discord/client.py\", line 485, in run\r\n    self.loop.run_until_complete(self.start(*args, **kwargs))\r\n  File \"/usr/lib/python3.5/asyncio/base_events.py\", line 387, in run_until_complete\r\n    return future.result()\r\n  File \"/usr/lib/python3.5/asyncio/futures.py\", line 274, in result\r\n    raise self._exception\r\n  File \"/usr/lib/python3.5/asyncio/tasks.py\", line 239, in _step\r\n    result = coro.send(None)\r\n  File \"/usr/local/lib/python3.5/dist-packages/discord/client.py\", line 456, in start\r\n    yield from self.login(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.5/dist-packages/discord/client.py\", line 382, in login\r\n    yield from getattr(self, '_login_' + str(n))(*args, **kwargs)\r\n  File \"/usr/local/lib/python3.5/dist-packages/discord/client.py\", line 333, in _login_2\r\n    yield from self.http.email_login(email, password)\r\n  File \"/usr/local/lib/python3.5/dist-packages/discord/http.py\", line 183, in email_login\r\n    raise LoginFailure('Improper credentials have been passed.') from e\r\ndiscord.errors.LoginFailure: Improper credentials have been passed.\r\nUnclosed client session\r\nclient_session: <aiohttp.client.ClientSession object at 0xMEMORYADDRES>\r\n```\r\n\r\nCan you please help me figure out what is causing the problem and how to fix it?"},"comment":{"url":"https://api.github.com/repos/Rapptz/discord.py/issues/comments/256715158","html_url":"https://github.com/Rapptz/discord.py/issues/373#issuecomment-256715158","issue_url":"https://api.github.com/repos/Rapptz/discord.py/issues/373","id":256715158,"user":{"login":"fennekid","id":17905136,"avatar_url":"https://avatars.githubusercontent.com/u/17905136?v=3","gravatar_id":"","url":"https://api.github.com/users/fennekid","html_url":"https://github.com/fennekid","followers_url":"https://api.github.com/users/fennekid/followers","following_url":"https://api.github.com/users/fennekid/following{/other_user}","gists_url":"https://api.github.com/users/fennekid/gists{/gist_id}","starred_url":"https://api.github.com/users/fennekid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fennekid/subscriptions","organizations_url":"https://api.github.com/users/fennekid/orgs","repos_url":"https://api.github.com/users/fennekid/repos","events_url":"https://api.github.com/users/fennekid/events{/privacy}","received_events_url":"https://api.github.com/users/fennekid/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T17:32:37Z","updated_at":"2016-10-27T17:32:37Z","body":"Use a token login by typing `localStorage.token` into the console (ctrl+shift+i)\r\nUsing a email and password requires a verification email when signing on from a new IP address, but using a token ignores this. Its also why it worked on one device and not another."}}
{"actor":{"display_login":"fennekid"}}