Anyone Know what this problem is?: LogSockets: Warning: GetAddressInfo failed to resolve host with error SE_HOST_NOT_FOUND

LogSockets: Warning: GetAddressInfo failed to resolve host with error SE_HOST_NOT_FOUND

I am making a dedicated server and client, have done so before.
Just to be sure it’s not my computer I always have another project in which I can test, and I package them both, server and client, test it out, and it works.

After going through both logs, the problem seems to be in the client, and it’s this one thing:
(cuz the server doesn’t even receive a connection of any kind).

LogSockets: Warning: GetAddressInfo failed to resolve host with error SE_HOST_NOT_FOUND

But I cannot find any info online on what it even means.

Perhaps your client is timing out before a connection is made. I don’t believe there is a default in the INI file to determine a specific amount of time on the appropriate Net Driver, but I do believe there is in fact a short timeout built into the engine when connections are unstable. I found this was an issue for me that is not apparent when testing on your machine because it doesn’t account for the real-life connection issues when crossing in an out of your actual network.

Maybe try adding to your INI file for your specific net driver:

[/Script/OnlineSubsystem.IpNetDriver]
ConnectionTimeout=60.0

Another issue maybe to make sure you’re including sockets in your visual studio files when configuring and building the server in visual studio prior to packaging in the engine. Sorry I can’t give better specifics about this without going into the project files to see specifically what to add at the moment. Hope this helps a little…

Perhaps,you just give a wrong url to netdriver。such as One more unnecessary space。

2 Likes