{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11737","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11737/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11737/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11737/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/11737","id":349421714,"node_id":"MDU6SXNzdWUzNDk0MjE3MTQ=","number":11737,"title":"POST /api/v1/login returns HTTP 500","user":{"login":"crowmw","id":2963127,"node_id":"MDQ6VXNlcjI5NjMxMjc=","avatar_url":"https://avatars2.githubusercontent.com/u/2963127?v=4","gravatar_id":"","url":"https://api.github.com/users/crowmw","html_url":"https://github.com/crowmw","followers_url":"https://api.github.com/users/crowmw/followers","following_url":"https://api.github.com/users/crowmw/following{/other_user}","gists_url":"https://api.github.com/users/crowmw/gists{/gist_id}","starred_url":"https://api.github.com/users/crowmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowmw/subscriptions","organizations_url":"https://api.github.com/users/crowmw/orgs","repos_url":"https://api.github.com/users/crowmw/repos","events_url":"https://api.github.com/users/crowmw/events{/privacy}","received_events_url":"https://api.github.com/users/crowmw/received_events","type":"User","site_admin":false},"labels":[{"id":261772617,"node_id":"MDU6TGFiZWwyNjE3NzI2MTc=","url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/feat:%20api","name":"feat: api","color":"1d76db","default":false},{"id":383493606,"node_id":"MDU6TGFiZWwzODM0OTM2MDY=","url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/feat:%20rest","name":"feat: rest","color":"1d76db","default":false},{"id":332597044,"node_id":"MDU6TGFiZWwzMzI1OTcwNDQ=","url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/stat:%20waiting%20response","name":"stat: waiting response","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-10T08:26:36Z","updated_at":"2018-08-24T08:14:56Z","closed_at":null,"author_association":"NONE","body":"RocketChat version: 0.64.1\r\n\r\nWhen i do POST request to `/api/v1/login` with valid credentials. I've got HTTP 500 error\r\n![image](https://user-images.githubusercontent.com/2963127/43947052-4536ba84-9c87-11e8-970e-a3fba58e89fe.png)\r\n\r\nI've got same issue when i configured CORS properly and make request from my js app.\r\nThen i've got OPTIONS 200 (Access-Control-Allow-Origin is not same as i configured in CORS RocketChat options in administration panel `https://localhost:8080`) and then get HTTP 500 error\r\n\r\n![image](https://user-images.githubusercontent.com/2963127/43947141-9c7e872c-9c87-11e8-90bc-dd726b632350.png)\r\n\r\npiece of my application code\r\n[#8404](https://github.com/RocketChat/Rocket.Chat/issue_comments#issuecomment-412000638)"},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/415687248","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/11737#issuecomment-415687248","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/11737","id":415687248,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTY4NzI0OA==","user":{"login":"crowmw","id":2963127,"node_id":"MDQ6VXNlcjI5NjMxMjc=","avatar_url":"https://avatars2.githubusercontent.com/u/2963127?v=4","gravatar_id":"","url":"https://api.github.com/users/crowmw","html_url":"https://github.com/crowmw","followers_url":"https://api.github.com/users/crowmw/followers","following_url":"https://api.github.com/users/crowmw/following{/other_user}","gists_url":"https://api.github.com/users/crowmw/gists{/gist_id}","starred_url":"https://api.github.com/users/crowmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crowmw/subscriptions","organizations_url":"https://api.github.com/users/crowmw/orgs","repos_url":"https://api.github.com/users/crowmw/repos","events_url":"https://api.github.com/users/crowmw/events{/privacy}","received_events_url":"https://api.github.com/users/crowmw/received_events","type":"User","site_admin":false},"created_at":"2018-08-24T08:14:56Z","updated_at":"2018-08-24T08:14:56Z","author_association":"NONE","body":"@MarcosSpessatto I've tried with username and user too. Got same results"}}
{"actor":{"display_login":"crowmw"}}