Cannot open socket...

The next generation of server controlling with clean and powerful user interface

Moderators: oliverde8, reaby, NADEO

Post Reply
User avatar
Nerpson
Translator
Translator
Posts: 1554
Joined: 27 Sep 2013, 18:02
Location: France
Contact:

Cannot open socket...

Post by Nerpson »

Heya.

Had this issue when loading. (french)

Code: Select all

D:\Documents\WEB\Xamp_ManiaCenter\htdocs\eXpansion-0.9.7>D:\Documents\WEB\Xamp_M
aniaCenter\php\php.exe bootstrapper.php

 _|      _|                      _|            _|        _|
 _|_|  _|_|    _|_|_|  _|_|_|          _|_|_|  _|            _|    _|    _|_|
 _|  _|  _|  _|    _|  _|    _|  _|  _|    _|  _|        _|  _|    _|  _|_|_|_|
 _|      _|  _|    _|  _|    _|  _|  _|    _|  _|        _|  _|  _|    _|
 _|      _|    _|_|_|  _|    _|  _|    _|_|_|  _|_|_|_|  _|    _|        _|_|_|
-----------------------------------------------------
PHP Environment Compatibility Test
-----------------------------------------------------
PHP 5.3.1 or newer    -> required  -> [ Yes ] 5.5.11
Standard PHP Library  -> required  -> [ Yes ]
JSON                  -> required  -> [ Yes ]
cURL with SSL         -> required  -> [ Yes ] 7.36.0 (with OpenSSL/1.0.1g)
MySQL                 -> optional  -> [ Yes ]
SQLite3               -> optional  -> [ Yes ]
-----------------------------------------------------
Running ManiaLive 4.0.0...

ERROR: Cannot open socket
ERROR: Cannot open socket
ERROR: Cannot open socket
ERROR: Cannot open socket
ERROR: Cannot open socket
ERROR: Cannot open socket
ERROR: Cannot open socket
ERROR: Cannot open socket
ERROR: Cannot open socket
ERROR: Cannot open socket


Fatal error: Call to a member function executeCallbacks() on a non-object in D:\
Documents\WEB\Xamp_ManiaCenter\htdocs\eXpansion-0.9.7\vendor\maniaplanet\maniali
ve-lib\ManiaLive\Application\Application.php on line 116

D:\Documents\WEB\Xamp_ManiaCenter\htdocs\eXpansion-0.9.7>pause
Appuyez sur une touche pour continuer...
My Xampp:
Image

My confi.ini:

Code: Select all

;------------------
; Dedicated Server
;------------------
 config.maxErrorCount = 15
 server.host = '127.0.0.1'
 server.port = 5001
 server.user = '******'
 server.password = '******'
 
;------------------
; Database
;------------------
 database.type = 'MySQL'
 database.enable = true

; Connection configuration
 database.host = '127.0.0.1'
 database.port = 3306
 database.username = '******'
 database.password = '******'
 database.database = '*******'

;------------------
; Master Admins
;------------------
manialive.admins[] = 'nikooo26'

;------------------
; Plugins 
;------------------
manialive.plugins[] = 'ManiaLivePlugins\eXpansion\AutoLoad\AutoLoad'
My run.bat:

Code: Select all

D:\Documents\WEB\Xamp_ManiaCenter\php\php.exe bootstrapper.php %*
pause
TCP/UDP ports opened:
Image

I also saw that it seems to work when I have a clean ManiaPlanet server launched somewhere else.

Hope you'll help me. :)
ImageImageImageImage
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: Cannot open socket...

Post by oliverde8 »

hi, it simply can't connect on the dedicated server. I would say the dedicated server doesent launch on the xmlrpc port 5001 (if dedicated server & ML runs on same server nothing to do with ports). Try using another port 5010 for example.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
TheBigG.
Posts: 401
Joined: 11 Jun 2011, 16:11

Re: Cannot open socket...

Post by TheBigG. »

you don't need to forward your xmlrpc ports if you don't manage the server remotetly
Client:
OS: Win10/Debian CPU: Intel 9900k GPU: NVIDIA 1080TI Display: 3x Acer Predator XB271HUbmiprz 1440p@165 Hz

Server:
OS: Debian Stable @ Backports Kernel CPU: Intel 6700k RAM: 32 GB Storage: 2x 256 GB NVMe SSD@Raid 1
Mirery
Posts: 29
Joined: 27 Dec 2014, 14:28

Re: Cannot open socket...

Post by Mirery »

oliverde8 wrote:hi, it simply can't connect on the dedicated server. I would say the dedicated server doesent launch on the xmlrpc port 5001 (if dedicated server & ML runs on same server nothing to do with ports). Try using another port 5010 for example.
Correct cause the Clean ManiaLive Install runs on Port 5000... So just change your dedicated_cfg.txt

Search for: <xmlrpc_port>5000</xmlrpc_port>

And change it in:

<xmlrpc_port>5001</xmlrpc_port>
User avatar
Nerpson
Translator
Translator
Posts: 1554
Joined: 27 Sep 2013, 18:02
Location: France
Contact:

Re: Cannot open socket...

Post by Nerpson »

Hey.

Sorry for this long time without answer.

I tried to change some things, I have another error now:

Code: Select all

D:\Documents\WEB\Xamp_ManiaCenter\htdocs\eXpansion-0.9.7>php bootstrapper.php

 _|      _|                      _|            _|        _|
 _|_|  _|_|    _|_|_|  _|_|_|          _|_|_|  _|            _|    _|    _|_|
 _|  _|  _|  _|    _|  _|    _|  _|  _|    _|  _|        _|  _|    _|  _|_|_|_|
 _|      _|  _|    _|  _|    _|  _|  _|    _|  _|        _|  _|  _|    _|
 _|      _|    _|_|_|  _|    _|  _|    _|_|_|  _|_|_|_|  _|    _|        _|_|_|
-----------------------------------------------------
PHP Environment Compatibility Test
-----------------------------------------------------
PHP 5.3.1 or newer    -> required  -> [ Yes ] 5.5.11
Standard PHP Library  -> required  -> [ Yes ]
JSON                  -> required  -> [ Yes ]
cURL with SSL         -> required  -> [ Yes ] 7.36.0 (with OpenSSL/1.0.1g)
MySQL                 -> optional  -> [ Yes ]
SQLite3               -> optional  -> [ Yes ]
-----------------------------------------------------
Running ManiaLive 4.0.0...
[PluginHandler] Start plugin load process:



ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object
ERROR: Trying to get property of non-object

[PluginHandler] All registered plugins have been loaded
This time, the .bat doesn't force me to quit.
ImageImageImageImage
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: Cannot open socket...

Post by oliverde8 »

Hi can you check your log/manialive-error.log file, more details should be there. Just get the last 50 lines or so. I have the impression your installation has some issues but with the complete errors we will have more information
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
User avatar
Nerpson
Translator
Translator
Posts: 1554
Joined: 27 Sep 2013, 18:02
Location: France
Contact:

Re: Cannot open socket...

Post by Nerpson »

Here you go. :)

http://puu.sh/fkiOl/c005bf741c.log
The file is too big for the forum : 84648 characters :lol:
ImageImageImageImage
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: Cannot open socket...

Post by oliverde8 »

There is still a problem with your dedicated? I think it isn't running. I mean the process is running but not working. Can you connect on it and play? I think there is a problem with you match settings.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
User avatar
Nerpson
Translator
Translator
Posts: 1554
Joined: 27 Sep 2013, 18:02
Location: France
Contact:

Re: Cannot open socket...

Post by Nerpson »

I think you're right. There's no match setting anywhere. In fact, There is no directory to place maps and other useful maps.

Image
ImageImageImageImage
oliverde8
Posts: 1286
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: Cannot open socket...

Post by oliverde8 »

Nerpson, get the dedicated running make sure you can play on it. Then start eXpansion.
eXpansion is just a tool that connects to the dedicated. Maps are part of the dedicated configuration. There is plenty about how to configure the dedicated server.
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
Post Reply

Return to “eXpansion”

Who is online

Users browsing this forum: No registered users and 1 guest