Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Started GET "/cable" for 192.168.10.1 at 2020-05-12 01:44:23 -0400
Cannot render console from 192.168.10.1! Allowed networks: 127.0.0.0/127.255.255.255, ::1
Started GET "/cable/" [WebSocket] for 192.168.10.1 at 2020-05-12 01:44:23 -0400
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
MessageChannel is transmitting the subscription confirmation
MessageChannel is streaming from message_channel
Started POST "/messages" for 192.168.10.1 at 2020-05-12 02:03:46 -0400
Cannot render console from 192.168.10.1! Allowed networks: 127.0.0.0/127.255.255.255, ::1
Processing by MessagesController#create as JS
Parameters: {"authenticity_token"=>"THN/hrp7vJH7UTIQRunVvFxao9/2x1ZXdyK3yXuQFCOsNWdAsaJTSXBrAhqP8jqp+h3eP71cl2Hy8hmqkzja/A==", "message"=>{"content"=>"ii"}, "commit"=>"Create Message"}
 (0.2ms) BEGIN
↳ app/controllers/messages_controller.rb:10:in `create'
Message Create (0.6ms) INSERT INTO "messages" ("content", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["content", "ii"], ["created_at", "2020-05-12 06:03:46.106561"], ["updated_at", "2020-05-12 06:03:46.106561"]]
↳ app/controllers/messages_controller.rb:10:in `create'
 (1.1ms) COMMIT
↳ app/controllers/messages_controller.rb:10:in `create'
Rendered messages/_message.html.erb (Duration: 0.1ms | Allocations: 16)
[ActionCable] Broadcasting to message_channel: {:message=>"<div>\n 2020-05-12 06:03:46 UTC: ii\n</div>\n"}
Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 1.9ms | Allocations: 3072)
MessageChannel transmitting {"message"=>"<div>\n 2020-05-12 06:03:46 UTC: ii\n</div>\n"} (via streamed from message_channel)
MessageChannel transmitting {"message"=>"<div>\n 2020-05-12 06:03:46 UTC: ii\n</div>\n"} (via streamed from message_channel)
Started GET "/messages" for 192.168.10.1 at 2020-05-12 02:03:53 -0400
Cannot render console from 192.168.10.1! Allowed networks: 127.0.0.0/127.255.255.255, ::1
Processing by MessagesController#index as HTML
Rendering messages/index.html.erb within layouts/application
Message Load (0.4ms) SELECT "messages".* FROM "messages"
↳ app/views/messages/index.html.erb:7
Rendered collection of messages/_message.html.erb [22 times] (Duration: 1.0ms | Allocations: 378)
Rendered messages/index.html.erb within layouts/application (Duration: 3.7ms | Allocations: 1876)
Completed 200 OK in 13ms (Views: 11.8ms | ActiveRecord: 0.4ms | Allocations: 4814)
Finished "/cable/" [WebSocket] for 192.168.10.1 at 2020-05-12 02:03:53 -0400
MessageChannel stopped streaming from message_channel
Started GET "/cable" for 192.168.10.1 at 2020-05-12 02:03:54 -0400
Cannot render console from 192.168.10.1! Allowed networks: 127.0.0.0/127.255.255.255, ::1
Started GET "/cable/" [WebSocket] for 192.168.10.1 at 2020-05-12 02:03:54 -0400
Successfully upgraded to WebSocket (REQUEST_METHOD: GET, HTTP_CONNECTION: Upgrade, HTTP_UPGRADE: websocket)
MessageChannel is transmitting the subscription confirmation
MessageChannel is streaming from message_channel
Finished "/cable/" [WebSocket] for 192.168.10.1 at 2020-05-12 02:14:25 -0400
MessageChannel stopped streaming from message_channel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment