Starting the WebSocket server on port 6001... New connection opened for app key 123456789. Connection id 225116586.400876137 sending message {"event":"pusher:connection_established","data":"{\"socket_id\":\"225116586.400876137\",\"activity_timeout\":30}"} 123456: connection id 225116586.400876137 received message: {"event":"pusher:subscribe","data":{"channel":"user1256"}}. Connection id 225116586.400876137 sending message {"event":"pusher_internal:subscription_succeeded","channel":"user1256"} 123456: connection id 225116586.400876137 received message: {"event":"pusher:subscribe","data":{"channel":"Room1337"}}. Connection id 225116586.400876137 sending message {"event":"pusher_internal:subscription_succeeded","channel":"Room1337"} Connection id 225116586.400876137 closed. array:2 [ "user1256" => BeyondCode\LaravelWebSockets\WebSockets\Channels\Channel {#1041 #channelName: "user1256" #subscribedConnections: array:1 [ "225116586.400876137" => BeyondCode\LaravelWebSockets\Server\Logger\ConnectionLogger {#1031 #connection: Ratchet\WebSocket\WsConnection {#1049 #wrappedConn: Ratchet\Server\IoConnection {#1017 #conn: React\Socket\Connection {#1005 +unix: false +encryptionEnabled: false +stream: stream resource {@722 timed_out: false blocked: false eof: true stream_type: "tcp_socket/ssl" mode: "r+" unread_bytes: 0 seekable: false options: array:1 [ "socket" => array:1 [ "backlog" => 511 ] ] } -input: React\Stream\DuplexResourceStream {#1007 -stream: stream resource @722 -loop: React\EventLoop\StreamSelectLoop {#553 -futureTickQueue: React\EventLoop\Tick\FutureTickQueue {#554 -queue: SplQueue {#555 -flags: 4 -dllist: [] mode: IT_MODE_FIFO | IT_MODE_KEEP dllist: [] } } -timers: React\EventLoop\Timer\Timers {#556 -time: 94099.54338952 -timers: array:2 [ "0000000039ac01d600000000242ea1c2" => React\EventLoop\Timer\Timer {#943 -interval: 60.0 -callback: Closure() {#942 class: "BeyondCode\LaravelWebSockets\Console\StartWebSocketServer" this: BeyondCode\LaravelWebSockets\Console\StartWebSocketServer {#548 …} file: "./vendor/beyondcode/laravel-websockets/src/Console/StartWebSocketServer.php" line: "74 to 76" } -periodic: true } "0000000039ac01c400000000242ea1c2" => React\EventLoop\Timer\Timer {#957 -interval: 10.0 -callback: Closure() {#947 class: "BeyondCode\LaravelWebSockets\Console\StartWebSocketServer" this: BeyondCode\LaravelWebSockets\Console\StartWebSocketServer {#548 …} file: "./vendor/beyondcode/laravel-websockets/src/Console/StartWebSocketServer.php" line: "118 to 122" } -periodic: true } ] -schedule: array:2 [ "0000000039ac01c400000000242ea1c2" => 94109.243823473 "0000000039ac01d600000000242ea1c2" => 94149.23968005 ] -sorted: true -useHighResolution: true } -readStreams: array:2 [ 656 => stream resource {@656 timed_out: false blocked: false eof: false stream_type: "tcp_socket/ssl" mode: "r+" unread_bytes: 0 seekable: false options: array:1 [ "socket" => array:1 [ "backlog" => 511 ] ] } 722 => stream resource @722 ] -readListeners: array:2 [ 656 => Closure($master) {#992 class: "React\Socket\TcpServer" this: React\Socket\TcpServer {#991 …} use: { $that: React\Socket\TcpServer {#991 …} } file: "./vendor/react/socket/src/TcpServer.php" line: "228 to 236" } 722 => array:2 [ 0 => React\Stream\DuplexResourceStream {#1007} 1 => "handleData" ] ] -writeStreams: [] -writeListeners: [] -running: true -pcntl: true -pcntlPoll: false -signals: React\EventLoop\SignalsHandler {#557 -signals: [] } } -bufferSize: 65536 -buffer: React\Stream\WritableResourceStream {#1004 -stream: stream resource @722 -loop: React\EventLoop\StreamSelectLoop {#553} -softLimit: 65536 -writeChunkSize: -1 -listening: false -writable: true -closed: false -data: "" #listeners: array:3 [ "error" => array:1 [ 0 => Closure($error) {#1006 class: "React\Stream\DuplexResourceStream" this: React\Stream\DuplexResourceStream {#1007} use: { $that: React\Stream\DuplexResourceStream {#1007} } file: "./vendor/react/stream/src/DuplexResourceStream.php" line: "82 to 84" } ] "close" => array:1 [ 0 => array:2 [ 0 => React\Stream\DuplexResourceStream {#1007} 1 => "close" ] ] "drain" => array:1 [ 0 => Closure() {#1013 class: "React\Stream\DuplexResourceStream" this: React\Stream\DuplexResourceStream {#1007} use: { $that: React\Stream\DuplexResourceStream {#1007} } file: "./vendor/react/stream/src/DuplexResourceStream.php" line: "88 to 90" } ] ] #onceListeners: [] } -readable: false -writable: false -closing: false -listening: true #listeners: array:6 [ "data" => array:1 [ 0 => Closure() {#976 class: "React\Stream\Util" use: { $event: "data" $target: React\Socket\Connection {#1005} } file: "./vendor/react/stream/src/Util.php" line: "70 to 72" } ] "end" => array:1 [ 0 => Closure() {#1012 class: "React\Stream\Util" use: { $event: "end" $target: React\Socket\Connection {#1005} } file: "./vendor/react/stream/src/Util.php" line: "70 to 72" } ] "error" => array:1 [ 0 => Closure() {#1011 class: "React\Stream\Util" use: { $event: "error" $target: React\Socket\Connection {#1005} } file: "./vendor/react/stream/src/Util.php" line: "70 to 72" } ] "close" => array:2 [ 0 => Closure() {#1010 class: "React\Stream\Util" use: { $event: "close" $target: React\Socket\Connection {#1005} } file: "./vendor/react/stream/src/Util.php" line: "70 to 72" } 1 => array:2 [ 0 => React\Socket\Connection {#1005} 1 => "close" ] ] "pipe" => array:1 [ 0 => Closure() {#1009 class: "React\Stream\Util" use: { $event: "pipe" $target: React\Socket\Connection {#1005} } file: "./vendor/react/stream/src/Util.php" line: "70 to 72" } ] "drain" => array:1 [ 0 => Closure() {#1008 class: "React\Stream\Util" use: { $event: "drain" $target: React\Socket\Connection {#1005} } file: "./vendor/react/stream/src/Util.php" line: "70 to 72" } ] ] #onceListeners: [] } #listeners: array:3 [ "data" => array:1 [ 0 => Closure($data) {#1016 class: "Ratchet\Server\IoServer" this: Ratchet\Server\IoServer {#1003 …} use: { $conn: React\Socket\Connection {#1005} } file: "./vendor/cboden/ratchet/src/Ratchet/Server/IoServer.php" line: "94 to 96" } ] "close" => array:1 [ 0 => Closure() {#1015 class: "Ratchet\Server\IoServer" this: Ratchet\Server\IoServer {#1003 …} use: { $conn: React\Socket\Connection {#1005} } file: "./vendor/cboden/ratchet/src/Ratchet/Server/IoServer.php" line: "97 to 99" } ] "error" => array:1 [ 0 => Closure(Exception $e) {#1014 class: "Ratchet\Server\IoServer" this: Ratchet\Server\IoServer {#1003 …} use: { $conn: React\Socket\Connection {#1005} } file: "./vendor/cboden/ratchet/src/Ratchet/Server/IoServer.php" line: "100 to 102" } ] ] #onceListeners: [] +"decor": Ratchet\Server\IoConnection {#1017} } +"resourceId": 722 +"remoteAddress": "197.34.103.114" +"httpHeadersReceived": true +"controller": Ratchet\WebSocket\WsServer {#962 -delegate: BeyondCode\LaravelWebSockets\Server\Logger\WebsocketsLogger {#963 #app: BeyondCode\LaravelWebSockets\WebSockets\WebSocketHandler {#965 #channelManager: BeyondCode\LaravelWebSockets\WebSockets\Channels\ChannelManagers\ArrayChannelManager {#966 #appId: null #channels: array:1 [ 123456 => array:2 [ "user1256" => BeyondCode\LaravelWebSockets\WebSockets\Channels\Channel {#1041} "Room1337" => BeyondCode\LaravelWebSockets\WebSockets\Channels\Channel {#1037 #channelName: "Room1337" #subscribedConnections: array:1 [ "225116586.400876137" => BeyondCode\LaravelWebSockets\Server\Logger\ConnectionLogger {#1050 #connection: Ratchet\WebSocket\WsConnection {#1049} #consoleOutput: Illuminate\Console\OutputStyle {#922 -output: Symfony\Component\Console\Output\ConsoleOutput {#25 -stderr: Symfony\Component\Console\Output\StreamOutput {#43 -stream: stream resource {@3 timed_out: false blocked: true eof: false wrapper_type: "PHP" stream_type: "STDIO" mode: "wb" unread_bytes: 0 seekable: false uri: "php://stderr" options: [] } -verbosity: 32 -formatter: Symfony\Component\Console\Formatter\OutputFormatter {#44 -decorated: true -styles: array:4 [ "error" => Symfony\Component\Console\Formatter\OutputFormatterStyle {#45 …6} "info" => Symfony\Component\Console\Formatter\OutputFormatterStyle {#47 …6} "comment" => Symfony\Component\Console\Formatter\OutputFormatterStyle {#49 …6} "question" => Symfony\Component\Console\Formatter\OutputFormatterStyle {#51 …6} ] -styleStack: Symfony\Component\Console\Formatter\OutputFormatterStyleStack {#53 -styles: [] -emptyStyle: Symfony\Component\Console\Formatter\OutputFormatterStyle {#54 …6} } } } -consoleSectionOutputs: [] -stream: stream resource {@2 timed_out: false blocked: true eof: false wrapper_type: "PHP" stream_type: "STDIO" mode: "wb" unread_bytes: 0 seekable: true uri: "php://stdout" options: [] } -verbosity: 32 -formatter: Symfony\Component\Console\Formatter\OutputFormatter {#24 -decorated: false -styles: array:5 [ "error" => Symfony\Component\Console\Formatter\OutputFormatterStyle {#32 -color: Symfony\Component\Console\Color {#33 …3} -foreground: "white" -background: "red" -options: [] -href: null -handlesHrefGracefully: null } "info" => Symfony\Component\Console\Formatter\OutputFormatterStyle {#34 -color: Symfony\Component\Console\Color {#35 …3} -foreground: "green" -background: "" -options: [] -href: null -handlesHrefGracefully: true } "comment" => Symfony\Component\Console\Formatter\OutputFormatterStyle {#36 -color: Symfony\Component\Console\Color {#37 …3} -foreground: "yellow" -background: "" -options: [] -href: null -handlesHrefGracefully: null } "question" => Symfony\Component\Console\Formatter\OutputFormatterStyle {#38 -color: Symfony\Component\Console\Color {#39 …3} -foreground: "black" -background: "cyan" -options: [] -href: null -handlesHrefGracefully: null } "warning" => Symfony\Component\Console\Formatter\OutputFormatterStyle {#1027 -color: Symfony\Component\Console\Color {#1026 …3} -foreground: "yellow" -background: "" -options: [] -href: null -handlesHrefGracefully: true } ] -styleStack: Symfony\Component\Console\Formatter\OutputFormatterStyleStack {#40 -styles: [] -emptyStyle: Symfony\Component\Console\Formatter\OutputFormatterStyle {#41 -color: Symfony\Component\Console\Color {#42 …3} -foreground: "" -background: "" -options: [] -href: null -handlesHrefGracefully: null } } } } -input: Symfony\Component\Console\Input\ArgvInput {#27 -tokens: array:1 [ 0 => "websocket:ser" ] -parsed: [] #definition: Symfony\Component\Console\Input\InputDefinition {#921 -arguments: array:1 [ "command" => Symfony\Component\Console\Input\InputArgument {#911 -name: "command" -mode: 1 -default: null -description: "The command to execute" } ] -requiredCount: 1 -lastArrayArgument: null -lastOptionalArgument: null -options: array:10 [ "host" => Symfony\Component\Console\Input\InputOption {#549 -name: "host" -shortcut: null -mode: 4 -default: "0.0.0.0" -description: "" } "port" => Symfony\Component\Console\Input\InputOption {#550 -name: "port" -shortcut: null -mode: 4 -default: "6001" -description: "" } "debug" => Symfony\Component\Console\Input\InputOption {#551 -name: "debug" -shortcut: null -mode: 1 -default: false -description: "Forces the loggers to be enabled and thereby overriding the app.debug config setting" } "help" => Symfony\Component\Console\Input\InputOption {#912 -name: "help" -shortcut: "h" -mode: 1 -default: false -description: "Display help for the given command. When no command is given display help for the list command" } "quiet" => Symfony\Component\Console\Input\InputOption {#913 -name: "quiet" -shortcut: "q" -mode: 1 -default: false -description: "Do not output any message" } "verbose" => Symfony\Component\Console\Input\InputOption {#914 -name: "verbose" -shortcut: "v|vv|vvv" -mode: 1 -default: false -description: "Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug" } "version" => Symfony\Component\Console\Input\InputOption {#915 -name: "version" -shortcut: "V" -mode: 1 -default: false -description: "Display this application version" } "ansi" => Symfony\Component\Console\Input\InputOption {#916 -name: "ansi" -shortcut: null -mode: 16 -default: null -description: "Force (or disable --no-ansi) ANSI output" } "no-interaction" => Symfony\Component\Console\Input\InputOption {#917 -name: "no-interaction" -shortcut: "n" -mode: 1 -default: false -description: "Do not ask any interactive question" } "env" => Symfony\Component\Console\Input\InputOption {#919 -name: "env" -shortcut: null -mode: 4 -default: null -description: "The environment the command should run under" } ] -negations: array:1 [ "no-ansi" => "ansi" ] -shortcuts: array:7 [ "h" => "help" "q" => "quiet" "v" => "verbose" "vv" => "verbose" "vvv" => "verbose" "V" => "version" "n" => "no-interaction" ] } #stream: null #options: [] #arguments: array:1 [ "command" => "websocket:ser" ] #interactive: true } -questionHelper: null -progressBar: null -lineLength: 78 -bufferedOutput: Symfony\Component\Console\Output\TrimmedBufferOutput {#923 -maxLength: 2 -buffer: ">\n" -verbosity: 32 -formatter: Symfony\Component\Console\Formatter\OutputFormatter {#924 -decorated: false -styles: array:4 [ "error" => Symfony\Component\Console\Formatter\OutputFormatterStyle {#926 -color: Symfony\Component\Console\Color {#33} -foreground: "white" -background: "red" -options: [] -href: null -handlesHrefGracefully: null } "info" => Symfony\Component\Console\Formatter\OutputFormatterStyle {#927 -color: Symfony\Component\Console\Color {#35} -foreground: "green" -background: "" -options: [] -href: null -handlesHrefGracefully: true } "comment" => Symfony\Component\Console\Formatter\OutputFormatterStyle {#928 -color: Symfony\Component\Console\Color {#37} -foreground: "yellow" -background: "" -options: [] -href: null -handlesHrefGracefully: null } "question" => Symfony\Component\Console\Formatter\OutputFormatterStyle {#929 -color: Symfony\Component\Console\Color {#39} -foreground: "black" -background: "cyan" -options: [] -href: null -handlesHrefGracefully: null } ] -styleStack: Symfony\Component\Console\Formatter\OutputFormatterStyleStack {#925 -styles: [] -emptyStyle: Symfony\Component\Console\Formatter\OutputFormatterStyle {#41} } } } -output: Symfony\Component\Console\Output\ConsoleOutput {#25} -output: Symfony\Component\Console\Output\ConsoleOutput {#25} } #enabled: true #verbose: false } ] } ] ] } } #consoleOutput: Illuminate\Console\OutputStyle {#922} #enabled: true #verbose: false } #connections: SplObjectStorage {#968 storage: [] } -closeFrameChecker: Ratchet\RFC6455\Messaging\CloseFrameChecker {#969 -validCloseCodes: array:9 [ 0 => 1000 1 => 1001 2 => 1002 3 => 1003 4 => 1007 5 => 1008 6 => 1009 7 => 1010 8 => 1011 ] } -handshakeNegotiator: Ratchet\RFC6455\Handshake\ServerNegotiator {#970 -verifier: Ratchet\RFC6455\Handshake\RequestVerifier {#971} -_supportedSubProtocols: [] -_strictSubProtocols: true -enablePerMessageDeflate: false } -ueFlowFactory: Closure() {#974 class: "Ratchet\WebSocket\WsServer" this: Ratchet\WebSocket\WsServer {#962} use: { $reusableUnderflowException: UnderflowException {#973 …} } file: "./vendor/cboden/ratchet/src/Ratchet/WebSocket/WsServer.php" line: "99 to 101" } -pongReceiver: Closure() {#972 class: "Ratchet\WebSocket\WsServer" this: Ratchet\WebSocket\WsServer {#962} file: "./vendor/cboden/ratchet/src/Ratchet/WebSocket/WsServer.php" line: "96 to 96" } -msgCb: Closure(ConnectionInterface $conn, MessageInterface $msg) {#967 class: "Ratchet\WebSocket\WsServer" this: Ratchet\WebSocket\WsServer {#962} file: "./vendor/cboden/ratchet/src/Ratchet/WebSocket/WsServer.php" line: "70 to 72" } } +"httpRequest": GuzzleHttp\Psr7\Request {#1035 -method: "GET" -requestTarget: null -uri: GuzzleHttp\Psr7\Uri {#1030 -scheme: "http" -userInfo: "" -host: "168.119.119.249" -port: 6001 -path: "/app/123456789" -query: "appKey=123456789&client=java-client&protocol=5&version=2.2.5" -fragment: "" -composedComponents: null } -headers: array:5 [ "Host" => array:1 [ 0 => "168.119.119.249:6001" ] "Connection" => array:1 [ 0 => "Upgrade" ] "Sec-WebSocket-Key" => array:1 [ 0 => "DQRZtDZm3VD51gR4FPFaTw==" ] "Sec-WebSocket-Version" => array:1 [ 0 => "13" ] "Upgrade" => array:1 [ 0 => "websocket" ] ] -headerNames: array:5 [ "connection" => "Connection" "host" => "Host" "sec-websocket-key" => "Sec-WebSocket-Key" "sec-websocket-version" => "Sec-WebSocket-Version" "upgrade" => "Upgrade" ] -protocol: "1.1" -stream: null } +"WebSocket": {#1029 +"closing": false } +"app": BeyondCode\LaravelWebSockets\Apps\App {#1044 +id: "123456" +key: "123456789" +secret: "1234" +name: "Laravel" +host: null +path: null +capacity: null +clientMessagesEnabled: false +statisticsEnabled: true } +"socketId": "225116586.400876137" } } #consoleOutput: Illuminate\Console\OutputStyle {#922} #enabled: true #verbose: false } ] } "Room1337" => BeyondCode\LaravelWebSockets\WebSockets\Channels\Channel {#1037} ]