{"action":"created","issue":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/issues/188","repository_url":"https://api.github.com/repos/rabbitmq/rabbitmq-management","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/issues/188/comments","events_url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/issues/188/events","html_url":"https://github.com/rabbitmq/rabbitmq-management/issues/188","id":151195163,"number":188,"title":"Web UI reports bad requests as server unreachability","user":{"login":"spatula75","id":7718879,"avatar_url":"https://avatars.githubusercontent.com/u/7718879?v=3","gravatar_id":"","url":"https://api.github.com/users/spatula75","html_url":"https://github.com/spatula75","followers_url":"https://api.github.com/users/spatula75/followers","following_url":"https://api.github.com/users/spatula75/following{/other_user}","gists_url":"https://api.github.com/users/spatula75/gists{/gist_id}","starred_url":"https://api.github.com/users/spatula75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spatula75/subscriptions","organizations_url":"https://api.github.com/users/spatula75/orgs","repos_url":"https://api.github.com/users/spatula75/repos","events_url":"https://api.github.com/users/spatula75/events{/privacy}","received_events_url":"https://api.github.com/users/spatula75/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/labels/effort-low","name":"effort-low","color":"88b3e4"},{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/labels/usability","name":"usability","color":"bfe5bf"}],"state":"open","locked":false,"assignee":{"login":"hairyhum","id":784180,"avatar_url":"https://avatars.githubusercontent.com/u/784180?v=3","gravatar_id":"","url":"https://api.github.com/users/hairyhum","html_url":"https://github.com/hairyhum","followers_url":"https://api.github.com/users/hairyhum/followers","following_url":"https://api.github.com/users/hairyhum/following{/other_user}","gists_url":"https://api.github.com/users/hairyhum/gists{/gist_id}","starred_url":"https://api.github.com/users/hairyhum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairyhum/subscriptions","organizations_url":"https://api.github.com/users/hairyhum/orgs","repos_url":"https://api.github.com/users/hairyhum/repos","events_url":"https://api.github.com/users/hairyhum/events{/privacy}","received_events_url":"https://api.github.com/users/hairyhum/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/milestones/14","html_url":"https://github.com/rabbitmq/rabbitmq-management/milestones/3.6.2","labels_url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/milestones/14/labels","id":1593171,"number":14,"title":"3.6.2","description":null,"creator":{"login":"dumbbell","id":159804,"avatar_url":"https://avatars.githubusercontent.com/u/159804?v=3","gravatar_id":"","url":"https://api.github.com/users/dumbbell","html_url":"https://github.com/dumbbell","followers_url":"https://api.github.com/users/dumbbell/followers","following_url":"https://api.github.com/users/dumbbell/following{/other_user}","gists_url":"https://api.github.com/users/dumbbell/gists{/gist_id}","starred_url":"https://api.github.com/users/dumbbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dumbbell/subscriptions","organizations_url":"https://api.github.com/users/dumbbell/orgs","repos_url":"https://api.github.com/users/dumbbell/repos","events_url":"https://api.github.com/users/dumbbell/events{/privacy}","received_events_url":"https://api.github.com/users/dumbbell/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":15,"state":"open","created_at":"2016-02-19T14:31:33Z","updated_at":"2016-04-28T13:59:33Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-04-26T17:40:31Z","updated_at":"2016-04-29T08:40:32Z","closed_at":null,"body":"The Admin UI erroneously reports API requests which are rejected by the server as though the server itself were unreachable.  For example, attempting to delete an exclusive queue will result in a 405 RESOURCE_LOCKED response from the server, but the Admin UI reports this as a server outage.\r\n\r\nSteps to reproduce:\r\n\r\n1. Create an exclusive, auto-delete queue on the server with no consumers (might work with consumers and other modes too, but exclusive is the easiest way to see the issue)\r\n2. Using the Admin UI, select this exclusive queue from the list of queues.\r\n3. Attempt to delete the queue using the Delete button.\r\n4. Admin UI reports that the server can't be reached (in a red banner at the bottom of the page), but what actually happened was a 405 Resource Locked response from the server.\r\n\r\nOne can still rid oneself of the unwanted queues by killing the connection with the exclusive queue.  The more interesting issue is getting the correct error message reported back to the end user."},"comment":{"url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/issues/comments/215659743","html_url":"https://github.com/rabbitmq/rabbitmq-management/issues/188#issuecomment-215659743","issue_url":"https://api.github.com/repos/rabbitmq/rabbitmq-management/issues/188","id":215659743,"user":{"login":"hairyhum","id":784180,"avatar_url":"https://avatars.githubusercontent.com/u/784180?v=3","gravatar_id":"","url":"https://api.github.com/users/hairyhum","html_url":"https://github.com/hairyhum","followers_url":"https://api.github.com/users/hairyhum/followers","following_url":"https://api.github.com/users/hairyhum/following{/other_user}","gists_url":"https://api.github.com/users/hairyhum/gists{/gist_id}","starred_url":"https://api.github.com/users/hairyhum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairyhum/subscriptions","organizations_url":"https://api.github.com/users/hairyhum/orgs","repos_url":"https://api.github.com/users/hairyhum/repos","events_url":"https://api.github.com/users/hairyhum/events{/privacy}","received_events_url":"https://api.github.com/users/hairyhum/received_events","type":"User","site_admin":false},"created_at":"2016-04-29T08:40:32Z","updated_at":"2016-04-29T08:40:32Z","body":"I cannot reproduce it with `master` or `3.7.0.milestone3`. Cowboy use different encoding mechanism."}}