{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/25502","labels_url":"https://api.github.com/repos/dart-lang/sdk/issues/25502/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/sdk/issues/25502/comments","events_url":"https://api.github.com/repos/dart-lang/sdk/issues/25502/events","html_url":"https://github.com/dart-lang/sdk/issues/25502","id":126937694,"number":25502,"title":"provide a better help message when the Observatory UI is not available","user":{"login":"skybrian","id":129084,"avatar_url":"https://avatars.githubusercontent.com/u/129084?v=3","gravatar_id":"","url":"https://api.github.com/users/skybrian","html_url":"https://github.com/skybrian","followers_url":"https://api.github.com/users/skybrian/followers","following_url":"https://api.github.com/users/skybrian/following{/other_user}","gists_url":"https://api.github.com/users/skybrian/gists{/gist_id}","starred_url":"https://api.github.com/users/skybrian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skybrian/subscriptions","organizations_url":"https://api.github.com/users/skybrian/orgs","repos_url":"https://api.github.com/users/skybrian/repos","events_url":"https://api.github.com/users/skybrian/events{/privacy}","received_events_url":"https://api.github.com/users/skybrian/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/sdk/labels/area-observatory","name":"area-observatory","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-15T19:12:56Z","updated_at":"2016-01-15T20:50:37Z","closed_at":null,"body":"If the Observatory UI is not available for some reason, connecting to the port results in an unhelpful error:\r\n\r\n{\"jsonrpc\":\"2.0\", \"error\":{\"code\":-32601,\"message\":\"Method not found\",\"data\":{\"request\":{\"method\":\"vm\",\"params\":{}}}},\"id\":\"\"}\r\n\r\nInstead we should provide a message explaining what happened and the workaround. Perhaps something like:\r\n\r\nThe Observatory API is running, but the Observatory UI not available on this port. (Workaround: connect remotely using another instance of Observatory, such as from Dartium.)"},"comment":{"url":"https://api.github.com/repos/dart-lang/sdk/issues/comments/172089176","html_url":"https://github.com/dart-lang/sdk/issues/25502#issuecomment-172089176","issue_url":"https://api.github.com/repos/dart-lang/sdk/issues/25502","id":172089176,"user":{"login":"johnmccutchan","id":224266,"avatar_url":"https://avatars.githubusercontent.com/u/224266?v=3","gravatar_id":"","url":"https://api.github.com/users/johnmccutchan","html_url":"https://github.com/johnmccutchan","followers_url":"https://api.github.com/users/johnmccutchan/followers","following_url":"https://api.github.com/users/johnmccutchan/following{/other_user}","gists_url":"https://api.github.com/users/johnmccutchan/gists{/gist_id}","starred_url":"https://api.github.com/users/johnmccutchan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnmccutchan/subscriptions","organizations_url":"https://api.github.com/users/johnmccutchan/orgs","repos_url":"https://api.github.com/users/johnmccutchan/repos","events_url":"https://api.github.com/users/johnmccutchan/events{/privacy}","received_events_url":"https://api.github.com/users/johnmccutchan/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T20:50:37Z","updated_at":"2016-01-15T20:50:37Z","body":"Which embedder ships without the Observatory UI?"}}