Skip to content

Instantly share code, notes, and snippets.

@luizpvas
Last active January 17, 2024 01:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luizpvas/db6713f08d5ba0bf295d0015f41be94d to your computer and use it in GitHub Desktop.
Save luizpvas/db6713f08d5ba0bf295d0015f41be94d to your computer and use it in GitHub Desktop.
anycable debug logs
incoming data
Object { type: "ping", message: 1705453463 }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
acquiring subscribe lock
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
unsubscribe lock has been acquired
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
unsubscribing...
Object { remoteId: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
outgoing message
Object { command: "unsubscribe", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
subscribe lock has been acquired
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
subscribing
Object { identifier: "Turbo::StreamsChannel", params: {…} }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
outgoing message
Object { command: "subscribe", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}', history: {…} }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
unsubscribed remotely
Object { id: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { type: "confirm_subscription", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
subscribed
Object { identifier: "Turbo::StreamsChannel", params: {…}, remoteId: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { type: "confirm_history", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
history result received
Object { type: "confirm_history", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { type: "ping", message: 1705453469 }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}', message: '<turbo-stream action="append" target="items-b"><template><div>1705453469</div></template></turbo-stream>', stream_id: "items-b", epoch: "F2dy", offset: 4 }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
processed incoming message
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}', message: '<turbo-stream action="append" target="items-b"><template><div>1705453469</div></template></turbo-stream>', meta: {…} }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { type: "ping", message: 1705453472 }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
acquiring unsubscribe lock
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
acquiring subscribe lock
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
unsubscribe lock has been acquired
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
unsubscribing...
Object { remoteId: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
outgoing message
Object { command: "unsubscribe", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
subscribe lock has been acquired
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
subscribing
Object { identifier: "Turbo::StreamsChannel", params: {…} }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
outgoing message
Object { command: "subscribe", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}', history: {…} }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
unsubscribed remotely
Object { id: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWIi--c7c70aed589783926494bd92e98984a799065a27f07c59a73a195c03fca19066"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { type: "confirm_subscription", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
subscribed
Object { identifier: "Turbo::StreamsChannel", params: {…}, remoteId: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}', message: '<turbo-stream action="append" target="items-a"><template><div>1705453471</div></template></turbo-stream>', stream_id: "items-a", epoch: "F2dy", offset: 8 }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
processed incoming message
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}', message: '<turbo-stream action="append" target="items-a"><template><div>1705453471</div></template></turbo-stream>', meta: {…} }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { type: "confirm_history", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
history result received
Object { type: "confirm_history", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { type: "ping", message: 1705453475 }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
Navigated to http://localhost:3000/agent/anycable_demo/a
transport closed
Object { error: undefined }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
disconnected
Object { reason: DisconnectedError }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
Reconnecting in 3599.4586395496412ms (1 attempt) application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6526:23
connecting application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6526:23
cancel subscribe, no connection
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { type: "welcome", sid: "G1ur7SKL4v9KI0rCUhWCs" }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
connected application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6526:23
acquiring subscribe lock
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
subscribe lock has been acquired
Object { identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
subscribing
Object { identifier: "Turbo::StreamsChannel", params: {…} }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
outgoing message
Object { command: "subscribe", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}', history: {…} }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { type: "confirm_subscription", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
subscribed
Object { identifier: "Turbo::StreamsChannel", params: {…}, remoteId: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { type: "confirm_history", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
history result received
Object { type: "confirm_history", identifier: '{"channel":"Turbo::StreamsChannel","signed_stream_name":"Iml0ZW1zLWEi--051ad5245fcd7cfe8583515ebda421eb423781f99bea91f811cc9a787d89d39d"}' }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { type: "ping", message: 1705453479 }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { type: "ping", message: 1705453482 }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
incoming data
Object { type: "ping", message: 1705453485 }
application.agent_app-3f3c6c5a6db9c83f5f356179e605a23f20efe7c1.js:6524:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment