You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swift Version: 4
Backend: Laravel Echo Server (NodeJS based used in Laravel Framework)
I'm trying to figure out a way to connect to a working socket port. The socket works fine on the web side and even on android too. But for some reason just doesn't connect on IOS. Any advise appreciated.
PS: also am I correct in using how to send JWT auth token as a header
let manager = SocketManager(socketURL: URL(string: "http://192.168.31.115:6001")!,config: [.log(true),.extraHeaders(["Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjMsImlzcyI6Imh0dHA6Ly9sb2NhbGhvc3Q6ODg4OC9oaXRzaG90LWNoYXQvcHVibGljL2FwaS91c2VyL2xvZ2luIiwiaWF0IjoxNTE1NTg3ODMxLCJleHAiOjM3NTE1NTg3ODMxLCJuYmYiOjE1MTU1ODc4MzEsImp0aSI6IkN2UnJGNUM2ckVLcTY0d28ifQ.Rx7ua1biL3B3DQCguc1tdjY2GbnyX-okjwpLCkjXtHQ"])])
Below is the log from xcode.
2018-01-10 18:45:55.324958+0530 realtime[84282:7655016] [Accessibility] ****************** Loading GAX Client Bundle ****************
2018-01-10 18:45:55.481884+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Adding handler for event: connect
2018-01-10 18:45:55.482579+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Adding handler for event: headlines_updated
2018-01-10 18:45:55.484312+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: statusChange with data: [connecting]
2018-01-10 18:45:55.484644+0530 realtime[84282:7655016] LOG SocketManager: Tried connecting socket when engine isn't open. Connecting
2018-01-10 18:45:55.484688+0530 realtime[84282:7655016] LOG SocketManager: Adding engine
2018-01-10 18:45:55.485754+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:45:55.485790+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:45:55.487020+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:45:55.523608+0530 realtime[84282:7655071] TIC TCP Conn Failed [1:0x1c0162e80]: 1:61 Err(61)
2018-01-10 18:45:55.523745+0530 realtime[84282:7655071] Task <863E0582-3EA3-4920-A204-2FE54CBBA783>.<1> HTTP load failed (error code: -1004 [1:61])
2018-01-10 18:45:55.524030+0530 realtime[84282:7655070] Task <863E0582-3EA3-4920-A204-2FE54CBBA783>.<1> finished with error - code: -1004
2018-01-10 18:45:56.036683+0530 realtime[84282:7655016] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2018-01-10 18:45:56.037235+0530 realtime[84282:7655016] [MC] Reading from public effective user settings.
2018-01-10 18:45:58.227042+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:46:01.667521+0530 realtime[84282:7655060] TIC TCP Conn Failed [2:0x1c01630c0]: 1:51 Err(51)
2018-01-10 18:46:01.667969+0530 realtime[84282:7655060] Task <1CBF6D75-315F-4FD7-AF54-E9051D63D145>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:46:01.668721+0530 realtime[84282:7655063] Task <1CBF6D75-315F-4FD7-AF54-E9051D63D145>.<1> finished with error - code: -1004
2018-01-10 18:46:01.670424+0530 realtime[84282:7655060] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:46:01.670735+0530 realtime[84282:7655060] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:46:01.670938+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:46:01.671376+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:46:01.671873+0530 realtime[84282:7655016] LOG SocketManager: Starting reconnect
2018-01-10 18:46:01.672047+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:46:01.674884+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-1]
2018-01-10 18:46:01.675372+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:46:01.675476+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:46:01.676500+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:46:06.772474+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:46:07.811404+0530 realtime[84282:7655060] TIC TCP Conn Failed [3:0x1c0164140]: 1:51 Err(51)
2018-01-10 18:46:07.811808+0530 realtime[84282:7655060] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:46:07.812279+0530 realtime[84282:7655070] Task .<1> finished with error - code: -1004
2018-01-10 18:46:07.812885+0530 realtime[84282:7655060] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:46:07.813000+0530 realtime[84282:7655060] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:46:07.813133+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:46:07.813298+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:46:12.663281+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:46:12.663560+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-2]
2018-01-10 18:46:12.664005+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:46:12.664111+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:46:12.664933+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:46:16.884974+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:46:18.874163+0530 realtime[84282:7655070] TIC TCP Conn Failed [4:0x1c0162f40]: 1:51 Err(51)
2018-01-10 18:46:18.874675+0530 realtime[84282:7655070] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:46:18.875319+0530 realtime[84282:7655063] Task .<1> finished with error - code: -1004
2018-01-10 18:46:18.876087+0530 realtime[84282:7655070] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:46:18.876253+0530 realtime[84282:7655070] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:46:18.876441+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:46:18.876677+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:46:23.662960+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:46:23.663101+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-3]
2018-01-10 18:46:23.663267+0530 realtime[84282:7655070] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:46:23.663316+0530 realtime[84282:7655070] LOG SocketEngine: Handshaking
2018-01-10 18:46:23.663646+0530 realtime[84282:7655070] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:46:26.880286+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:46:29.721708+0530 realtime[84282:7655063] TIC TCP Conn Failed [5:0x1c4163240]: 1:51 Err(51)
2018-01-10 18:46:29.722088+0530 realtime[84282:7655063] Task <399F310D-59B1-4E67-879E-5EFEA11FABD6>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:46:29.722701+0530 realtime[84282:7655060] Task <399F310D-59B1-4E67-879E-5EFEA11FABD6>.<1> finished with error - code: -1004
2018-01-10 18:46:29.723468+0530 realtime[84282:7655063] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:46:29.723638+0530 realtime[84282:7655063] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:46:29.723827+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:46:29.724061+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:46:34.663157+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:46:34.663444+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-4]
2018-01-10 18:46:34.664062+0530 realtime[84282:7655063] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:46:34.664250+0530 realtime[84282:7655063] LOG SocketEngine: Handshaking
2018-01-10 18:46:34.665352+0530 realtime[84282:7655063] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:46:37.168455+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:46:40.780957+0530 realtime[84282:7655063] TIC TCP Conn Failed [6:0x1c0164140]: 1:51 Err(51)
2018-01-10 18:46:40.781757+0530 realtime[84282:7655063] Task <1D5148AA-87DA-426E-A8F2-E222F10DE4E1>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:46:40.785638+0530 realtime[84282:7655070] Task <1D5148AA-87DA-426E-A8F2-E222F10DE4E1>.<1> finished with error - code: -1004
2018-01-10 18:46:40.786497+0530 realtime[84282:7655063] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:46:40.786663+0530 realtime[84282:7655063] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:46:40.786849+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:46:40.787082+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:46:45.663130+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:46:45.663407+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-5]
2018-01-10 18:46:45.663839+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:46:45.663943+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:46:45.664595+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:46:47.484543+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:46:51.697609+0530 realtime[84282:7655063] TIC TCP Conn Failed [7:0x1c01630c0]: 1:51 Err(51)
2018-01-10 18:46:51.697853+0530 realtime[84282:7655063] Task <7651E001-8960-42B8-BBE2-E20C0C993A22>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:46:51.698311+0530 realtime[84282:7655060] Task <7651E001-8960-42B8-BBE2-E20C0C993A22>.<1> finished with error - code: -1004
2018-01-10 18:46:51.698781+0530 realtime[84282:7655063] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:46:51.698884+0530 realtime[84282:7655063] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:46:51.699016+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:46:51.699152+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:46:56.663063+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:46:56.663340+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-6]
2018-01-10 18:46:56.663772+0530 realtime[84282:7655070] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:46:56.663874+0530 realtime[84282:7655070] LOG SocketEngine: Handshaking
2018-01-10 18:46:56.664535+0530 realtime[84282:7655070] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:46:57.514318+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:47:02.800921+0530 realtime[84282:7655060] TIC TCP Conn Failed [8:0x1c01636c0]: 1:51 Err(51)
2018-01-10 18:47:02.801336+0530 realtime[84282:7655060] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:47:02.801948+0530 realtime[84282:7655063] Task .<1> finished with error - code: -1004
2018-01-10 18:47:02.803182+0530 realtime[84282:7655060] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:47:02.803356+0530 realtime[84282:7655060] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:47:02.803550+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:47:02.803784+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:47:07.662766+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:47:07.662908+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-7]
2018-01-10 18:47:07.663112+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:47:07.663175+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:47:07.663527+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:47:07.783657+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:47:13.761764+0530 realtime[84282:7655060] TIC TCP Conn Failed [9:0x1c0162f40]: 1:51 Err(51)
2018-01-10 18:47:13.762870+0530 realtime[84282:7655060] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:47:13.763469+0530 realtime[84282:7655063] Task .<1> finished with error - code: -1004
2018-01-10 18:47:13.764222+0530 realtime[84282:7655060] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:47:13.764386+0530 realtime[84282:7655060] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:47:13.764576+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:47:13.764812+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:47:17.938206+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:47:18.582476+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:47:18.582620+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-8]
2018-01-10 18:47:18.582811+0530 realtime[84282:7655070] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:47:18.582847+0530 realtime[84282:7655070] LOG SocketEngine: Handshaking
2018-01-10 18:47:18.583143+0530 realtime[84282:7655070] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:47:24.710291+0530 realtime[84282:7655070] TIC TCP Conn Failed [10:0x1c4161f80]: 1:51 Err(51)
2018-01-10 18:47:24.710711+0530 realtime[84282:7655070] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:47:24.711323+0530 realtime[84282:7655063] Task .<1> finished with error - code: -1004
2018-01-10 18:47:24.712089+0530 realtime[84282:7655070] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:47:24.712259+0530 realtime[84282:7655070] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:47:24.712453+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:47:24.712691+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:47:28.075229+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:47:29.555766+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:47:29.556043+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-9]
2018-01-10 18:47:29.556467+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:47:29.556574+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:47:29.557236+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:47:35.671331+0530 realtime[84282:7655070] TIC TCP Conn Failed [11:0x1c0162a00]: 1:51 Err(51)
2018-01-10 18:47:35.671758+0530 realtime[84282:7655070] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:47:35.672369+0530 realtime[84282:7655063] Task .<1> finished with error - code: -1004
2018-01-10 18:47:35.673127+0530 realtime[84282:7655070] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:47:35.673300+0530 realtime[84282:7655070] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:47:35.673494+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:47:35.673729+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:47:38.206985+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:47:40.484842+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:47:40.485109+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-10]
2018-01-10 18:47:40.485520+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:47:40.485622+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:47:40.486281+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:47:46.632256+0530 realtime[84282:7655070] TIC TCP Conn Failed [12:0x1c0163900]: 1:51 Err(51)
2018-01-10 18:47:46.632925+0530 realtime[84282:7655070] Task <71204DE8-0FC8-4C95-9E30-0EB5A87614B0>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:47:46.633665+0530 realtime[84282:7655060] Task <71204DE8-0FC8-4C95-9E30-0EB5A87614B0>.<1> finished with error - code: -1004
2018-01-10 18:47:46.634917+0530 realtime[84282:7655070] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:47:46.635256+0530 realtime[84282:7655070] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:47:46.635716+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:47:46.636038+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:47:48.402014+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:47:51.484747+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:47:51.485026+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-11]
2018-01-10 18:47:51.485439+0530 realtime[84282:7655063] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:47:51.485543+0530 realtime[84282:7655063] LOG SocketEngine: Handshaking
2018-01-10 18:47:51.486199+0530 realtime[84282:7655063] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:47:57.584533+0530 realtime[84282:7655063] TIC TCP Conn Failed [13:0x1c0161680]: 1:51 Err(51)
2018-01-10 18:47:57.584921+0530 realtime[84282:7655063] Task <2B452611-0093-465C-85C9-0854C10BA895>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:47:57.586396+0530 realtime[84282:7655060] Task <2B452611-0093-465C-85C9-0854C10BA895>.<1> finished with error - code: -1004
2018-01-10 18:47:57.587315+0530 realtime[84282:7655063] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:47:57.587485+0530 realtime[84282:7655063] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:47:57.587667+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:47:57.587903+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:47:58.667097+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:48:02.484650+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:48:02.484924+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-12]
2018-01-10 18:48:02.485338+0530 realtime[84282:7655070] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:48:02.485439+0530 realtime[84282:7655070] LOG SocketEngine: Handshaking
2018-01-10 18:48:02.486097+0530 realtime[84282:7655070] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:48:08.541305+0530 realtime[84282:7655070] TIC TCP Conn Failed [14:0x1c01636c0]: 1:51 Err(51)
2018-01-10 18:48:08.541574+0530 realtime[84282:7655070] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:48:08.541997+0530 realtime[84282:7655060] Task .<1> finished with error - code: -1004
2018-01-10 18:48:08.542570+0530 realtime[84282:7655070] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:48:08.542740+0530 realtime[84282:7655070] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:48:08.542923+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:48:08.543092+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:48:08.788326+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:48:13.485077+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:48:13.485350+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-13]
2018-01-10 18:48:13.485761+0530 realtime[84282:7655063] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:48:13.485864+0530 realtime[84282:7655063] LOG SocketEngine: Handshaking
2018-01-10 18:48:13.486744+0530 realtime[84282:7655063] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:48:18.895284+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:48:19.601104+0530 realtime[84282:7655060] TIC TCP Conn Failed [15:0x1c0164140]: 1:51 Err(51)
2018-01-10 18:48:19.601454+0530 realtime[84282:7655060] Task <054391B5-3469-4946-84E4-22B3567640EF>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:48:19.602006+0530 realtime[84282:7655070] Task <054391B5-3469-4946-84E4-22B3567640EF>.<1> finished with error - code: -1004
2018-01-10 18:48:19.602412+0530 realtime[84282:7655060] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:48:19.602494+0530 realtime[84282:7655060] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:48:19.602622+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:48:19.602752+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:48:24.484541+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:48:24.484816+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-14]
2018-01-10 18:48:24.485230+0530 realtime[84282:7655063] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:48:24.485334+0530 realtime[84282:7655063] LOG SocketEngine: Handshaking
2018-01-10 18:48:24.485986+0530 realtime[84282:7655063] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:48:29.084237+0530 realtime[84282:7655070] [MC] Invalidating cache
2018-01-10 18:48:30.662687+0530 realtime[84282:7655070] TIC TCP Conn Failed [16:0x1c01630c0]: 1:51 Err(51)
2018-01-10 18:48:30.663066+0530 realtime[84282:7655070] Task <3D26C129-C5AE-4886-B07B-636B2480DD8A>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:48:30.663669+0530 realtime[84282:7655060] Task <3D26C129-C5AE-4886-B07B-636B2480DD8A>.<1> finished with error - code: -1004
2018-01-10 18:48:30.664427+0530 realtime[84282:7655070] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:48:30.664595+0530 realtime[84282:7655070] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:48:30.664783+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:48:30.665018+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:48:35.484469+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:48:35.484745+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-15]
2018-01-10 18:48:35.485162+0530 realtime[84282:7655063] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:48:35.485267+0530 realtime[84282:7655063] LOG SocketEngine: Handshaking
2018-01-10 18:48:35.485912+0530 realtime[84282:7655063] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:48:39.346490+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:48:41.720184+0530 realtime[84282:7655063] TIC TCP Conn Failed [17:0x1c0162f40]: 1:51 Err(51)
2018-01-10 18:48:41.720603+0530 realtime[84282:7655063] Task <58E202A1-5E72-4FE6-BC64-4AFB3FA2494E>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:48:41.721232+0530 realtime[84282:7655070] Task <58E202A1-5E72-4FE6-BC64-4AFB3FA2494E>.<1> finished with error - code: -1004
2018-01-10 18:48:41.721998+0530 realtime[84282:7655063] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:48:41.722166+0530 realtime[84282:7655063] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:48:41.722359+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:48:41.722597+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:48:46.484415+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:48:46.484692+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-16]
2018-01-10 18:48:46.485102+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:48:46.485205+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:48:46.485861+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
The text was updated successfully, but these errors were encountered:
Swift Version: 4
Backend: Laravel Echo Server (NodeJS based used in Laravel Framework)
I'm trying to figure out a way to connect to a working socket port. The socket works fine on the web side and even on android too. But for some reason just doesn't connect on IOS. Any advise appreciated.
PS: also am I correct in using how to send JWT auth token as a header
let manager = SocketManager(socketURL: URL(string: "http://192.168.31.115:6001")!,config: [.log(true),.extraHeaders(["Authorization": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjMsImlzcyI6Imh0dHA6Ly9sb2NhbGhvc3Q6ODg4OC9oaXRzaG90LWNoYXQvcHVibGljL2FwaS91c2VyL2xvZ2luIiwiaWF0IjoxNTE1NTg3ODMxLCJleHAiOjM3NTE1NTg3ODMxLCJuYmYiOjE1MTU1ODc4MzEsImp0aSI6IkN2UnJGNUM2ckVLcTY0d28ifQ.Rx7ua1biL3B3DQCguc1tdjY2GbnyX-okjwpLCkjXtHQ"])])
Below is the log from xcode.
2018-01-10 18:45:55.324958+0530 realtime[84282:7655016] [Accessibility] ****************** Loading GAX Client Bundle ****************
2018-01-10 18:45:55.481884+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Adding handler for event: connect
2018-01-10 18:45:55.482579+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Adding handler for event: headlines_updated
2018-01-10 18:45:55.484312+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: statusChange with data: [connecting]
2018-01-10 18:45:55.484644+0530 realtime[84282:7655016] LOG SocketManager: Tried connecting socket when engine isn't open. Connecting
2018-01-10 18:45:55.484688+0530 realtime[84282:7655016] LOG SocketManager: Adding engine
2018-01-10 18:45:55.485754+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:45:55.485790+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:45:55.487020+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:45:55.523608+0530 realtime[84282:7655071] TIC TCP Conn Failed [1:0x1c0162e80]: 1:61 Err(61)
2018-01-10 18:45:55.523745+0530 realtime[84282:7655071] Task <863E0582-3EA3-4920-A204-2FE54CBBA783>.<1> HTTP load failed (error code: -1004 [1:61])
2018-01-10 18:45:55.524030+0530 realtime[84282:7655070] Task <863E0582-3EA3-4920-A204-2FE54CBBA783>.<1> finished with error - code: -1004
2018-01-10 18:45:56.036683+0530 realtime[84282:7655016] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /private/var/containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles
2018-01-10 18:45:56.037235+0530 realtime[84282:7655016] [MC] Reading from public effective user settings.
2018-01-10 18:45:58.227042+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:46:01.667521+0530 realtime[84282:7655060] TIC TCP Conn Failed [2:0x1c01630c0]: 1:51 Err(51)
2018-01-10 18:46:01.667969+0530 realtime[84282:7655060] Task <1CBF6D75-315F-4FD7-AF54-E9051D63D145>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:46:01.668721+0530 realtime[84282:7655063] Task <1CBF6D75-315F-4FD7-AF54-E9051D63D145>.<1> finished with error - code: -1004
2018-01-10 18:46:01.670424+0530 realtime[84282:7655060] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:46:01.670735+0530 realtime[84282:7655060] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:46:01.670938+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:46:01.671376+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:46:01.671873+0530 realtime[84282:7655016] LOG SocketManager: Starting reconnect
2018-01-10 18:46:01.672047+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:46:01.674884+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-1]
2018-01-10 18:46:01.675372+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:46:01.675476+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:46:01.676500+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:46:06.772474+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:46:07.811404+0530 realtime[84282:7655060] TIC TCP Conn Failed [3:0x1c0164140]: 1:51 Err(51)
2018-01-10 18:46:07.811808+0530 realtime[84282:7655060] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:46:07.812279+0530 realtime[84282:7655070] Task .<1> finished with error - code: -1004
2018-01-10 18:46:07.812885+0530 realtime[84282:7655060] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:46:07.813000+0530 realtime[84282:7655060] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:46:07.813133+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:46:07.813298+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:46:12.663281+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:46:12.663560+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-2]
2018-01-10 18:46:12.664005+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:46:12.664111+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:46:12.664933+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:46:16.884974+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:46:18.874163+0530 realtime[84282:7655070] TIC TCP Conn Failed [4:0x1c0162f40]: 1:51 Err(51)
2018-01-10 18:46:18.874675+0530 realtime[84282:7655070] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:46:18.875319+0530 realtime[84282:7655063] Task .<1> finished with error - code: -1004
2018-01-10 18:46:18.876087+0530 realtime[84282:7655070] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:46:18.876253+0530 realtime[84282:7655070] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:46:18.876441+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:46:18.876677+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:46:23.662960+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:46:23.663101+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-3]
2018-01-10 18:46:23.663267+0530 realtime[84282:7655070] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:46:23.663316+0530 realtime[84282:7655070] LOG SocketEngine: Handshaking
2018-01-10 18:46:23.663646+0530 realtime[84282:7655070] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:46:26.880286+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:46:29.721708+0530 realtime[84282:7655063] TIC TCP Conn Failed [5:0x1c4163240]: 1:51 Err(51)
2018-01-10 18:46:29.722088+0530 realtime[84282:7655063] Task <399F310D-59B1-4E67-879E-5EFEA11FABD6>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:46:29.722701+0530 realtime[84282:7655060] Task <399F310D-59B1-4E67-879E-5EFEA11FABD6>.<1> finished with error - code: -1004
2018-01-10 18:46:29.723468+0530 realtime[84282:7655063] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:46:29.723638+0530 realtime[84282:7655063] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:46:29.723827+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:46:29.724061+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:46:34.663157+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:46:34.663444+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-4]
2018-01-10 18:46:34.664062+0530 realtime[84282:7655063] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:46:34.664250+0530 realtime[84282:7655063] LOG SocketEngine: Handshaking
2018-01-10 18:46:34.665352+0530 realtime[84282:7655063] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:46:37.168455+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:46:40.780957+0530 realtime[84282:7655063] TIC TCP Conn Failed [6:0x1c0164140]: 1:51 Err(51)
2018-01-10 18:46:40.781757+0530 realtime[84282:7655063] Task <1D5148AA-87DA-426E-A8F2-E222F10DE4E1>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:46:40.785638+0530 realtime[84282:7655070] Task <1D5148AA-87DA-426E-A8F2-E222F10DE4E1>.<1> finished with error - code: -1004
2018-01-10 18:46:40.786497+0530 realtime[84282:7655063] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:46:40.786663+0530 realtime[84282:7655063] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:46:40.786849+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:46:40.787082+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:46:45.663130+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:46:45.663407+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-5]
2018-01-10 18:46:45.663839+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:46:45.663943+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:46:45.664595+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:46:47.484543+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:46:51.697609+0530 realtime[84282:7655063] TIC TCP Conn Failed [7:0x1c01630c0]: 1:51 Err(51)
2018-01-10 18:46:51.697853+0530 realtime[84282:7655063] Task <7651E001-8960-42B8-BBE2-E20C0C993A22>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:46:51.698311+0530 realtime[84282:7655060] Task <7651E001-8960-42B8-BBE2-E20C0C993A22>.<1> finished with error - code: -1004
2018-01-10 18:46:51.698781+0530 realtime[84282:7655063] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:46:51.698884+0530 realtime[84282:7655063] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:46:51.699016+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:46:51.699152+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:46:56.663063+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:46:56.663340+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-6]
2018-01-10 18:46:56.663772+0530 realtime[84282:7655070] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:46:56.663874+0530 realtime[84282:7655070] LOG SocketEngine: Handshaking
2018-01-10 18:46:56.664535+0530 realtime[84282:7655070] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:46:57.514318+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:47:02.800921+0530 realtime[84282:7655060] TIC TCP Conn Failed [8:0x1c01636c0]: 1:51 Err(51)
2018-01-10 18:47:02.801336+0530 realtime[84282:7655060] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:47:02.801948+0530 realtime[84282:7655063] Task .<1> finished with error - code: -1004
2018-01-10 18:47:02.803182+0530 realtime[84282:7655060] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:47:02.803356+0530 realtime[84282:7655060] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:47:02.803550+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:47:02.803784+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:47:07.662766+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:47:07.662908+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-7]
2018-01-10 18:47:07.663112+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:47:07.663175+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:47:07.663527+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:47:07.783657+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:47:13.761764+0530 realtime[84282:7655060] TIC TCP Conn Failed [9:0x1c0162f40]: 1:51 Err(51)
2018-01-10 18:47:13.762870+0530 realtime[84282:7655060] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:47:13.763469+0530 realtime[84282:7655063] Task .<1> finished with error - code: -1004
2018-01-10 18:47:13.764222+0530 realtime[84282:7655060] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:47:13.764386+0530 realtime[84282:7655060] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:47:13.764576+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:47:13.764812+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:47:17.938206+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:47:18.582476+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:47:18.582620+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-8]
2018-01-10 18:47:18.582811+0530 realtime[84282:7655070] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:47:18.582847+0530 realtime[84282:7655070] LOG SocketEngine: Handshaking
2018-01-10 18:47:18.583143+0530 realtime[84282:7655070] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:47:24.710291+0530 realtime[84282:7655070] TIC TCP Conn Failed [10:0x1c4161f80]: 1:51 Err(51)
2018-01-10 18:47:24.710711+0530 realtime[84282:7655070] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:47:24.711323+0530 realtime[84282:7655063] Task .<1> finished with error - code: -1004
2018-01-10 18:47:24.712089+0530 realtime[84282:7655070] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:47:24.712259+0530 realtime[84282:7655070] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:47:24.712453+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:47:24.712691+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:47:28.075229+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:47:29.555766+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:47:29.556043+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-9]
2018-01-10 18:47:29.556467+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:47:29.556574+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:47:29.557236+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:47:35.671331+0530 realtime[84282:7655070] TIC TCP Conn Failed [11:0x1c0162a00]: 1:51 Err(51)
2018-01-10 18:47:35.671758+0530 realtime[84282:7655070] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:47:35.672369+0530 realtime[84282:7655063] Task .<1> finished with error - code: -1004
2018-01-10 18:47:35.673127+0530 realtime[84282:7655070] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:47:35.673300+0530 realtime[84282:7655070] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:47:35.673494+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:47:35.673729+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:47:38.206985+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:47:40.484842+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:47:40.485109+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-10]
2018-01-10 18:47:40.485520+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:47:40.485622+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:47:40.486281+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:47:46.632256+0530 realtime[84282:7655070] TIC TCP Conn Failed [12:0x1c0163900]: 1:51 Err(51)
2018-01-10 18:47:46.632925+0530 realtime[84282:7655070] Task <71204DE8-0FC8-4C95-9E30-0EB5A87614B0>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:47:46.633665+0530 realtime[84282:7655060] Task <71204DE8-0FC8-4C95-9E30-0EB5A87614B0>.<1> finished with error - code: -1004
2018-01-10 18:47:46.634917+0530 realtime[84282:7655070] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:47:46.635256+0530 realtime[84282:7655070] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:47:46.635716+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:47:46.636038+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:47:48.402014+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:47:51.484747+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:47:51.485026+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-11]
2018-01-10 18:47:51.485439+0530 realtime[84282:7655063] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:47:51.485543+0530 realtime[84282:7655063] LOG SocketEngine: Handshaking
2018-01-10 18:47:51.486199+0530 realtime[84282:7655063] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:47:57.584533+0530 realtime[84282:7655063] TIC TCP Conn Failed [13:0x1c0161680]: 1:51 Err(51)
2018-01-10 18:47:57.584921+0530 realtime[84282:7655063] Task <2B452611-0093-465C-85C9-0854C10BA895>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:47:57.586396+0530 realtime[84282:7655060] Task <2B452611-0093-465C-85C9-0854C10BA895>.<1> finished with error - code: -1004
2018-01-10 18:47:57.587315+0530 realtime[84282:7655063] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:47:57.587485+0530 realtime[84282:7655063] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:47:57.587667+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:47:57.587903+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:47:58.667097+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:48:02.484650+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:48:02.484924+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-12]
2018-01-10 18:48:02.485338+0530 realtime[84282:7655070] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:48:02.485439+0530 realtime[84282:7655070] LOG SocketEngine: Handshaking
2018-01-10 18:48:02.486097+0530 realtime[84282:7655070] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:48:08.541305+0530 realtime[84282:7655070] TIC TCP Conn Failed [14:0x1c01636c0]: 1:51 Err(51)
2018-01-10 18:48:08.541574+0530 realtime[84282:7655070] Task .<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:48:08.541997+0530 realtime[84282:7655060] Task .<1> finished with error - code: -1004
2018-01-10 18:48:08.542570+0530 realtime[84282:7655070] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:48:08.542740+0530 realtime[84282:7655070] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:48:08.542923+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:48:08.543092+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:48:08.788326+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:48:13.485077+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:48:13.485350+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-13]
2018-01-10 18:48:13.485761+0530 realtime[84282:7655063] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:48:13.485864+0530 realtime[84282:7655063] LOG SocketEngine: Handshaking
2018-01-10 18:48:13.486744+0530 realtime[84282:7655063] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:48:18.895284+0530 realtime[84282:7655060] [MC] Invalidating cache
2018-01-10 18:48:19.601104+0530 realtime[84282:7655060] TIC TCP Conn Failed [15:0x1c0164140]: 1:51 Err(51)
2018-01-10 18:48:19.601454+0530 realtime[84282:7655060] Task <054391B5-3469-4946-84E4-22B3567640EF>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:48:19.602006+0530 realtime[84282:7655070] Task <054391B5-3469-4946-84E4-22B3567640EF>.<1> finished with error - code: -1004
2018-01-10 18:48:19.602412+0530 realtime[84282:7655060] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:48:19.602494+0530 realtime[84282:7655060] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:48:19.602622+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:48:19.602752+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:48:24.484541+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:48:24.484816+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-14]
2018-01-10 18:48:24.485230+0530 realtime[84282:7655063] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:48:24.485334+0530 realtime[84282:7655063] LOG SocketEngine: Handshaking
2018-01-10 18:48:24.485986+0530 realtime[84282:7655063] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:48:29.084237+0530 realtime[84282:7655070] [MC] Invalidating cache
2018-01-10 18:48:30.662687+0530 realtime[84282:7655070] TIC TCP Conn Failed [16:0x1c01630c0]: 1:51 Err(51)
2018-01-10 18:48:30.663066+0530 realtime[84282:7655070] Task <3D26C129-C5AE-4886-B07B-636B2480DD8A>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:48:30.663669+0530 realtime[84282:7655060] Task <3D26C129-C5AE-4886-B07B-636B2480DD8A>.<1> finished with error - code: -1004
2018-01-10 18:48:30.664427+0530 realtime[84282:7655070] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:48:30.664595+0530 realtime[84282:7655070] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:48:30.664783+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:48:30.665018+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:48:35.484469+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:48:35.484745+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-15]
2018-01-10 18:48:35.485162+0530 realtime[84282:7655063] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:48:35.485267+0530 realtime[84282:7655063] LOG SocketEngine: Handshaking
2018-01-10 18:48:35.485912+0530 realtime[84282:7655063] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
2018-01-10 18:48:39.346490+0530 realtime[84282:7655063] [MC] Invalidating cache
2018-01-10 18:48:41.720184+0530 realtime[84282:7655063] TIC TCP Conn Failed [17:0x1c0162f40]: 1:51 Err(51)
2018-01-10 18:48:41.720603+0530 realtime[84282:7655063] Task <58E202A1-5E72-4FE6-BC64-4AFB3FA2494E>.<1> HTTP load failed (error code: -1004 [1:51])
2018-01-10 18:48:41.721232+0530 realtime[84282:7655070] Task <58E202A1-5E72-4FE6-BC64-4AFB3FA2494E>.<1> finished with error - code: -1004
2018-01-10 18:48:41.721998+0530 realtime[84282:7655063] ERROR SocketEnginePolling: Could not connect to the server.
2018-01-10 18:48:41.722166+0530 realtime[84282:7655063] ERROR SocketEngine: Could not connect to the server.
2018-01-10 18:48:41.722359+0530 realtime[84282:7655016] ERROR SocketManager: Could not connect to the server.
2018-01-10 18:48:41.722597+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: error with data: ["Could not connect to the server."]
2018-01-10 18:48:46.484415+0530 realtime[84282:7655016] LOG SocketManager: Trying to reconnect
2018-01-10 18:48:46.484692+0530 realtime[84282:7655016] LOG SocketIOClient{/}: Handling event: reconnectAttempt with data: [-16]
2018-01-10 18:48:46.485102+0530 realtime[84282:7655060] LOG SocketEngine: Starting engine. Server: http://192.168.31.115:6001
2018-01-10 18:48:46.485205+0530 realtime[84282:7655060] LOG SocketEngine: Handshaking
2018-01-10 18:48:46.485861+0530 realtime[84282:7655060] LOG SocketEnginePolling: Doing polling GET http://192.168.31.115:6001/socket.io/?transport=polling&b64=1
The text was updated successfully, but these errors were encountered: