Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Member
    Join Date
    Jan 2002
    Posts
    74

    Default Entropy Chat Broken - Session Timed out, Please reload

    This is a strange error. We have a client who wants to use Entropy chat and its broken. Here is all we get:

    Session Timed out, Please reload

    See: http://dc2-web5.assortedinternet.com:2084

    Any thoughts, or suggestions are appreciated!

    Thanks - Brian

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2003
    Posts
    647

    Default

    We are experiencing the same issue on one of our servers, restarting entropychat does not remedy the problem, any suggestions? Sorry for bumping this post, however I feel it's better than starting a new thread.

    Example is :
    http://www.southwestwoodcrafts.com/entrpychattest.htm

    cPanel.net Support Ticket Number:

  3. #3
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2002
    Posts
    2

    Default I found what it is but dont know how to fix it!

    The problem is that the session id entropychat creates for each user is based from the /dev/urandom - and my /dev/urandom is returning junk - like binary who knows what. I am looking around for how to get the /dev/urandom working correctly but any help to get me moving faster would be really appreciated.

    if i cant figure it out i will just drop a bit of script here that makes a random session id with code only

    Thanks!

    Todd

    cPanel.net Support Ticket Number:

  4. #4
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default Re: Entropy Chat Broken - Session Timed out, Please reload

    Originally posted by brianteeter
    This is a strange error. We have a client who wants to use Entropy chat and its broken. Here is all we get:

    Session Timed out, Please reload

    See: http://dc2-web5.assortedinternet.com:2084

    Any thoughts, or suggestions are appreciated!

    Thanks - Brian
    Probably some type of permissions problem.. you should put in a ticket.

    cPanel.net Support Ticket Number:

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2002
    Posts
    2

    Default got tired of looking and customer complaining

    i just hacked entropychat....

    search for /dev/urandom in entropychat and make the below changes - sorry about the hack but i only have energy for a 2 minuter... not really tested either but should be ok...


    #open(UR,"/dev/urandom");
    #read UR,$msid,4096;
    #close(UR);
    #$msid =~ s/\W//g;

    ### speed hack
    my $junk_rand = int(rand(12022342342340));
    $junk_rand .= int(rand(22022342342340));
    $junk_rand .= int(rand(32022342342340));
    $junk_rand .= int(rand(42022342342340));
    $junk_rand .= int(rand(52022342342340));

    #$msid = substr($msid,0,75);
    $msid = substr($junk_rand,0,75);

    hope this helps while we wait...

    cPanel.net Support Ticket Number:

    cPanel.net Support Ticket Number:
    Last edited by todd; 07-12-2003 at 01:03 PM.

  6. #6
    Member
    Join Date
    Mar 2003
    Posts
    63

    Default

    You bet! The sessionid string is made up of random characters! The following line

    $msid =~ s/\W//g;

    is not filtering out non-word characters, don't ask me why. This does not work in only one of my servers, which has Red Hat 8 installed. Maybe that's related...

    I changed the default code as indicated

    open(UR,"/dev/urandom");
    read UR,$msid,16; #HERE
    close(UR);
    $msid = unpack('h16', $msid); #HERE

    And it worked.

    -Dario

    cPanel.net Support Ticket Number:

  7. #7
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jun 2003
    Posts
    647

    Default

    Hate to bring a ticket out of the stone age, but just as a FYI I just submitted and had this issue patched in the latest version of cpanel, see the Changelog for details, and it does now work

    cPanel.net Support Ticket Number:

  8. #8
    Member
    Join Date
    Aug 2003
    Location
    india
    Posts
    23

    Thumbs up

    Thank you soo much Dario

    Also, Sometimes restarting the Cpanel would not start the daemon for entropychat. So, simply run "/usr/local/cpanel/entropychat/entropychat & " from your command line.

    Have a nice day Guys
    vishnu

Similar Threads & Tags
Similar threads

  1. Entropy Chat
    By ozonez in forum New User Questions
    Replies: 1
    Last Post: 01-23-2007, 09:39 AM
  2. "Copy Session Timed out!" when Transfering an account
    By Secunix in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-25-2006, 09:18 PM
  3. SORBS Listing: Reason = Entropy Chat?!
    By Eli_ch in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 12-08-2004, 03:24 AM
  4. PHP Chat & Java Chat
    By ukhost in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-25-2003, 11:57 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube