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
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
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:
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:
Probably some type of permissions problem.. you should put in a ticket.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
cPanel.net Support Ticket Number:
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.
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:
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:
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