{"action":"created","issue":{"url":"https://api.github.com/repos/nicolaiarocci/eve-demo/issues/4","repository_url":"https://api.github.com/repos/nicolaiarocci/eve-demo","labels_url":"https://api.github.com/repos/nicolaiarocci/eve-demo/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/nicolaiarocci/eve-demo/issues/4/comments","events_url":"https://api.github.com/repos/nicolaiarocci/eve-demo/issues/4/events","html_url":"https://github.com/nicolaiarocci/eve-demo/issues/4","id":20852753,"number":4,"title":"Heroku deployment","user":{"login":"genkiro","id":298988,"avatar_url":"https://avatars.githubusercontent.com/u/298988?v=3","gravatar_id":"","url":"https://api.github.com/users/genkiro","html_url":"https://github.com/genkiro","followers_url":"https://api.github.com/users/genkiro/followers","following_url":"https://api.github.com/users/genkiro/following{/other_user}","gists_url":"https://api.github.com/users/genkiro/gists{/gist_id}","starred_url":"https://api.github.com/users/genkiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/genkiro/subscriptions","organizations_url":"https://api.github.com/users/genkiro/orgs","repos_url":"https://api.github.com/users/genkiro/repos","events_url":"https://api.github.com/users/genkiro/events{/privacy}","received_events_url":"https://api.github.com/users/genkiro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-10-11T06:48:42Z","updated_at":"2016-05-25T07:34:08Z","closed_at":"2014-02-15T15:50:23Z","body":"Hi,\r\n\r\nThank you for initiating this project.\r\n\r\nI tried to download this eve-demo project, and I was able to run it fine using ```python run.py``` command. But it behaves weird when I run it using ```foreman start``` (this is from https://devcenter.heroku.com/articles/getting-started-with-python#procfile). All the possible links return a 404 Not Found error.\r\n\r\nThis problem also happens when we do deployment on Heroku. I thought it was a problem on the mongodb connection. So I made sure that the mongodb info on the ```settings.py``` is correct, but it doesn't fix the 404.\r\n\r\nMay I know how you deploy to heroku? Do you do ```foreman start``` when running locally?"},"comment":{"url":"https://api.github.com/repos/nicolaiarocci/eve-demo/issues/comments/221495711","html_url":"https://github.com/nicolaiarocci/eve-demo/issues/4#issuecomment-221495711","issue_url":"https://api.github.com/repos/nicolaiarocci/eve-demo/issues/4","id":221495711,"user":{"login":"mandarvaze","id":46438,"avatar_url":"https://avatars.githubusercontent.com/u/46438?v=3","gravatar_id":"","url":"https://api.github.com/users/mandarvaze","html_url":"https://github.com/mandarvaze","followers_url":"https://api.github.com/users/mandarvaze/followers","following_url":"https://api.github.com/users/mandarvaze/following{/other_user}","gists_url":"https://api.github.com/users/mandarvaze/gists{/gist_id}","starred_url":"https://api.github.com/users/mandarvaze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mandarvaze/subscriptions","organizations_url":"https://api.github.com/users/mandarvaze/orgs","repos_url":"https://api.github.com/users/mandarvaze/repos","events_url":"https://api.github.com/users/mandarvaze/events{/privacy}","received_events_url":"https://api.github.com/users/mandarvaze/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T07:34:08Z","updated_at":"2016-05-25T07:34:08Z","body":"FWIW, I ran into the same issue. I know this is an old issue (closed more than 2 yrs ago, with no confirmation from @genkiro) But I'm adding this with the hope that someone finds this useful.\r\n\r\nI am not using `foreman` but I get this error on \"live\" heroku deployment\r\nIf I replace `SERVER_NAME` in my `config.py` with `SERVER_URL` the problem is fixed.\r\n\r\ni.e. `SERVER_NAME` is no more defined (So I guess some default value is used, which works in heroku setup?)\r\nI can't remember why I used `SERVER_URL` instead.\r\nI am unable to remember/find the source of why this \"fixes\" the issue.\r\n\r\nIt worked for me twice, with the gap of 6+ months. Unfortunately I didn't document my \"source\" the first time. Second time (May 2016) , I just looked at my \"old\" `git log` and applied the change (somewhat reluctantly) but it worked.\r\n\r\nMay be @nicolaiarocci can add some comments on why it works. "}}
{"actor":{"display_login":"mandarvaze"}}