{"action":"closed","issue":{"url":"https://api.github.com/repos/ruby-hyperloop/hyper-mesh/issues/15","repository_url":"https://api.github.com/repos/ruby-hyperloop/hyper-mesh","labels_url":"https://api.github.com/repos/ruby-hyperloop/hyper-mesh/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/ruby-hyperloop/hyper-mesh/issues/15/comments","events_url":"https://api.github.com/repos/ruby-hyperloop/hyper-mesh/issues/15/events","html_url":"https://github.com/ruby-hyperloop/hyper-mesh/issues/15","id":194870045,"number":15,"title":"ActionCable QuickStart *almost* works out of the box","user":{"login":"costa","id":45370,"avatar_url":"https://avatars.githubusercontent.com/u/45370?v=3","gravatar_id":"","url":"https://api.github.com/users/costa","html_url":"https://github.com/costa","followers_url":"https://api.github.com/users/costa/followers","following_url":"https://api.github.com/users/costa/following{/other_user}","gists_url":"https://api.github.com/users/costa/gists{/gist_id}","starred_url":"https://api.github.com/users/costa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/costa/subscriptions","organizations_url":"https://api.github.com/users/costa/orgs","repos_url":"https://api.github.com/users/costa/repos","events_url":"https://api.github.com/users/costa/events{/privacy}","received_events_url":"https://api.github.com/users/costa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-12T00:43:01Z","updated_at":"2016-12-12T16:22:41Z","closed_at":"2016-12-12T16:22:41Z","body":"I mean https://github.com/ruby-hyperloop/hyper-mesh/blob/master/docs/action_cable_quickstart.md\r\n\r\nAfter completing the procedure, the (models CRUD) messages apparently fail to get through though WS is active.\r\n\r\nWhat I see when the page loads:\r\n```\r\nweb_1       | Started GET \"/rr/synchromesh-connect-to-transport/db732263-3623-45da-a270-78b3729f1193-9c4a4f42e4f64fe6ba67aefc93b588f8/Application\" for 172.18.0.1 at 2016-12-12 00:26:36 +0000\r\nweb_1       | Processing by ReactiveRecord::HyperMeshController#connect_to_transport as */*\r\nweb_1       |   Parameters: {\"client_id\"=>\"db732263-3623-45da-a270-78b3729f1193-9c4a4f42e4f64fe6ba67aefc93b588f8\", \"channel\"=>\"Application\"}\r\nweb_1       |   HyperMesh::Connection::QueuedMessage Load (1.0ms)  SELECT  \"synchromesh_queued_messages\".* FROM \"synchromesh_queued_messages\" WHERE \"synchromesh_queued_messages\".\"connection_id\" = $1 LIMIT $2  [[\"connection_id\", 0], [\"LIMIT\", 1]]\r\nweb_1       |    (0.5ms)  BEGIN\r\nweb_1       |    (0.6ms)  COMMIT\r\nweb_1       |   HyperMesh::Connection Load (1.2ms)  SELECT  \"synchromesh_connections\".* FROM \"synchromesh_connections\" WHERE \"synchromesh_connections\".\"channel\" = $1 AND \"synchromesh_connections\".\"session\" = $2 LIMIT $3  [[\"channel\", \"Application\"], [\"session\", \"db732263-3623-45da-a270-78b3729f1193-9c4a4f42e4f64fe6ba67aefc93b588f8\"], [\"LIMIT\", 1]]\r\nweb_1       |    (0.8ms)  SELECT \"synchromesh_queued_messages\".\"data\" FROM \"synchromesh_queued_messages\" WHERE (connection_id IS NULL OR connection_id != 0) AND \"synchromesh_queued_messages\".\"connection_id\" = $1  [[\"connection_id\", 4]]\r\nweb_1       |    (0.4ms)  BEGIN\r\nweb_1       |   HyperMesh::Connection::QueuedMessage Load (0.9ms)  SELECT \"synchromesh_queued_messages\".* FROM \"synchromesh_queued_messages\" WHERE (connection_id IS NULL OR connection_id != 0) AND \"synchromesh_queued_messages\".\"connection_id\" = $1  [[\"connection_id\", 4]]\r\nweb_1       |   SQL (0.7ms)  DELETE FROM \"synchromesh_connections\" WHERE \"synchromesh_connections\".\"id\" = $1  [[\"id\", 4]]\r\nweb_1       |    (11.6ms)  COMMIT\r\nweb_1       |   HyperMesh::Connection Load (1.0ms)  SELECT  \"synchromesh_connections\".* FROM \"synchromesh_connections\" WHERE \"synchromesh_connections\".\"channel\" = $1 AND \"synchromesh_connections\".\"session\" IS NULL LIMIT $2  [[\"channel\", \"Application\"], [\"LIMIT\", 1]]\r\nweb_1       | Completed 200 OK in 53ms (Views: 0.6ms | ActiveRecord: 18.7ms)\r\n```\r\n\r\nWhat I see when (right after) a model is updated:\r\n```\r\n   (0.6ms)  SELECT \"synchromesh_connections\".\"channel\" FROM \"synchromesh_connections\"\r\n  HyperMesh::Connection::QueuedMessage Load (0.3ms)  SELECT  \"synchromesh_queued_messages\".* FROM \"synchromesh_queued_messages\" WHERE \"synchromesh_queued_messages\".\"connection_id\" = $1 LIMIT $2  [[\"connection_id\", 0], [\"LIMIT\", 1]]\r\n  HyperMesh::Connection::QueuedMessage Load (0.4ms)  SELECT  \"synchromesh_queued_messages\".* FROM \"synchromesh_queued_messages\" WHERE \"synchromesh_queued_messages\".\"connection_id\" = $1 LIMIT $2  [[\"connection_id\", 0], [\"LIMIT\", 1]]\r\n  HyperMesh::Connection::QueuedMessage Load (0.3ms)  SELECT  \"synchromesh_queued_messages\".* FROM \"synchromesh_queued_messages\" WHERE \"synchromesh_queued_messages\".\"connection_id\" = $1 LIMIT $2  [[\"connection_id\", 0], [\"LIMIT\", 1]]\r\n```\r\n\r\nThese don't look right to me either.\r\n\r\nKindly advise on any debugging options please."}}
{"actor":{"display_login":"costa"}}