Dedimania forum

Feel free to express yourself on your favorite dedicated related tool.

You are not logged in.

#1 2013-03-12 04:40:36

???| .?eaby
reaby
New member
Registered: 2009-10-31
Posts: 5

Error in method_handler.php(911): SessionId not found...

Hi,
I'm developing now the manialive dedimania plugin for eXpansion plugin pack.

Got the dedimania working for some time (like getting authsession and getrecods) , but now i'm getting errors on every successfull call:

Sample included here:
Error in method_handler.php(911): SessionId 's2744:1363059372.5257' not found !!!


I know i have made some mistakes in the calls before, but the ones i did now should work properly smile
Except for the last few calls missing, like sending out records.

Last edited by reaby (2013-03-12 04:41:00)

Offline

#2 2013-03-13 08:52:57

???| .?eaby
reaby
New member
Registered: 2009-10-31
Posts: 5

Re: Error in method_handler.php(911): SessionId not found...

OK, got it sorted out... Apparently adding 2 second delay after openSession helped alot.

Offline

#3 2013-03-13 11:03:55

TX-Slig
slig
Fast author / Dedimania maintainer
From: Traxicoland
Registered: 2006-11-23
Posts: 822
Website

Re: Error in method_handler.php(911): SessionId not found...

Mmmm... are you openning/closing the connection for each request ?  if yes then you should try to avoid it, if no then you are still on the same daemon and connection and i don't see where that delay would come from.

Offline

#4 2013-03-13 11:13:51

???| .?eaby
reaby
New member
Registered: 2009-10-31
Posts: 5

Re: Error in method_handler.php(911): SessionId not found...

slig wrote:

Mmmm... are you openning/closing the connection for each request ?

onEverySecond() {
  this->webaccess->select();
}

function send(request, callback) {
   this->webaccess->request(this->url, array(array(this, '_process'), callback), request->getXml(), true);
}


dunno how to use your webaccess other way than this... i guess it closes the connection after the request when i'm using those parameters ?

Last edited by reaby (2013-03-13 11:14:42)

Offline

#5 2013-03-13 11:22:01

???| .?eaby
reaby
New member
Registered: 2009-10-31
Posts: 5

Re: Error in method_handler.php(911): SessionId not found...

btw can you enable my primary server rtm2_server2 for dedi access, i would try to have test run of the plugin in live environment too smile

*edit*
currently the plugin supports read-only access.

Last edited by reaby (2013-03-13 11:22:54)

Offline

#6 2013-03-13 11:27:03

TX-Slig
slig
Fast author / Dedimania maintainer
From: Traxicoland
Registered: 2006-11-23
Posts: 822
Website

Re: Error in method_handler.php(911): SessionId not found...

Depending of the configs at beginning of webaccess file, it will keep it opened or not (by default it does).
You can also disable there the compressions etc. if for example you want be able to sniff the dialog with wireshark and be able to see the contents... (don't forget to have it activated for public release)

Also, http://dedimania.net:8081/stats can help to check the connection state on dedimania side

Offline

#7 2013-03-13 13:57:06

???| .?eaby
reaby
New member
Registered: 2009-10-31
Posts: 5

Re: Error in method_handler.php(911): SessionId not found...

fixed the session keeps open now.

Offline

#8 2013-03-13 20:49:00

TX-Slig
slig
Fast author / Dedimania maintainer
From: Traxicoland
Registered: 2006-11-23
Posts: 822
Website

Re: Error in method_handler.php(911): SessionId not found...

Ok, found it : it was a bad change in stats/register page and the servers infos were added in the replica instead of the main database :eyes:

It is fixed now...

Offline

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson