[SOLVED] ERROR [default][pyplanet.core.instance] 0 bytes read on a total of 15 expected bytes
Posted: 12 Jul 2020, 13:33
i am using the tutorial: https://pypla.net/en/latest/intro/configuration.html
In the base.py i edited the following:
I kept the defaults in the dedicated_cfg from the dedicated server in the SuperAdmin-section. So i filled this into the base.py.
In th dedicated_cfg i changed this:
So only the server port to 2354. So i filled this port into the PORT 1 line higher then the USER-Line(which is filled in with 'SuperAdmin' as you can see above).
If i start the PyPlanet-Server whilst running the dedicated server i am getting this:
INFO [Main][pyplanet.core.management.commands.start] Initiated configuration and environment...
INFO [Main][pyplanet.core.management.commands.start] -------------------------------[ PyPlanet v0.9.2 ]-------------------------------
INFO [MainThread][pyplanet.god.process] Starting pool process for 'default'...
ERROR [default][pyplanet.core.instance] 0 bytes read on a total of 15 expected bytes

So - what´s the problem? Thank you very much!
Julia
In the base.py i edited the following:
Code: Select all
# Dedicated configuration holds the different dedicated servers that the instances will run on including the names of
# the instances.
DEDICATED = {
'default': {
'HOST': '127.0.0.1',
'PORT': '2354',
'USER': 'SuperAdmin',
'PASSWORD': 'SuperAdmin',
}
}
In th dedicated_cfg i changed this:
Code: Select all
<force_ip_address></force_ip_address>
<server_port>2354</server_port>
<client_port>0</client_port>
<bind_ip_address></bind_ip_address>
<use_nat_upnp></use_nat_upnp>
If i start the PyPlanet-Server whilst running the dedicated server i am getting this:
INFO [Main][pyplanet.core.management.commands.start] Initiated configuration and environment...
INFO [Main][pyplanet.core.management.commands.start] -------------------------------[ PyPlanet v0.9.2 ]-------------------------------
INFO [MainThread][pyplanet.god.process] Starting pool process for 'default'...
ERROR [default][pyplanet.core.instance] 0 bytes read on a total of 15 expected bytes

So - what´s the problem? Thank you very much!
Julia
