Skip to content
This repository was archived by the owner on Mar 20, 2021. It is now read-only.
This repository was archived by the owner on Mar 20, 2021. It is now read-only.

DNS issues in Windows Container #13

Description

Hello!

We're having trouble running our game server in the Windows Docker Container. Specifically, our server can't connect to playfabapi

LogHttp: Warning: 000002B73D04E010: invalid HTTP response code received. URL: https://XXXXX.playfabapi.com/Authentication/GetEntityToken?sdk=UE4MKPL-1.48.201014, HTTP code: 0, content length: 0, actual payload size: 0

LogHttp: Warning: 000002B73D04E010: request failed, libcurl error: 6 (Couldn't resolve host name)

LogHttp: Warning: 000002B73D04E010: libcurl info message cache 0 (Could not resolve host: XXXXX.playfabapi.com)

LogHttp: Warning: 000002B73D04E010: libcurl info message cache 1 (Closing connection 0)

LogAsyncServerAuthenticateRequest: Error: Unable to register the server with PlayFab:

If I jump into the container and try to ping playfab, I also get a hostname not found error.

By setting the DNS manually I can get it to find the host

PS C:\Assets> nsLookup XXXXX.playfabapi.com
Server:  UnKnown
Address:  172.19.0.11

*** UnKnown can't find XXXXX.playfabapi.com: Server failed
PS C:\Assets> Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses 8.8.8.8
PS C:\Assets> nsLookup XXXXX.playfabapi.com
Server:  dns.google
Address:  8.8.8.8

Non-authoritative answer:
Name:    master-mainserver-1943019976.us-west-2.elb.amazonaws.com
Addresses:  <A bunch of addresses>
Aliases:  XXXXX.playfabapi.com
          master.playfabapi.com

Since this doesn't persist across runs of the container, I'm not sure how to proceed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions