{"action":"created","issue":{"url":"https://api.github.com/repos/ga-wdi-boston/group-project/issues/143","repository_url":"https://api.github.com/repos/ga-wdi-boston/group-project","labels_url":"https://api.github.com/repos/ga-wdi-boston/group-project/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/ga-wdi-boston/group-project/issues/143/comments","events_url":"https://api.github.com/repos/ga-wdi-boston/group-project/issues/143/events","html_url":"https://github.com/ga-wdi-boston/group-project/issues/143","id":165404040,"number":143,"title":"Heroku Deployment Cipher Key","user":{"login":"shkherad","id":18443759,"avatar_url":"https://avatars.githubusercontent.com/u/18443759?v=3","gravatar_id":"","url":"https://api.github.com/users/shkherad","html_url":"https://github.com/shkherad","followers_url":"https://api.github.com/users/shkherad/followers","following_url":"https://api.github.com/users/shkherad/following{/other_user}","gists_url":"https://api.github.com/users/shkherad/gists{/gist_id}","starred_url":"https://api.github.com/users/shkherad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shkherad/subscriptions","organizations_url":"https://api.github.com/users/shkherad/orgs","repos_url":"https://api.github.com/users/shkherad/repos","events_url":"https://api.github.com/users/shkherad/events{/privacy}","received_events_url":"https://api.github.com/users/shkherad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-13T19:39:43Z","updated_at":"2016-07-13T19:54:46Z","closed_at":null,"body":"Do we need to make new secrets after deploying on heroku?\r\n\r\nEverything works except for POST /sign-in\r\n\r\nNothing changed from local host to that route or the users model but on heroku, error returned:\r\n\r\n```\r\nHTTP/1.1 500 Internal Server Error\r\nServer: Cowboy\r\nConnection: keep-alive\r\nX-Powered-By: Express\r\nAccess-Control-Allow-Origin: http://localhost:8080\r\nVary: Origin\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 50\r\nEtag: W/\"32-f0PDWtN4RNCHOcPLVIwtbw\"\r\nDate: Wed, 13 Jul 2016 19:32:09 GMT\r\nVia: 1.1 vegur\r\n\r\n{\"error\":{\"message\":\"Must give cipher-type, key\"}}\r\n```"},"comment":{"url":"https://api.github.com/repos/ga-wdi-boston/group-project/issues/comments/232467760","html_url":"https://github.com/ga-wdi-boston/group-project/issues/143#issuecomment-232467760","issue_url":"https://api.github.com/repos/ga-wdi-boston/group-project/issues/143","id":232467760,"user":{"login":"shkherad","id":18443759,"avatar_url":"https://avatars.githubusercontent.com/u/18443759?v=3","gravatar_id":"","url":"https://api.github.com/users/shkherad","html_url":"https://github.com/shkherad","followers_url":"https://api.github.com/users/shkherad/followers","following_url":"https://api.github.com/users/shkherad/following{/other_user}","gists_url":"https://api.github.com/users/shkherad/gists{/gist_id}","starred_url":"https://api.github.com/users/shkherad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shkherad/subscriptions","organizations_url":"https://api.github.com/users/shkherad/orgs","repos_url":"https://api.github.com/users/shkherad/repos","events_url":"https://api.github.com/users/shkherad/events{/privacy}","received_events_url":"https://api.github.com/users/shkherad/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T19:54:46Z","updated_at":"2016-07-13T19:54:46Z","body":"heroku logs on the failed sign in\r\n\r\nAnd corrected curl request that I tried:\r\n\r\n```\r\ncurl --include --request POST https://brewtiq-api.herokuapp.com/sign-in \\\r\n  --header \"Content-Type: application/json\" \\\r\n  --data '{\r\n    \"credentials\": {\r\n      \"email\": \"shireen@bean.com\",\r\n      \"password\": \"p\"\r\n    }\r\n  }'\r\n```\r\n\r\ncurl requst error:\r\n\r\n`{\"error\":{\"message\":\"Must give cipher-type, key\"}}`\r\n\r\n```\r\n2016-07-13T19:52:50.406562+00:00 app[web.1]: POST /sign-in 500 286.116 ms - 50\r\n2016-07-13T19:52:50.414235+00:00 heroku[router]: at=info method=POST path=\"/sign-in\" host=brewtiq-api.herokuapp.com request_id=17171e7c-2042-4c4e-abd9-9e43763a4118 fwd=\"157.130.220.250\" dyno=web.1 connect=1ms service=294ms status=500 bytes=337\r\n```"}}
{"actor":{"display_login":"shkherad"}}