Dedimania forum

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

You are not logged in.

#1 2009-09-21 12:49:25

«?C»????
giangy88
New member
Registered: 2009-09-21
Posts: 1

Problem whit dedi DB

****************************************************************************
[09/21,12:43:14] * Try connection on http://dedimania.net:8013/Dedimania ...
[...]
[...]
[09/21,12:43:18] Webaccess (dedimania.net:80): Closed by server when reading:
-open socket and re-send! (0)
[09/21,12:43:18] Webaccess (dedimania.net:80): Closed by server when reading:
-open socket and re-send! (0)
[09/21,12:43:19] Webaccess (dedimania.net:80): Closed by server when reading:
-open socket and re-send! (0)
[09/21,12:43:19] Webaccess (dedimania.net:80): Closed by server when reading:
-open socket and re-send! (0)
[09/21,12:43:19] Webaccess (dedimania.net:80): Send timeout (5)
[09/21,12:43:19] Webaccess (dedimania.net:80): Read timeout (5)
  !!!
  !!! Error no database response (http://dedimania.net:8013/Dedimania)
  !!!
*****************************************************************************

Someone could help me?

Offline

#2 2009-09-25 01:18:00

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

Re: Problem whit dedi DB

Do you succeed to see the page http://dedimania.net:80  on the computer on which you run your aseco script ?

Did it worked before or is it the first time that you use it with that server account ?
- in first case, does it happen always or sometimes ?
- in second case, are you sure that your server login/pass are configured right in aseco ? and have you some non letter/digit characters in your pass (else try to change it and test again)

Offline

#3 2009-10-27 00:14:31

RCA KultGrazer
kultgrazer
New member
Registered: 2009-10-26
Posts: 4

Re: Problem whit dedi DB

Same Problem!

Code:

[10/26,22:34:09] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
[10/26,22:34:10] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
[10/26,22:34:10] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
[10/26,22:34:10] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
[10/26,22:34:10] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
[10/26,22:34:10] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
[10/26,22:34:10] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
[10/26,22:34:10] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)

dedimania.xml

Code:

...
        <masterserver_account>
                <login>user001</login>
                <password>XXXXXX</password>
                <nation>AUT</nation>
        </masterserver_account>
...

User was created with the playerpage -> Dedicates Server, but i cant'n login on dedimania.net like now with my game-name. couldt this be the reason?

Open Ports:
80, 2350, 3450, 8006-8021

I'm using:
- Linux Suse 11
- TrackmaniaServer_2009-10-09
- Xaseco 1.10


PLEASE HELP!!!! I was seraching since 3 days....

Greetings KultGrazer

Offline

#4 2009-10-27 08:17:09

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

Re: Problem whit dedi DB

Do you succeed to open  http://dedimania.net/RPC4/server.php  (in a browser or wget) on the computer on which is xaseco ?  if no then you have something who block your accesses, if yes and if it still do that then you probably have something which prevent your php binary to open remote connections.

Such error is not at the login/pass control : it fails before, at connection stage.

Offline

#5 2009-10-27 09:12:20

RCA KultGrazer
kultgrazer
New member
Registered: 2009-10-26
Posts: 4

Re: Problem whit dedi DB

http://dedimania.net/RPC4/server.php is normal reachable. i'm using the newest "PHP 5.2.11 with Suhosin-Patch 0.9.7"

This is my phpinfo: http://img199.imageshack.us/img199/9333/phpinfo.png

Any ideas witch var could be the evil?

Last edited by RCA KultGrazer (2009-10-27 10:18:42)

Offline

#6 2009-10-27 15:36:08

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

Re: Problem whit dedi DB

Look in your /etc/php5/cli/php.ini (or similar as i'm not sure on suse distrib). you can try 'allow_url_fopen = On', btw it should not have real effect on your problem.

To test the fsockopen() itself, try that : http://dedimania.net/debug/fsockopentest.php.zip
try first launching it directly with php5 from a shell, then if there is an error try also with apache, seeing it in a browser (if i does not work from shell but in apache the looking diffs between /etc/php5/cli/php.ini and /etc/php5/apache2/php.ini will probably show the problem).

Also, note that ports 80 and 80xx have to be opened in outgoing direction, both on your server iptables if used, and on your router if outgoing packets are filtered.

Offline

#7 2009-10-30 18:22:46

RCA KultGrazer
kultgrazer
New member
Registered: 2009-10-26
Posts: 4

Re: Problem whit dedi DB

thanx for your help, i try all your ideas but without sucess.

My Ports:

Code:

TCP      8006:8021    
UDP      8006:8021 
TCP      http (80)
UDP      http (80)

and same more...

php.ini

Code:

allow_url_fopen = On

fsockopentest.php returns:

Code:

IPnum test: fsockopen is available and works !
IPname test: fsockopen is available and works !

in shell and in a browser...

aseco.log returns....

Code:

[10/30,18:10:12] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
[10/30,18:10:12] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
[10/30,18:10:12] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
[10/30,18:10:12] Webaccess (dedimania.net:80): Send timeout (5)
[10/30,18:10:12] Webaccess (dedimania.net:80): Read timeout (5)
  !!!
  !!! Error no database response (http://dedimania.net:8018/Dedimania)
  !!!

any ideas?!?!?

greetings

Offline

#8 2009-11-01 19:50:49

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

Re: Problem whit dedi DB

Edit  plugins/plugin.dedimania.php and change the dedi_debug at the beginning of the file to [dollar]dedi_debug = 4; so perhaps you will get some more usefull info.

You can also try to increase the [dollar]this->_debug = 0;  value at beginning of includes/xmlrpc_db.inc.php

Offline

#9 2009-11-03 01:51:35

RCA KultGrazer
kultgrazer
New member
Registered: 2009-10-26
Posts: 4

Re: Problem whit dedi DB

TY for Help... I changed the debug-vars and get a big result!!!
The full dedimania-part of my logfile is here downloadabel for one week now: http://senduit.com/caad36

Very intressting is this part:

Code:

......
<?xml version="1.0" encoding="UTF-8" ?>
<methodCall>
<methodName>system.multicall</methodName>
<params>
<param>
<value><array><data>
    <value><struct>
    <member><name>methodName</name><value><string>dedimania.Authenticate</string></value></member>
    <member><name>params</name><value><array><data>
    <value><struct>
    <member><name>Game</name><value><string>TMF</string></value></member>
    <member><name>Login</name><value><string>rca004</string></value></member>
    <member><name>Password</name><value><string>my-pw</string></value></member>
    <member><name>Tool</name><value><string>XASECO</string></value></member>
    <member><name>Version</name><value><string>1.10</string></value></member>
    <member><name>Nation</name><value><string>AUT</string></value></member>
    <member><name>Packmask</name><value><string>Stadium</string></value></member>
</struct></value>
</data></array></value></member>
</struct></value>
    <value><struct>
    <member><name>methodName</name><value><string>dedimania.ValidateAccount</string></value></member>
    <member><name>params</name><value><array><data>
</data></array></value></member>
</struct></value>
    <value><struct>
    <member><name>methodName</name><value><string>dedimania.WarningsAndTTR</string></value></member>
    <member><name>params</name><value><array><data>
</data></array></value></member>
</struct></value>
</data></array></value>
</param>
</params>
</methodCall>
[11/03,01:20:03] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
[11/03,01:20:03] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
[11/03,01:20:03] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
[11/03,01:20:03] Webaccess (dedimania.net:80): Closed by server when reading: re-open socket and re-send! (0)
......

but i havn't an idea ?!?!?!

Greetings KultGrazer

Last edited by RCA KultGrazer (2009-11-03 14:58:18)

Offline

#10 2009-11-03 20:24:47

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

Re: Problem whit dedi DB

It does not really explain your problem.
Try to remove the line <url.11>http://dedimania.net/RPC4/server.php</url.11> in dedimania.xml , in case you would get strange thing on the port 80.

Offline

#11 2010-02-23 09:00:07

????4\/??
r4v3r
New member
Registered: 2008-08-11
Posts: 1

Re: Problem whit dedi DB

Hi,

since one week i have the same problem. Can you help me to find a solution?

Aseco.log:
[02/14,16:46:02] Webaccess (dedimania.net:8021): Closed by server when reading: re-open socket and re-send! (0)
[02/14,16:46:02] Webaccess (dedimania.net:8021): Closed by server when reading: re-open socket and re-send! (0)
[02/14,16:46:02] Webaccess (dedimania.net:8021): Closed by server when reading: re-open socket and re-send! (0)
[02/14,16:46:02] Webaccess (dedimania.net:8021): Read timeout (5)
Array
(
)
XmlrpcDB->RequestWaitArray() - datas
1
XmlrpcDB->RequestWaitArray() - response[Data]
Array
(
)

  !!!
  !!! Error no database response (http://dedimania.net:8013/Dedimania)
  !!!
[02/14,16:46:02] ------------- (Dedimania) -------------


I have no idea, what causes this problem, cause nothing is changed on the Root-server! Other processes like Teamspeak3 or XML-Conections from the Trackmania Servers have no problems. I have no firewall active. Operating System is OpenSuse. I have this problem on every Trackmaniagameserver!

Help me plz!

Greez R4V3R

Offline

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson