-
Notifications
You must be signed in to change notification settings - Fork 170
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
Issue logging in #45
Comments
if the server is not running on the same machine as the client, make sure to update the external_ip setting in the three ini files with the IP address of your server. |
DId you correctly configure the client version in CMakeVariables.txt? What is AuthServer in the client config set to? |
I had the same issue; External_ip settings in each ini matches the public external ip. running on ubuntu 20.04.3 LTS and has been executed as sudo Would appreciate any other ideas |
I'm having this issue, as well, with people outside of my LAN trying to join. To add - I've confirmed that I'm using the same exact client as my remote player, and that all my INI files are set up correctly, and all the ports that need forwarding should be forwarded. When he attempts to join the server, I get the following in my server's command line:
|
I'm also having the same issue (works on my network, doesn't work for people outside my network). Here's the output of netstat -l on the server vm:
and my relevant NAT setup (we're all using the exact same boot.cfg, whether on the network or not, as i have set up a hairpin in addition to the outside-in rules, so i find it very odd that the problem is with users on a different network): and auth server logs: (benzoic and typhon are on the same network as the server, celery is on a different network)
i was successfully able to sign in with celery's credentials on my computer and i was able to connect. |
I found the problem. In the ini files, the "public IP" must literally be the public IP, it's not the IP the server binds to. I had the server's local IP address but I needed to put in my firewall's outside IP address. Well, technically domain name. The comment in the ini files should probably be changed to read something like "the public address clients will use to connect, it should match the AUTHSERVERIP variable in the client boot.cfg. 'localhost' will work for servers running on the same machine as the client". |
Just ran into this too. Changing the IP in |
I think it would take a bit of cleanup, the code seems to be confused as to whether it's an IP address or if it can be a domain name and whether it's binding to it or doing something else with it, considering this line in dNet/dServer.cpp:
in the configuration i have that "ip address" set to a dns name, so i get this in the log:
but clearly it's not listening on [redacted dns name], since that makes no sense, and it means something else which is probably why a bunch of people are running into this issue. |
You should be setting this to your public facing IP, I’m not sure this is really an issue with any of our code. |
Hm, my WSL2 DarkflameServer instance doesn't seem to like it when I set the |
Yeah @averysumner it's not a problem with your code, i was only making recommendations for changes to comments and logging messages, not behavior. |
@Liam3997 what do you mean by it doesn't like it? |
As in, it will attempt to listen on the public IP, and then almost immediately shut down and destroy its connections to the MySQL database. When using localhost or the WSL2 hostname, it starts up and runs just fine |
That sounds like your NAT isn't set up correctly and it's not actually able to connect via the public IP. |
After doing a lot of research, it appears this is a quite infamous issue with WSL2. I've opened a new issue to move relevant discussion there: #110 |
Did you get it working with WSL1 @Liam3997 ? |
I'm having some issues logging in myself, I'm wondering if it has to do with a missing port forward in my configuration. I have a docker image running with the server and account manager and the database in it's own container, both containers share the same virtual network and the database connections appear to work. I have the following port ranges exported:
The IP I told the server to use via the configurations is 192.168.1.207, because I am not intending to let people outside my LAN from connecting for now. I tried changing the boot.cfg file to have both
and
I can use Firefox to connect to the account manager no problem, I was able to generate keys and everything. When trying to connect (via WINE if that matters) the client says it can't connect. Does anyone know what I might be doing wrong here? I can recreate the primary container without too much fuss. I have all of the important files outside of it. |
This seems to have been superseded by #110. Closing. |
That was WSL2, I was using Linux outside of a VM like WSL2. |
I'm recognized by the server but my client says "enter nickname/password", then shows me the login again.
The text was updated successfully, but these errors were encountered: