You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After doing some digging, I now understand the root cause of this issue - at least for me. I decided to do some tests on Docker to see if I can directly connect to the Unity licensing Servers and alas! It fails to connect when running a session on a Windows runner using Docker. The problem seems to be due to DNS resolution issues within Windows containers.
Solution:
You need to explicitly set the DNS servers in Docker Desktop's configuration to fix this:
Open Docker Desktop Settings.
Click on the Docker icon in your system tray and select "Settings".
Navigate to the "Docker Engine" tab.
Edit the Docker Engine Configuration:
Add the "dns" configuration to the JSON settings:
{"dns": ["8.8.8.8","8.8.4.4"]}
Note: If there are existing settings, ensure you maintain valid JSON syntax by adding commas where necessary.
Click "Apply & Restart" to save the changes.
After restarting, the containers should correctly resolve DNS queries, allowing Unity to connect to the licensing servers and proceed with the build! 😄
Bug description
When attempting to run a session on a windows runner, the license server fails to connect for some reason.
How to reproduce
--workDir
argument in the docker command forgame-ci/builder
(please see my PR here: Fixed bug with additional 'c:' prefix for --workDir #668)
Expected behavior
Unity should connect and authenticate to the licensing servers and continue with the build.
Additional details
There are some potentially related issues to this here:
The text was updated successfully, but these errors were encountered: