New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth Server not connecting to Master Server #84
Comments
Within the masterconfig ini set the Authserver and Chatserver to both be run as sudo (by changing the zero to a one). This fixed it in my case. |
The Auth Server was already set to do this, but I changed the Chat Server do be run as sudo as well. Did not change the behavior. I've tried running the world server as sudo as well to no effect. |
Ok I found a solution. Hopefully this helps someone else. To clarify further, I'm running this on Google Cloud Platform. I have a static external ip set up with the vm I'm running but the server cannot bind to this ip. So the solution is to create a virtual network interface to allow the server to use this external ip. First make sure the dummy kernel module is loaded.
That should output something like Next create the network interface
Finally create an alias for the network to link it with the external ip.
And confirm it with
This likely doesn't fix all of the destroying mysql connection issues that people are running into, but that should fix it if just the auth server is failing. Based on stack exchange post here. |
When running the Master Server, I get the following output:
The
Destroying MySQL connection!
is occurring because the Auth Server is breaking from the main while loop in AuthServer.cpp. The auth dServer gets constructed properly, but 30 frames pass without receiving a packet from master, so it shuts down. I've done a fair amount of additional logging to make sure this is what is happening, but I can't figure out why the connection isn't happening.I am running this on Debian 10. I have external_ip in
masterconfig.ini
,authconfig.ini
, andchatconfig.ini
set to my machine's external ip and I have changed the client's boot.cfg to point to this ip as well. When attempting to login on the client, it always gives the "We could not sign you in to LEGO Universe." and the server does not recognize any attempted connections. I have tried re-running the Auth Server while the Master Server is running usingsudo ./AuthServer
, which results in the Auth Server shutting down with the same message.This issue doesn't occur if the server config files have the external_ip set to localhost, but my client is on a different machine so that doesn't really help me. When signing in with this setup, the server does recognize an attempted connection, but then runs into the same issue as #45
The text was updated successfully, but these errors were encountered: