Page 1 of 1
[FIXED] Uaseco Cannot open socket
Posted: 28 Mar 2020, 16:27
by Nirawin
Hey,
I tried follow many tutorials to install uaseco on a linux dedicated server but i still get this error
Code: Select all
[2020-03-28 15:17:29] [Dedicated] Try to connect to Maniaplanet dedicated server at [127.0.0.1:5004] (timeout 180s)
[2020-03-28 15:17:29] [Dedicated] [1] connect - Cannot open socket
I tried using same port as dedicate_cfg.
Using the real ip adress of the server diffrents ports....
I really can't find any solution.
Re: Uaseco Cannot open socket
Posted: 28 Mar 2020, 18:12
by Miss
Are you sure the server's XML RPC port is running at 5004? (And that the server itself is actually running correctly?)
Re: Uaseco Cannot open socket
Posted: 28 Mar 2020, 18:47
by Nirawin
I could connect to the server so i think yes it was actually working well,
I used to put 5004 into my conf server file and in uaseco server file aswell but still get :
Code: Select all
[2020-03-28 17:46:08] [Dedicated] Try to connect to Maniaplanet dedicated server at [91.121.***.***:5004] (timeout 180s)
[2020-03-28 17:46:08] [Dedicated] [1] connect - Cannot open socket
Re: Uaseco Cannot open socket
Posted: 28 Mar 2020, 18:52
by undef.de
Make sure that the ports are matching at your dedicated server and UASECO:
UserData/Config/dedicated_cfg.txt
Code: Select all
<dedicated>
<system_config>
<server_port>2354</server_port>
<server_p2p_port>3454</server_p2p_port>
<xmlrpc_port>5004</xmlrpc_port>
</system_config>
</dedicated>
UASECO/config/UASECO.xml
Code: Select all
<settings>
<dedicated_server>
<ip>127.0.0.1</ip>
<port>5004</port>
</dedicated_server>
</settings>
And of course the dedicated server and UASECO have to run on the same hardware.
Re: Uaseco Cannot open socket
Posted: 28 Mar 2020, 18:58
by Nirawin
Well i checked again and it finally worked, maybe it was because i had
Code: Select all
<server_port>2350</server_port>
<server_p2p_port>3450</server_p2p_port>
instead of finishing them by 4 ?
Anyway it's working now, shame on me

.
Thanks a lot !
Re: Uaseco Cannot open socket
Posted: 28 Mar 2020, 20:10
by undef.de
Nirawin wrote: ↑28 Mar 2020, 18:58
[...]maybe it was because i had
Code: Select all
<server_port>2350</server_port>
<server_p2p_port>3450</server_p2p_port>
instead of finishing them by 4 ?
No, that could not be the reason, these ports are only used by the game client to connect to the dedicated server. Only the <xmlrpc_port> is for the communication between the dedicated server and UASECO.
Maybe you just forgot to restart the dedicated server or UASECO after you changed a config.