{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/horizon/issues/392","repository_url":"https://api.github.com/repos/rethinkdb/horizon","labels_url":"https://api.github.com/repos/rethinkdb/horizon/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/horizon/issues/392/comments","events_url":"https://api.github.com/repos/rethinkdb/horizon/issues/392/events","html_url":"https://github.com/rethinkdb/horizon/issues/392","id":155293142,"number":392,"title":"Websocket error after upgrading to 1.0","user":{"login":"ingro","id":879431,"avatar_url":"https://avatars.githubusercontent.com/u/879431?v=3","gravatar_id":"","url":"https://api.github.com/users/ingro","html_url":"https://github.com/ingro","followers_url":"https://api.github.com/users/ingro/followers","following_url":"https://api.github.com/users/ingro/following{/other_user}","gists_url":"https://api.github.com/users/ingro/gists{/gist_id}","starred_url":"https://api.github.com/users/ingro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingro/subscriptions","organizations_url":"https://api.github.com/users/ingro/orgs","repos_url":"https://api.github.com/users/ingro/repos","events_url":"https://api.github.com/users/ingro/events{/privacy}","received_events_url":"https://api.github.com/users/ingro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-05-17T15:43:08Z","updated_at":"2016-05-17T18:49:22Z","closed_at":null,"body":"Hello! Today I updated horizon to 1.0 and the client could not connect anymore to the server via websocket.\r\n\r\nRunning horizon with `hz serve --dev` the only response that I'm getting from the websocket is this:\r\n\r\n```\r\n{\r\n  code: 1,\r\n  message: \"Session ID unknown\"\r\n}\r\n```\r\n\r\nThen I tried to run the server with the `--debug` flag, and that's the output:\r\n\r\n```\r\ndebug: Handling HTTP request to horizon subpath: horizon.js\r\ndebug: Client connection established.\r\ndebug: Closing client connection with message: No connection to the database.\r\ndebug: info: {\"error\":\"No connection to the database.\"}\r\ndebug: Client connection terminated.\r\ndebug: Handling HTTP request to horizon subpath: horizon.js.map\r\n```\r\n\r\nI also tried to create a new app with `hz init` but without luck.\r\n\r\nAs I said I'm running horizon 1.0 on node 5.10, the OS is Windows 7 x64.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rethinkdb/horizon/issues/comments/219816179","html_url":"https://github.com/rethinkdb/horizon/issues/392#issuecomment-219816179","issue_url":"https://api.github.com/repos/rethinkdb/horizon/issues/392","id":219816179,"user":{"login":"danielmewes","id":505365,"avatar_url":"https://avatars.githubusercontent.com/u/505365?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmewes","html_url":"https://github.com/danielmewes","followers_url":"https://api.github.com/users/danielmewes/followers","following_url":"https://api.github.com/users/danielmewes/following{/other_user}","gists_url":"https://api.github.com/users/danielmewes/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmewes/subscriptions","organizations_url":"https://api.github.com/users/danielmewes/orgs","repos_url":"https://api.github.com/users/danielmewes/repos","events_url":"https://api.github.com/users/danielmewes/events{/privacy}","received_events_url":"https://api.github.com/users/danielmewes/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T18:49:22Z","updated_at":"2016-05-17T18:49:22Z","body":"Fixed via https://github.com/rethinkdb/horizon/pull/397"}}