Random logout issue

Last post 08-27-2009, 12:26 AM by kpcrash. 5 replies.
Sort Posts: Previous Next
  •  08-08-2009, 1:25 PM 54577

    Random logout issue

    Weird...
    We used CuteChat 5 with the evaluation license with absolutely 0 issues. Still extremely happy with it. We decided to purchase and since copying the .lic file into the bin directory, the app seems to recycle itself randomly  and only for certain users when it happens.
    Example, 10-12 people can be in a room, 3-7 will get booted receiving a message that the connection to the server has been lost and the room has been deleted. Hitting the browser's refresh brings them right back in, but then I get flooded with emails about it happening.
    The event logs shows a forms authentication error which I have googled and adjusted the web.config to use slidingexpiration and made sure the session timeout on the apppool matches the timeouts throughout the app. Any suggestions?
     
    Thanks,
    Kevin
    Filed under:
  •  08-09-2009, 10:01 AM 54584 in reply to 54577

    Re: Random logout issue

    Kevin,
     
    Do you testing the sample like dotnetdate.com ?
     
    In the web.config , the sample does not specified the slidingExpiration ,
     
    Did you set it and test it ?
     
    Regards,
    Terry
     
  •  08-10-2009, 11:02 AM 54613 in reply to 54584

    Re: Random logout issue

    Yes - I am testing with the sample portal that ships with 5.0. After adjusting the slidingexpiration, still had the issue. Bumped up the apppool recycle time to 360 - currently, no more issue. I have read that there is an issue with using a dynamic machine key and form authentication in Windows 2008 that I will be investigating today/tomorrow. Current environment is Windows Server Standard X64, IIS 7 running chat in DefaultAppPool. Dual Core 2.6G w/ 8 GB RAM connected to clean install of SQL 2008 Standard. Resources are not an issue, so checking all other avenues.
     
  •  08-11-2009, 12:47 PM 54633 in reply to 54613

    Re: Random logout issue

    Ok - still happening. Very random. Will post exact error message from error logs shortly.
    Here's the info from the Event Logs:

    Event code: 4005

    Event message: Forms authentication failed for the request. Reason: The ticket supplied has expired.

    Event time: 8/11/2009 11:02:51 AM

    Event time (UTC): 8/11/2009 3:02:51 PM

    Event ID: ff1e3b115de44ef28004be512c72db6f

    Event sequence: 421772

    Event occurrence: 82

    Event detail code: 50202

     

    Application information:

    Application domain: /LM/W3SVC/1/ROOT/NWOChat-1-128943816205520000

    Trust level: Full

    Application Virtual Path: /NWOChat

    Application Path: **********

    Machine name: ********

     

    Process information:

    Process ID: 4020

    Process name: w3wp.exe

    Account name: ***************************

  •  08-25-2009, 8:07 PM 55045 in reply to 54633

    Re: Random logout issue

    Hi,
     
    So, did you add a static machineKey to web.config ?
    Regards,
    Terry
  •  08-27-2009, 12:26 AM 55088 in reply to 55045

    Re: Random logout issue

    Sorry,
    Yes, I did add a static machine key. Still get the issue at whatever timeframe session duration is set for - BUT - is truly random. Meaning, right now  it is set for 5 hours. If a user stays on 5 consecutive hours, they may or may not "get booted"
View as RSS news feed in XML