CrazyKolobok wrote:Java client also works fine in TCP network, but doesn't init UDP protocol.
Can you better explain? Do you mean under the same network configuration (so TEST 3 above)?
CrazyKolobok wrote:Java client also works fine in TCP network, but doesn't init UDP protocol.
Bax wrote:CrazyKolobok wrote:Java client also works fine in TCP network, but doesn't init UDP protocol.
Can you better explain? Do you mean under the same network configuration (so TEST 3 above)?
Code: Select all
[SFS - ERROR] [UDPSocketLayer] Connection error: Network is unreachable at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP, Boolean requireSocketPolicy) [0x00000] in <filename unknown>:0
at System.Net.Sockets.UdpClient.DoConnect (System.Net.IPEndPoint endPoint) [0x00000] in <filename unknown>:0
at System.Net.Sockets.UdpClient.Connect (System.Net.IPEndPoint endPoint) [0x00000] in <filename unknown>:0
at System.Net.Sockets.UdpClient.Connect (System.String hostname, Int32 port) [0x00000] in <filename unknown>:0
at Sfs2X.Core.Sockets.UDPSocketLayer.Connect (System.String host, Int32 port) [0x00000] in <filename unknown>:0
at Sfs2X.Bitswarm.UDPManager.Initialize (System.String udpAddr, Int32 udpPort) [0x00000] in <filename unknown>:0
at Sfs2X.SmartFox.InitUDP (System.String udpHost, Int32 udpPort) [0x00000] in <filename unknown>:0
at Sfs2X.Core.EventListenerDelegate.Invoke (Sfs2X.Core.BaseEvent evt) [0x00000] in <filename unknown>:0
at Sfs2X.Core.EventDispatcher.DispatchEvent (Sfs2X.Core.BaseEvent evt) [0x00000] in <filename unknown>:0
at Sfs2X.SmartFox.ProcessEvents () [0x00000] in <filename unknown>:0
[SFS - WARN] Unexpected UDP I/O Error. Connection error: Network is unreachable at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP, Boolean requireSocketPolicy) [0x00000] in <filename unknown>:0
at System.Net.Sockets.UdpClient.DoConnect (System.Net.IPEndPoint endPoint) [0x00000] in <filename unknown>:0
at System.Net.Sockets.UdpClient.Connect (System.Net.IPEndPoint endPoint) [0x00000] in <filename unknown>:0
at System.Net.Sockets.UdpClient.Connect (System.String hostname, Int32 port) [0x00000] in <filename unknown>:0
at Sfs2X.Core.Sockets.UDPSocketLayer.Connect (System.String host, Int32 port) [0x00000] in <filename unknown>:0
at Sfs2X.Bitswarm.UDPManager.Initialize (System.String udpAddr, Int32 udpPort) [0x00000] in <filename unknown>:0
at Sfs2X.SmartFox.InitUDP (System.String udpHost, Int32 udpPort) [0x00000] in <filename unknown>:0
at Sfs2X.Core.EventListenerDelegate.Invoke (Sfs2X.Core.BaseEvent evt) [0x00000] in <filename unknown>:0
at Sfs2X.Core.EventDispatcher.DispatchEvent (Sfs2X.Core.BaseEvent evt) [0x00000] in <filename unknown>:0
at Sfs2X.SmartFox.ProcessEvents () [0x00000] in <filename unknown>:0 [NetworkUnreachable]
[SFS - ERROR] [UDPSocketLayer] General error writing to socket: A null value was found where an object instance was required. at Sfs2X.Core.Sockets.UDPSocketLayer.WriteSocket (System.Byte[] buf) [0x00000] in <filename unknown>:0
at Sfs2X.Bitswarm.UDPManager.SendInitializationRequest () [0x00000] in <filename unknown>:0
at Sfs2X.SmartFox.InitUDP (System.String udpHost, Int32 udpPort) [0x00000] in <filename unknown>:0
at Sfs2X.Core.EventListenerDelegate.Invoke (Sfs2X.Core.BaseEvent evt) [0x00000] in <filename unknown>:0
at Sfs2X.Core.EventDispatcher.DispatchEvent (Sfs2X.Core.BaseEvent evt) [0x00000] in <filename unknown>:0
at Sfs2X.SmartFox.ProcessEvents () [0x00000] in <filename unknown>:0
[SFS - WARN] Unexpected UDP I/O Error. General error writing to socket: A null value was found where an object instance was required. at Sfs2X.Core.Sockets.UDPSocketLayer.WriteSocket (System.Byte[] buf) [0x00000] in <filename unknown>:0
at Sfs2X.Bitswarm.UDPManager.SendInitializationRequest () [0x00000] in <filename unknown>:0
at Sfs2X.SmartFox.InitUDP (System.String udpHost, Int32 udpPort) [0x00000] in <filename unknown>:0
at Sfs2X.Core.EventListenerDelegate.Invoke (Sfs2X.Core.BaseEvent evt) [0x00000] in <filename unknown>:0
at Sfs2X.Core.EventDispatcher.DispatchEvent (Sfs2X.Core.BaseEvent evt) [0x00000] in <filename unknown>:0
at Sfs2X.SmartFox.ProcessEvents () [0x00000] in <filename unknown>:0 [NotSocket]
[SFS - ERROR] [UDPSocketLayer] General error writing to socket: A null value was found where an object instance was required. at Sfs2X.Core.Sockets.UDPSocketLayer.WriteSocket (System.Byte[] buf) [0x00000] in <filename unknown>:0
at Sfs2X.Bitswarm.UDPManager.SendInitializationRequest () [0x00000] in <filename unknown>:0
at Sfs2X.Bitswarm.UDPManager.OnTimeout (System.Object state) [0x00000] in <filename unknown>:0
[SFS - WARN] Unexpected UDP I/O Error. General error writing to socket: A null value was found where an object instance was required. at Sfs2X.Core.Sockets.UDPSocketLayer.WriteSocket (System.Byte[] buf) [0x00000] in <filename unknown>:0
at Sfs2X.Bitswarm.UDPManager.SendInitializationRequest () [0x00000] in <filename unknown>:0
at Sfs2X.Bitswarm.UDPManager.OnTimeout (System.Object state) [0x00000] in <filename unknown>:0 [NotSocket]
[SFS - ERROR] [UDPSocketLayer] General error writing to socket: A null value was found where an object instance was required. at Sfs2X.Core.Sockets.UDPSocketLayer.WriteSocket (System.Byte[] buf) [0x00000] in <filename unknown>:0
at Sfs2X.Bitswarm.UDPManager.SendInitializationRequest () [0x00000] in <filename unknown>:0
at Sfs2X.Bitswarm.UDPManager.OnTimeout (System.Object state) [0x00000] in <filename unknown>:0
[SFS - WARN] Unexpected UDP I/O Error. General error writing to socket: A null value was found where an object instance was required. at Sfs2X.Core.Sockets.UDPSocketLayer.WriteSocket (System.Byte[] buf) [0x00000] in <filename unknown>:0
at Sfs2X.Bitswarm.UDPManager.SendInitializationRequest () [0x00000] in <filename unknown>:0
at Sfs2X.Bitswarm.UDPManager.OnTimeout (System.Object state) [0x00000] in <filename unknown>:0 [NotSocket]
ERROR: MainLobbyUIManager: Failed to init UDP: UNKNOWN_ERROR
MainLobbyUIManager:OnUDPInitError(BaseEvent)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.SmartFox:ProcessEvents()
Code: Select all
[SFS > ERROR] [UDPSocketLayer] Connection error: Invalid arguments at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP, Boolean requireSocketPolicy) [0x00000] in <filename unknown>:0
at System.Net.Sockets.Socket.Connect (System.Net.EndPoint remoteEP) [0x00000] in <filename unknown>:0
at System.Net.Sockets.UdpClient.DoConnect (System.Net.IPEndPoint endPoint) [0x00000] in <filename unknown>:0
Code: Select all
<socketAddresses>
<socket address="0.0.0.0" port="465" type="TCP"/>
<socket address="127.0.0.1" port="465" type="UDP"/>
<socket address="2401:c100:1100:504:2000::13" port="465" type="TCP"/>
<socket address="2401:c100:1100:504:2000::13" port="465" type="UDP"/>
</socketAddresses>
Code: Select all
17 Nov 2016 | 11:03:04,014 | INFO | SFSWorker:Sys:1 | smartfoxserver.v2.SmartFoxServer | | Listening Sockets: { 0.0.0.0:465, (Tcp) } { 127.0.0.1:465, (Udp) } { 2401:c100:1100:504:2000::13:465, (Udp) } { 127.0.0.1:8843 (SSL) (WebSocket) }
Code: Select all
17 Nov 2016 | 00:26:54,619 | INFO | Scheduler1-thread-1 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 624, Type: BLUEBOX, Logged: No, IP: 17.200.11.44 }
17 Nov 2016 | 00:26:54,620 | INFO | Scheduler1-thread-1 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 625, Type: BLUEBOX, Logged: No, IP: 17.200.11.44 }
17 Nov 2016 | 00:26:57,563 | INFO | qtp1475449478-13644 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 637, Type: BLUEBOX, Logged: No, IP: null } on Server port: 0 <---> 0
17 Nov 2016 | 00:27:00,680 | INFO | qtp1475449478-13645 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 638, Type: BLUEBOX, Logged: No, IP: null } on Server port: 0 <---> 0
17 Nov 2016 | 00:27:02,611 | WARN | qtp1475449478-13643 | bluebox.v3.BlueBox | | Invalid request, session expired. Message: { ssid: bafd6ff57865ee0830c28130339f76de, cmd: poll, data: NoData<EF><BF><BD>}
17 Nov 2016 | 00:27:03,602 | INFO | qtp1475449478-13644 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 639, Type: BLUEBOX, Logged: No, IP: null } on Server port: 0 <---> 0
17 Nov 2016 | 00:27:04,623 | INFO | Scheduler1-thread-1 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 626, Type: BLUEBOX, Logged: No, IP: 17.200.11.44 }
17 Nov 2016 | 00:27:04,623 | INFO | Scheduler1-thread-1 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 627, Type: BLUEBOX, Logged: No, IP: 17.200.11.44 }
17 Nov 2016 | 00:27:04,624 | INFO | Scheduler1-thread-1 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 628, Type: BLUEBOX, Logged: No, IP: 17.200.11.44 }
17 Nov 2016 | 00:27:05,425 | WARN | qtp1475449478-13645 | bluebox.v3.BlueBox | | Invalid request, session expired. Message: { ssid: 30319026c49472ca68869369b0374b2e, cmd: poll, data: NoData<EF><BF><BD>}
17 Nov 2016 | 00:27:06,631 | INFO | qtp1475449478-13645 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 640, Type: BLUEBOX, Logged: No, IP: null } on Server port: 0 <---> 0
Bax wrote:First of all, I don't get why they can't connect to your server with regular TCP connection. It seems their client reverted to BlueBox. Then it is not clear why the BlueBox doesn't work either: we tested it (again a few minutes ago) and it works as expected. Something seems to be wrong with their test environment. Can you ask them to make sure they can ping your SFS server? That could be the reason they can't even connect. Speaking of which... could you provide us the connection details to your server? Domain name and IPv6 + port number. I'd like to connect from our office using the TEST 3 setup. Of course you can send the connection details by email at info AT smartfoxserver DOT com.
Bax wrote:We think we have a fix for the UDP issue in the test environment suggested by Apple.
Please drop an email at info AT smartfoxserver DOT com to request a pre-release version to test.
To make sure this works as expected, we need your help to test it in your scenarios and possibly submit to Apple to make sure everything works fine in their environment too. Thanks.
Users browsing this forum: Google [Bot] and 91 guests