question

ssuder avatar image
ssuder asked

DNS issues (Couldn't resolve host name) for multiplayer server running in Windows docker container

Hello,

I'm experiencing DNS issues (at least this is what I assume) with my Unreal Engine dedicated server when running in a Windows docker container (using the LocalMultiplayerAgent with containerization or running in a PlayFab Multiplayer VM).

The server is working fine locally using the LocalMultiplayerAgent without containerization, but in the Docker container I always get the following error:

[2022.09.21-04.54.10:524][326]LogHttp: Warning: 000002126D6A9710: invalid HTTP response code received. URL: https://XXXXX.playfabapi.com/Authentication/GetEntityToken?sdk=UE4MKPL-1.90.220720, HTTP code: 0, content length: 0, actual payload size: 0
[2022.09.21-04.54.10:524][326]LogHttp: Warning: 000002126D6A9710: request failed, libcurl error: 6 (Couldn't resolve host name)
[2022.09.21-04.54.10:524][326]LogHttp: Warning: 000002126D6A9710: libcurl info message cache 0 (Could not resolve host: XXXXX.playfabapi.com)
[2022.09.21-04.54.10:525][326]LogHttp: Warning: 000002126D6A9710: libcurl info message cache 1 (Closing connection 0)

Someone experienced the same issue here, but no solution was provided.


Thanks in advance for any help.

multiplayer
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Gosen Gao avatar image
Gosen Gao answered

Could you please try to Uncheck "Verify Peer" in the UE4 project settings to see if this issue can be fixed?

2 comments
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

ssuder avatar image ssuder commented ·

Thanks, this fixed the issue!

0 Likes 0 ·
JayZuo avatar image JayZuo ♦ commented ·

We do not recommend unchecking "Verify Peer" in the UE4 project settings for production as this will bring security risk. As this is a certificate issue, we'd suggest referring to https://github.com/PlayFab/MpsSamples/blob/main/UnrealThirdPersonMP/amazon_root_ca.md to fix the certificate issue.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.