[FIXED] Uaseco Cannot open socket

UASECO is a fork of the XAseco2/1.03 controller for Trackmania and has been overhauled to support the Modescript Gamemodes of Trackmania².

Moderators: undef.de, NADEO

Post Reply
Nirawin
Posts: 3
Joined: 28 Mar 2020, 16:25

[FIXED] Uaseco Cannot open socket

Post 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.
Last edited by undef.de on 28 Mar 2020, 18:48, edited 1 time in total.
User avatar
Miss
Posts: 2151
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: Uaseco Cannot open socket

Post by Miss »

Are you sure the server's XML RPC port is running at 5004? (And that the server itself is actually running correctly?)
3080 RTX, Ryzen 3700X, 32GB RAM, Windows 11
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
Nirawin
Posts: 3
Joined: 28 Mar 2020, 16:25

Re: Uaseco Cannot open socket

Post 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
Last edited by undef.de on 28 Mar 2020, 18:48, edited 1 time in total.
Reason: Use code/tags for code or tags
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: Uaseco Cannot open socket

Post 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.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
Nirawin
Posts: 3
Joined: 28 Mar 2020, 16:25

Re: Uaseco Cannot open socket

Post 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 !
User avatar
undef.de
Posts: 2095
Joined: 06 Apr 2011, 21:57
Location: Germany, North Sea Coast
Contact:

Re: Uaseco Cannot open socket

Post 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.
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org


Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name

You like what I do? Then award a ManiaStar.
Post Reply

Return to “UASECO”

Who is online

Users browsing this forum: No registered users and 1 guest