{"action":"created","issue":{"url":"https://api.github.com/repos/sensu/uchiwa/issues/323","labels_url":"https://api.github.com/repos/sensu/uchiwa/issues/323/labels{/name}","comments_url":"https://api.github.com/repos/sensu/uchiwa/issues/323/comments","events_url":"https://api.github.com/repos/sensu/uchiwa/issues/323/events","html_url":"https://github.com/sensu/uchiwa/issues/323","id":74140234,"number":323,"title":"404's for all requested content","user":{"login":"cmacrae","id":3392199,"avatar_url":"https://avatars.githubusercontent.com/u/3392199?v=3","gravatar_id":"","url":"https://api.github.com/users/cmacrae","html_url":"https://github.com/cmacrae","followers_url":"https://api.github.com/users/cmacrae/followers","following_url":"https://api.github.com/users/cmacrae/following{/other_user}","gists_url":"https://api.github.com/users/cmacrae/gists{/gist_id}","starred_url":"https://api.github.com/users/cmacrae/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmacrae/subscriptions","organizations_url":"https://api.github.com/users/cmacrae/orgs","repos_url":"https://api.github.com/users/cmacrae/repos","events_url":"https://api.github.com/users/cmacrae/events{/privacy}","received_events_url":"https://api.github.com/users/cmacrae/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-07T21:50:41Z","updated_at":"2015-05-07T22:00:07Z","closed_at":null,"body":"Hey there, it's me again, the reporter of #272 :)\r\n\r\nI finally got some time to revisit the Ansible role I'd been writing for the deployment of Sensu & Uchiwa on SmartOS.\r\n\r\nUnfortunately, it seems there are some issues with the latest code-base.\r\nMy deployment code hasn't changed, so these must have been introduced at some point between the closing of #272 and now.\r\n\r\nI appreciate Uchiwa probably isn't tested much (if at all) on SmartOS, so, I'm here to help expose these issues - hopefully we can work towards a resolution!\r\n\r\nCool, so, enough blabbering, onto the issue report:\r\n\r\nWhen attempting to visit Uchiwa on the host that I've spun up, I simply get a blank page.\r\nYou can see that a site is being served, because the browser loads it, and I'm able to establish a TCP session:\r\n```\r\n$ telnet sensu.cmacr.ae 3000\r\nTrying 10.19.3.18...\r\nConnected to sensu.cmacr.ae.\r\nEscape character is '^]'.\r\n  \r\nHTTP/1.1 400 Bad Request\r\n\r\nConnection closed by foreign host.\r\n```\r\nNot to mention, the process is up and running fine - `ps` & `netstat` confirm it's running and listening, and there are no issues reported in the logs.\r\n\r\nUpon inspection of my browser's web console, I can see the following:\r\n```\r\nGET http://sensu.cmacr.ae:3000/bower_components/angular-gravatar/build/angular-gravatar.js       [HTTP/1.1 404 Not Found 1ms]\r\nGET http://sensu.cmacr.ae:3000/bower_components/uchiwa-web/js/app.js      [HTTP/1.1 404 Not Found 1ms]\r\nGET http://sensu.cmacr.ae:3000/bower_components/uchiwa-web/js/constants.js      [HTTP/1.1 404 Not Found 1ms]\r\nGET http://sensu.cmacr.ae:3000/bower_components/uchiwa-web/js/controllers.js     [HTTP/1.1 404 Not Found 0ms]\r\n................\r\n```\r\nThere are a bunch more, but no point including them.\r\n\r\nMy `etc/config.json`\r\n``` json\r\n{\r\n    \"sensu\": [\r\n        {\r\n            \"name\": \"dc_name\",\r\n            \"host\": \"localhost\",\r\n            \"ssl\": false,\r\n            \"port\": 4567,\r\n            \"user\": \"admin\",\r\n            \"pass\": \"********\",\r\n            \"timeout\": 5000\r\n        }\r\n    ],\r\n    \"uchiwa\": {\r\n        \"user\": \"admin\",\r\n        \"pass\": \"********\",\r\n        \"port\": 3000,\r\n        \"stats\": 10,\r\n        \"refresh\": 10000\r\n    }\r\n}\r\n```\r\nI've tried with node versions `v0.10.33` & `v0.10.38`.\r\nGo version is `go1.3.2`\r\n\r\nIf inspection of messages from a web console will help, you can reach my test instance at: https://sensu.cmacr.ae (sorry, self-signed cert :))\r\n\r\nThanks in advance for any help with this at all, I'd really appreciate it!"},"comment":{"url":"https://api.github.com/repos/sensu/uchiwa/issues/comments/100033070","html_url":"https://github.com/sensu/uchiwa/issues/323#issuecomment-100033070","issue_url":"https://api.github.com/repos/sensu/uchiwa/issues/323","id":100033070,"user":{"login":"palourde","id":4105580,"avatar_url":"https://avatars.githubusercontent.com/u/4105580?v=3","gravatar_id":"","url":"https://api.github.com/users/palourde","html_url":"https://github.com/palourde","followers_url":"https://api.github.com/users/palourde/followers","following_url":"https://api.github.com/users/palourde/following{/other_user}","gists_url":"https://api.github.com/users/palourde/gists{/gist_id}","starred_url":"https://api.github.com/users/palourde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palourde/subscriptions","organizations_url":"https://api.github.com/users/palourde/orgs","repos_url":"https://api.github.com/users/palourde/repos","events_url":"https://api.github.com/users/palourde/events{/privacy}","received_events_url":"https://api.github.com/users/palourde/received_events","type":"User","site_admin":false},"created_at":"2015-05-07T22:00:06Z","updated_at":"2015-05-07T22:00:06Z","body":"Hi @cmacrae\r\n\r\nWhat do you see when you run `bower list`? \r\n\r\nI assume you also upgraded uchiwa-web to 0.8.1 so you should see the file `public/bower_components/angular-gravatar/build/angular-gravatar.js` from the uchiwa folder?"}}