{"action":"created","issue":{"url":"https://api.github.com/repos/api-ai/api-ai-javascript/issues/14","repository_url":"https://api.github.com/repos/api-ai/api-ai-javascript","labels_url":"https://api.github.com/repos/api-ai/api-ai-javascript/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/api-ai/api-ai-javascript/issues/14/comments","events_url":"https://api.github.com/repos/api-ai/api-ai-javascript/issues/14/events","html_url":"https://github.com/api-ai/api-ai-javascript/issues/14","id":178401851,"number":14,"title":"Demo not working cannot connect to websocket","user":{"login":"edoardo849","id":1617990,"avatar_url":"https://avatars.githubusercontent.com/u/1617990?v=3","gravatar_id":"","url":"https://api.github.com/users/edoardo849","html_url":"https://github.com/edoardo849","followers_url":"https://api.github.com/users/edoardo849/followers","following_url":"https://api.github.com/users/edoardo849/following{/other_user}","gists_url":"https://api.github.com/users/edoardo849/gists{/gist_id}","starred_url":"https://api.github.com/users/edoardo849/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edoardo849/subscriptions","organizations_url":"https://api.github.com/users/edoardo849/orgs","repos_url":"https://api.github.com/users/edoardo849/repos","events_url":"https://api.github.com/users/edoardo849/events{/privacy}","received_events_url":"https://api.github.com/users/edoardo849/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/api-ai/api-ai-javascript/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"Gugic","id":5916431,"avatar_url":"https://avatars.githubusercontent.com/u/5916431?v=3","gravatar_id":"","url":"https://api.github.com/users/Gugic","html_url":"https://github.com/Gugic","followers_url":"https://api.github.com/users/Gugic/followers","following_url":"https://api.github.com/users/Gugic/following{/other_user}","gists_url":"https://api.github.com/users/Gugic/gists{/gist_id}","starred_url":"https://api.github.com/users/Gugic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gugic/subscriptions","organizations_url":"https://api.github.com/users/Gugic/orgs","repos_url":"https://api.github.com/users/Gugic/repos","events_url":"https://api.github.com/users/Gugic/events{/privacy}","received_events_url":"https://api.github.com/users/Gugic/received_events","type":"User","site_admin":false},"assignees":[{"login":"Gugic","id":5916431,"avatar_url":"https://avatars.githubusercontent.com/u/5916431?v=3","gravatar_id":"","url":"https://api.github.com/users/Gugic","html_url":"https://github.com/Gugic","followers_url":"https://api.github.com/users/Gugic/followers","following_url":"https://api.github.com/users/Gugic/following{/other_user}","gists_url":"https://api.github.com/users/Gugic/gists{/gist_id}","starred_url":"https://api.github.com/users/Gugic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gugic/subscriptions","organizations_url":"https://api.github.com/users/Gugic/orgs","repos_url":"https://api.github.com/users/Gugic/repos","events_url":"https://api.github.com/users/Gugic/events{/privacy}","received_events_url":"https://api.github.com/users/Gugic/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-09-21T16:44:04Z","updated_at":"2016-10-17T20:57:23Z","closed_at":"2016-09-22T08:22:31Z","body":"Hello, trying to connect to the websocket but I keep getting the message in the js console \"use direct assignment property\" and the connection just hangs... without opening nor closing. Thought was a firewall issue but I'm getting that from every device.\r\n\r\nWhen trying to send a json message or record voice, I'm getting the following error from the console:\r\n\r\n```\r\n\r\napi.ai.min.js:16 Uncaught InvalidStateError: Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.e.startListening @ api.ai.min.js:16_start @ app.js:188App.start @ app.js:37onclick @ index.html:47\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/api-ai/api-ai-javascript/issues/comments/254331762","html_url":"https://github.com/api-ai/api-ai-javascript/issues/14#issuecomment-254331762","issue_url":"https://api.github.com/repos/api-ai/api-ai-javascript/issues/14","id":254331762,"user":{"login":"repetix","id":13721700,"avatar_url":"https://avatars.githubusercontent.com/u/13721700?v=3","gravatar_id":"","url":"https://api.github.com/users/repetix","html_url":"https://github.com/repetix","followers_url":"https://api.github.com/users/repetix/followers","following_url":"https://api.github.com/users/repetix/following{/other_user}","gists_url":"https://api.github.com/users/repetix/gists{/gist_id}","starred_url":"https://api.github.com/users/repetix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/repetix/subscriptions","organizations_url":"https://api.github.com/users/repetix/orgs","repos_url":"https://api.github.com/users/repetix/repos","events_url":"https://api.github.com/users/repetix/events{/privacy}","received_events_url":"https://api.github.com/users/repetix/received_events","type":"User","site_admin":false},"created_at":"2016-10-17T20:57:23Z","updated_at":"2016-10-17T20:57:23Z","body":"So, just to be clear, moving forward \"api-ws.api.ai\" will remain a valid endpoint for websockets?\r\n"}}
{"actor":{"display_login":"repetix"}}