mirror of
https://github.com/NATroutter/egg-hytale.git
synced 2026-03-01 11:21:13 +03:00
Hytale server download fails with OAuth device flow – context deadline exceeded #25
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @needkg on GitHub (Jan 17, 2026).
When starting the Hytale server using Pelican, the server fails during the download of server files after OAuth device authentication. Even after successful authentication, the downloader times out when trying to fetch the manifest from account-data.hytale.com.
@MrLuckyGamer commented on GitHub (Jan 17, 2026):
Have you done these? also block out your auth codes in error messages.
@needkg commented on GitHub (Jan 17, 2026):
Yes, I have already done that. I purchased the game on this account and have tried fully logging out and logging back in on the official website to refresh the credentials, but the error persists when attempting to download the server files.
@NATroutter commented on GitHub (Jan 17, 2026):
This doesn't look like an egg issue to me. Most likely it's either a network problem, firewall blocking something, or you just took too long to authenticate.
What kind of system are you running this on and who's the provider?
Also, did you authenticate immediately when the link became available?
Was there any time between when the authentication website said the app is authenticated and when the error came up?
Try running the downloader directly on your host machine to see what's actually going on.
mkdir ~/hytale-test && cd ~/hytale-testchmod +x ./hytale-downloader-linux-amd64./hytale-downloader-linux-amd64That way we can figure out if the problem is with the egg setup or if it's something else on the system or network side.
@needkg commented on GitHub (Jan 17, 2026):
I’m currently running the following setup:
Yes, I authenticated immediately after the link became available.
After completing the authentication on the website, it takes around 5 seconds for the error to appear.
I then SSHed into the host machine and ran the commands you suggested.
Running the downloader directly on the host works perfectly, and I was able to download the server without any issues. Here is the full output:
@NATroutter commented on GitHub (Jan 17, 2026):
After some research I managed to find this github issue on Pterodactyl's GitHub. It seems to be basically the same thing. Maybe this helps?
@NATroutter commented on GitHub (Jan 18, 2026):
If you need more help i'm happy to help 😄
@needkg commented on GitHub (Jan 18, 2026):
You were absolutely right in pointing out issue #4784.
The problem was indeed a network configuration issue on my side, specifically within the Wings
config.yml.Root Cause
In my
config.yml, the local gateway (192.168.1.1) was configured as the first entry underdocker -> network -> dns. Because the Docker container runs in an isolated network, it was timing out when trying to resolve DNS through this local address. As a result, the container failed to fetch the Hytale manifest, triggeringClient.Timeouterrors, even though the host machine itself had normal internet access.Resolution
I updated
/etc/pelican/config.ymlto use public DNS resolvers directly, bypassing the local gateway entirely:After fully restarting Pelican, the installation completed successfully.
Thank you very much for the help and for pointing me in the right direction.