Now, this is all tested from my own computer using my **PUBLIC** IP address, but after I login with the first client, I am not able to login with anymore clients until I do both of the following:
1. Disconnect the first client, and
2. Wait at least 3-5 seconds before connecting a new client, but normally longer.
I am not sure what would cause this kind of issue, never had anything like this happen with any socket server. One thing I also have noticed though which is the reason I am posting this, is that BlueBox also seems to go offline completely and is unreachable by Flash and webbrowsers.
It is kind of like the asynchronicity of SmartFoxServer is, ironically, blocked.
Hopefully this issue can get resolved fast...
EDIT:
Here are some lines showing the issue from the SFS terminal, if it serves as any help in fixing this problem.
Code: Select all
19:42:11,142 INFO [SocketReader] sessions.DefaultSessionManager - Session created: { Id: 4, Type: DEFAULT, Logged: No, IP: 192.168.1.254:9933 } on Server port: 9933 <---> 9933
19:42:11,210 INFO [SFSWorker:Sys:4] api.SFSApi - User login: { Zone: PC3 }, ( User Name: ec, Id: 0, Priv: 0, Sess: 192.168.1.254:9933 ) , Type: Flash
19:42:23,268 INFO [SocketReader] sessions.DefaultSessionManager - Session removed: { Id: 4, Type: DEFAULT, Logged: Yes, IP: 192.168.1.254:9933 }
19:42:23,273 INFO [SFSWorker:Sys:3] api.SFSApi - User disconnected: { Zone: PC3 }, ( User Name: ec, Id: 0, Priv: 0, Sess: 192.168.1.254:9933 ) , SessionLen: 12063, Type: Flash
19:42:45,304 INFO [SocketReader] sessions.DefaultSessionManager - Session created: { Id: 5, Type: DEFAULT, Logged: No, IP: 192.168.1.254:9933 } on Server port: 9933 <---> 9933
19:42:53,379 INFO [SocketReader] sessions.DefaultSessionManager - Session removed: { Id: 5, Type: DEFAULT, Logged: No, IP: 192.168.1.254:9933 }
19:43:09,066 INFO [qtp1923634801-40] sessions.DefaultSessionManager - Session created: { Id: 6, Type: BLUEBOX, Logged: No, IP: null } on Server port: 0 <---> 0
I just don't know if it's normal for the last line to contain "IP: null on Server port: 0 <--> 0", doesn't sound right to me, but not sure.
Here is also the debug output from Flash on the second client:
Code: Select all
## SecurityError: [SecurityErrorEvent type="securityError" bubbles=false cancelable=false eventPhase=2 text="Error #2048: Security sandbox violation: file:///G|/Coffee%20Shop.swf cannot load data from *.*.*.*:9933."]
[SFS2X|INFO] Object going out:
(byte) c: 0
(sfs_object) p:
(utf_string) api: 1.7.5
(utf_string) cl: Flash
(short) a: 0
## SocketError: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2031: Socket Error. URL: *.*.*.*"]
Error opening URL 'http://*.*.*.*:8080/BlueBox/BlueBox.do'
## BlueBox Error: Error #2032: Stream Error. URL: http://*.*.*.*:8080/BlueBox/BlueBox.do