after login disconnects from server after 30 seconds
Posted: 13 Jan 2012, 00:10
I am new to SFS and feel completely lost i hope someone can help.
I have written a simple chat application, after i log in if i remain idle for more than 30 seconds i am disconnected. the disconnection reason given in the CONNECTION_LOST event is 'idle'
This is despite:
Setting user maximum idle time to 3000 seconds in the server configurator
Restarting the server
Installing the RC3 patch and updating the API
Can anyone offer any advice on what is wrong? i am running the server as localhost and using Flash CS5.5 to develop. below is the output from the windows console, and the trace output from my console in the Flash IDE:
READY!
00:03:16,562 INFO [SocketReader] core.SocketAcceptor - Session created: { I
d: 1, Type: DEFAULT, Logged: No, IP: 127.0.0.1:50813 } on Server port: 9933 <---
> 50813
00:03:16,594 INFO [com.smartfoxserver.v2.controllers.SystemController-1] api.SF
SApi - Login in, { Zone: SimpleChat }, ( User Name: GuestUser#0, Id: 0, Priv
: 0, Sess: 127.0.0.1:50813 )
00:03:52,819 INFO [SocketReader] sessions.DefaultSessionManager - Session r
emoved: { Id: 1, Type: DEFAULT, Logged: Yes, IP: 127.0.0.1:50813 }
00:03:52,821 INFO [SocketReader] entities.SFSZone - User: GuestUser#0 was d
isconnected.
00:03:52,822 INFO [SocketReader] api.SFSApi - User disconnected: ( User Nam
e: GuestUser#0, Id: 0, Priv: 0, Sess: 127.0.0.1:50813 )
----------------------------------------------------------
flash ide output:
Joined Room: The Lobby
[SFS - INFO] UserCountChange { Message id: 1001 }
{Â Dump: }
(int) r: 1
(short) uc: 1
[SFS - INFO] Data Read: Binary Size: 29
80 00 1A 12 00 03 00 01 61 03 03 ED 00 01 63 02 ........a.....c.
00 00 01 70 12 00 01 00 02 64 72 02 00 ...p.....dr..
[SFS - INFO] ClientDisconnection { Message id: 1005 }
{Â Dump: }
(byte) dr: 0
idle
I have written a simple chat application, after i log in if i remain idle for more than 30 seconds i am disconnected. the disconnection reason given in the CONNECTION_LOST event is 'idle'
This is despite:
Setting user maximum idle time to 3000 seconds in the server configurator
Restarting the server
Installing the RC3 patch and updating the API
Can anyone offer any advice on what is wrong? i am running the server as localhost and using Flash CS5.5 to develop. below is the output from the windows console, and the trace output from my console in the Flash IDE:
READY!
00:03:16,562 INFO [SocketReader] core.SocketAcceptor - Session created: { I
d: 1, Type: DEFAULT, Logged: No, IP: 127.0.0.1:50813 } on Server port: 9933 <---
> 50813
00:03:16,594 INFO [com.smartfoxserver.v2.controllers.SystemController-1] api.SF
SApi - Login in, { Zone: SimpleChat }, ( User Name: GuestUser#0, Id: 0, Priv
: 0, Sess: 127.0.0.1:50813 )
00:03:52,819 INFO [SocketReader] sessions.DefaultSessionManager - Session r
emoved: { Id: 1, Type: DEFAULT, Logged: Yes, IP: 127.0.0.1:50813 }
00:03:52,821 INFO [SocketReader] entities.SFSZone - User: GuestUser#0 was d
isconnected.
00:03:52,822 INFO [SocketReader] api.SFSApi - User disconnected: ( User Nam
e: GuestUser#0, Id: 0, Priv: 0, Sess: 127.0.0.1:50813 )
----------------------------------------------------------
flash ide output:
Joined Room: The Lobby
[SFS - INFO] UserCountChange { Message id: 1001 }
{Â Dump: }
(int) r: 1
(short) uc: 1
[SFS - INFO] Data Read: Binary Size: 29
80 00 1A 12 00 03 00 01 61 03 03 ED 00 01 63 02 ........a.....c.
00 00 01 70 12 00 01 00 02 64 72 02 00 ...p.....dr..
[SFS - INFO] ClientDisconnection { Message id: 1005 }
{Â Dump: }
(byte) dr: 0
idle