Login error

MrTitan

Knight
Customer
This error is from today. I didn't have it in the previous hostings. Does anyone knows what it means? Over 2 months the server was running smoothly without any error but when I changed the VPS before few days this happens. OS is Ubuntu.

HTML:
[07:34:25] ERROR
java.lang.NullPointerException: Cannot invoke "l2.commons.net.nio.impl.MMOConnection.getIpAddr()" because the return value of "l2.commons.net.nio.impl.MMOClient.getConnection()" is null
    at l2.commons.net.nio.impl.MMOClient.getIpAddr(Unknown Source)
    at l2.authserver.network.l2.c2s.RequestAuthLogin.runImpl(Unknown Source)
    at l2.authserver.network.l2.c2s.L2LoginClientPacket.run(Unknown Source)
    at l2.commons.net.nio.impl.MMOExecutableQueue.run(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    at java.base/java.lang.Thread.run(Thread.java:840)
 
Need config for more info
HTML:
# ================================================================
# Auth Server Configuration
# ================================================================
# External Connection Address
# The host and port for client connections (Physical Ethernet address)
LoginserverHostname = 0.0.0.0
LoginserverPort = 2106

# Internal Login server communication address with game server or External if the game server is on another physical server
# The host and port for game servers
LoginHost = VPS IP
LoginPort = 9014

# Take a new game server into a free slot (auto parking game server to auth server)
AcceptNewGameServer = True

and gameserver

HTML:
#-------------------------------------------------------------
# Network server configuration
#-------------------------------------------------------------
# IP which Bind gameserver * - on all possible
GameserverHostname = VPS IP
GameserverPort = 7777
# This is transmitted to the clients connecting from an external network, so it has to be a public IP l2evo.zapto.org
ExternalHostname = VPS IP
# This is transmitted to the client from the same network, so it has to be a local IP
InternalHostname = VPS IP
# Address, port for Login Server communication with GameServer
LoginPort = 9014
LoginHost = VPS IP
LoginUseCrypt = True
# What ID request from of LS
RequestServerID = 1
# Allow to take another id, if requested already in use
AcceptAlternateID = True
 
# Internal Login server communication address with game server or External if the game server is on another physical server # The host and port for game servers LoginHost = VPS IP LoginPort = 9014
не меняй тут ничего как в дефолте, это внутренний конект с гейм сервером
# The host and port for client connections (Physical Ethernet address) LoginserverHostname = 0.0.0.0 LoginserverPort = 2106
убери нули поставь как написано The host and port for client connections (Physical Ethernet address) внешний ip или *
 
# IP which Bind gameserver * - on all possibles
GameserverHostname = public IP
GameserverPort = 7777
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname = public IP
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname = 127.0.0.1

# Address, port for Login Server communication with GameServer
# PLEASE Change the LoginHost only if the login and game are on different physical servers.
LoginPort = 9014
LoginHost = 127.0.0.1
LoginUseCrypt = True
# What ID request from of LS
RequestServerID = 1
# Allow taking another id, if requested already in use
AcceptAlternateID = True
 
# IP which Bind gameserver * - on all possibles
GameserverHostname = public IP
GameserverPort = 7777
# This is transmitted to the clients connecting from an external network, so it has to be a public IP or resolvable hostname
ExternalHostname = public IP
# This is transmitted to the client from the same network, so it has to be a local IP or resolvable hostname
InternalHostname = 127.0.0.1

# Address, port for Login Server communication with GameServer
# PLEASE Change the LoginHost only if the login and game are on different physical servers.
LoginPort = 9014
LoginHost = 127.0.0.1
LoginUseCrypt = True
# What ID request from of LS
RequestServerID = 1
# Allow taking another id, if requested already in use
AcceptAlternateID = True
With this setup I am unable to login to my server.
 
how you did it, i have same problem
# ================================================================
# Auth Server Configuration
# ================================================================
# External Connection Address
# The host and port for client connections (Physical Ethernet address)
LoginserverHostname = *
LoginserverPort = 2106

# Internal Login server communication address with game server or External if the game server is on another physical server
# The host and port for game servers
LoginHost = 127.0.0.1
LoginPort = 9014

and server.properties
#-------------------------------------------------------------
# Network server configuration
#-------------------------------------------------------------
# IP which Bind gameserver * - on all possible
GameserverHostname = *
GameserverPort = 7777
# This is transmitted to the clients connecting from an external network
ExternalHostname = YOUR DEDICATED IP HERE
# This is transmitted to the client from the same network, so it has to be a local IP
InternalHostname = 127.0.0.1
# Address, port for Login Server communication with GameServer
LoginPort = 9014
LoginHost = 127.0.0.1
LoginUseCrypt = True
# What ID request from of LS
RequestServerID = 1
 
Back
Top