Question regarding txadmin getaddrinfo enotfound

Hi there follks,

Artifacts: 5181 on Debian

I’m trying to install a gameserver through txadmin for the first time and I’m having an issue with deploying the recipes. I’m getting a an enotfound error anytime it tries to retrieve the recipe components but no matter what it fails on, if I just do a simple wget on the address, it downloads just fine. This issue is with multiple recipes, both included in the txa install as well as custom URLs.

Step 1: Review Recipe ✔️
Step 2: Input Parameters ✔️
Step 3: Run Recipe
Your recipe is being executed, the server will be deployed to:
/var/www/clients/client1/web2/home/schwimserver3/fivem/artifacts/5181/txData/QBCoreFramework_3E0C65.base/
[11:40:18] Starting deployment of QBCore Framework to /var/www/clients/client1/web2/home/schwimserver3/fivem/artifacts/5181/txData/QBCoreFramework_3E0C65.base/
[11:40:18] Running [task1:download_github]... ✔️
[11:40:18] Running [task2:move_path]... ✔️
[11:40:18] Running [task3:move_path]... ✔️
[11:40:18] Running [task4:connect_database]... ✔️
[11:40:18] Running [task5:query_database]... ✔️
[11:40:18] Running [task6:download_github]... ✔️
[11:40:19] Running [task7:download_file]... ✔️
[11:40:20] Running [task8:unzip]... ✔️
[11:40:20] Running [task9:download_file]... ❌
[11:40:20] [task9:download_file] failed!
Message: getaddrinfo ENOTFOUND github.com
Options:
{
"action": "download_file",
"path": "./tmp/menuv.zip",
"url": "https://github.com/ThymonA/menuv/releases/download/v1.4.1/menuv_v1.4.1.zip"
}
FAILED
Step 3: Configure server.cfg
Server profile: default
txAdmin version: 4.11.0
FXServer build: 5181

If I try to grab that file via wget:

web2@adolf:~/fivem/qbcore$ wget https://github.com/ThymonA/menuv/releases/download/v1.4.1/menuv_v1.4.1.zip
--2022-03-25 13:41:44--  https://github.com/ThymonA/menuv/releases/download/v1.4.1/menuv_v1.4.1.zip
Resolving github.com (github.com)... 140.82.112.3
Connecting to github.com (github.com)|140.82.112.3|:443... connected.
HTTP request sent, awaiting response... 302 Found

Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.111.133, 185.199.108.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.111.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5768499 (5.5M) [application/octet-stream]
Saving to: ‘menuv_v1.4.1.zip’

menuv_v1.4.1.zip                      100%[=======================================================================>]   5.50M  --.-KB/s    in 0.06s   

2022-03-25 13:41:44 (89.6 MB/s) - ‘menuv_v1.4.1.zip’ saved [5768499/5768499]

web2@adolf:~/fivem/qbcore$ 

What am I doing wrong through txadmin that it can’t retrieve files that are accessible via any other means on the server?

Thanks for your time!

This looks like a weird ‘shared hosting’ control panel application. Maybe something there is leading to an unusual /etc/resolv.conf setup?

Hi there d-bubble and thanks for the reply.

It’s a vmachine but I use ISPConfig to manage the accounts I set up on it. resolv.conf is just setting nameservers 8.8.8.8 & 8.8.4.4, no other routing is happening. I’ve got successful SSH(fs), FTP and web on the machine, fivem servers, all of which successfully send and receive traffic. txa is the only thing that’s throwing an issue like this.

I’ll play around with the failing URLs a bit and see if I can’t figure out what’s wrong.

Odd.

The server bundles its own musl libc to be independent of what the distro itself uses, and on Linux, the libc is responsible for handling DNS.

I’m also confused, however, at how this only starts breaking this far in - as if only github.com gets resolved to something (maybe TCP response?) that can’t be handled by musl on this machine.

This confuses me as well. It’s done everything up to that point well, it just seems to crap out when building the recipes. Thank you for the explanations concerning musl and what it does, it gives me a new direction to Google.