{"action":"created","issue":{"url":"https://api.github.com/repos/oduwsdl/memgator/issues/67","repository_url":"https://api.github.com/repos/oduwsdl/memgator","labels_url":"https://api.github.com/repos/oduwsdl/memgator/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/oduwsdl/memgator/issues/67/comments","events_url":"https://api.github.com/repos/oduwsdl/memgator/issues/67/events","html_url":"https://github.com/oduwsdl/memgator/issues/67","id":152571059,"number":67,"title":"Archives configuration might require a trailing slash","user":{"login":"machawk1","id":2514780,"avatar_url":"https://avatars.githubusercontent.com/u/2514780?v=3","gravatar_id":"","url":"https://api.github.com/users/machawk1","html_url":"https://github.com/machawk1","followers_url":"https://api.github.com/users/machawk1/followers","following_url":"https://api.github.com/users/machawk1/following{/other_user}","gists_url":"https://api.github.com/users/machawk1/gists{/gist_id}","starred_url":"https://api.github.com/users/machawk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machawk1/subscriptions","organizations_url":"https://api.github.com/users/machawk1/orgs","repos_url":"https://api.github.com/users/machawk1/repos","events_url":"https://api.github.com/users/machawk1/events{/privacy}","received_events_url":"https://api.github.com/users/machawk1/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oduwsdl/memgator/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-02T14:58:24Z","updated_at":"2016-05-02T16:34:32Z","closed_at":"2016-05-02T16:30:18Z","body":"Based on 2fceeb7bfb2d74228959b9dfd35bffe17d05481f with nothing running at the specified endpoint.\r\n\r\n```sh\r\nmemgator -a archives.json http://matkelly.com\r\n```\r\n\r\n**archives.json**\r\n```json\r\n[\r\n  {\r\n    \"id\": \"test\",\r\n    \"name\": \"Test\",\r\n    \"timemap\": \"http://localhost:3000\",\r\n    \"timegate\": \"http://localhost:3000\"\r\n  }\r\n]\r\n```\r\n\r\n**error:**\r\n```sh\r\nERROR: 2016/05/02 10:55:41.893917 main.go:259: test => Network error: Get http://localhost:1234http://matkelly.com: dial tcp: too many colons in address localhost:1234http:\r\n```\r\n\r\nAdding a trailing slash seems to fix this issue.\r\n\r\n**archives.json**\r\n```sh\r\n[\r\n  {\r\n    \"id\": \"test\",\r\n    \"name\": \"Test\",\r\n    \"timemap\": \"http://localhost:1234/\",\r\n    \"timegate\": \"http://localhost:1234/\"\r\n  }\r\n]\r\n```\r\n**error (correct behavior)**\r\n```sh\r\nmemgator -a archives.json http://matkelly.com\r\nERROR: 2016/05/02 10:57:27.843310 main.go:259: test => Network error: Get http://localhost:1234/http://matkelly.com: dial tcp [::1]:1234: getsockopt: connection refused\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/oduwsdl/memgator/issues/comments/216286077","html_url":"https://github.com/oduwsdl/memgator/issues/67#issuecomment-216286077","issue_url":"https://api.github.com/repos/oduwsdl/memgator/issues/67","id":216286077,"user":{"login":"machawk1","id":2514780,"avatar_url":"https://avatars.githubusercontent.com/u/2514780?v=3","gravatar_id":"","url":"https://api.github.com/users/machawk1","html_url":"https://github.com/machawk1","followers_url":"https://api.github.com/users/machawk1/followers","following_url":"https://api.github.com/users/machawk1/following{/other_user}","gists_url":"https://api.github.com/users/machawk1/gists{/gist_id}","starred_url":"https://api.github.com/users/machawk1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/machawk1/subscriptions","organizations_url":"https://api.github.com/users/machawk1/orgs","repos_url":"https://api.github.com/users/machawk1/repos","events_url":"https://api.github.com/users/machawk1/events{/privacy}","received_events_url":"https://api.github.com/users/machawk1/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T16:34:32Z","updated_at":"2016-05-02T16:34:32Z","body":"Verified 👍 "}}