{"action":"created","issue":{"url":"https://api.github.com/repos/ParsaLab/cloudsuite/issues/57","repository_url":"https://api.github.com/repos/ParsaLab/cloudsuite","labels_url":"https://api.github.com/repos/ParsaLab/cloudsuite/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/ParsaLab/cloudsuite/issues/57/comments","events_url":"https://api.github.com/repos/ParsaLab/cloudsuite/issues/57/events","html_url":"https://github.com/ParsaLab/cloudsuite/issues/57","id":159288665,"number":57,"title":"Absolute URLs in web server","user":{"login":"boompig","id":2791268,"avatar_url":"https://avatars.githubusercontent.com/u/2791268?v=3","gravatar_id":"","url":"https://api.github.com/users/boompig","html_url":"https://github.com/boompig","followers_url":"https://api.github.com/users/boompig/followers","following_url":"https://api.github.com/users/boompig/following{/other_user}","gists_url":"https://api.github.com/users/boompig/gists{/gist_id}","starred_url":"https://api.github.com/users/boompig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boompig/subscriptions","organizations_url":"https://api.github.com/users/boompig/orgs","repos_url":"https://api.github.com/users/boompig/repos","events_url":"https://api.github.com/users/boompig/events{/privacy}","received_events_url":"https://api.github.com/users/boompig/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-06-08T22:24:06Z","updated_at":"2016-10-11T09:55:53Z","closed_at":"2016-10-11T09:55:53Z","body":"Since the web server is running inside docker, the absolute URLs will not resolve if you want to access the services from outside the container. For example, when you go to the web server main page I see this:\r\n![screen shot 2016-06-08 at 3 21 40 pm](https://cloud.githubusercontent.com/assets/2791268/15913029/b339b32c-2d8c-11e6-82c3-a596edf9e6b9.png)\r\n\r\nAnd I see the following errors in the console:\r\n\r\n![screen shot 2016-06-08 at 3 22 15 pm](https://cloud.githubusercontent.com/assets/2791268/15913055/c76756d8-2d8c-11e6-8808-f57980f10aa8.png)\r\n\r\nNotice how both hostname and port number are hard-coded, though I am accessing the server on both a different port and a different hostname. Maybe these URLs are generated by the backend, so it thinks the hostname and port are x and y, whereas they are actually remapped outside the container. To fix, these need to be relative paths instead."},"comment":{"url":"https://api.github.com/repos/ParsaLab/cloudsuite/issues/comments/252865267","html_url":"https://github.com/ParsaLab/cloudsuite/issues/57#issuecomment-252865267","issue_url":"https://api.github.com/repos/ParsaLab/cloudsuite/issues/57","id":252865267,"user":{"login":"neo-apz","id":5136662,"avatar_url":"https://avatars.githubusercontent.com/u/5136662?v=3","gravatar_id":"","url":"https://api.github.com/users/neo-apz","html_url":"https://github.com/neo-apz","followers_url":"https://api.github.com/users/neo-apz/followers","following_url":"https://api.github.com/users/neo-apz/following{/other_user}","gists_url":"https://api.github.com/users/neo-apz/gists{/gist_id}","starred_url":"https://api.github.com/users/neo-apz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neo-apz/subscriptions","organizations_url":"https://api.github.com/users/neo-apz/orgs","repos_url":"https://api.github.com/users/neo-apz/repos","events_url":"https://api.github.com/users/neo-apz/events{/privacy}","received_events_url":"https://api.github.com/users/neo-apz/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T09:55:53Z","updated_at":"2016-10-11T09:55:53Z","body":"The web-serving benchmark has been redesigned and updated (#70)."}}
{"actor":{"display_login":"neo-apz"}}