Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cannot download serverlist.csv #4676

Closed
rAmfu opened this issue Sep 28, 2024 · 14 comments
Closed

[Bug]: Cannot download serverlist.csv #4676

rAmfu opened this issue Sep 28, 2024 · 14 comments

Comments

@rAmfu
Copy link

rAmfu commented Sep 28, 2024

User story

As described

Game

All games

Linux distro

Debian 12

Command

command: install

Further information

Cant start installing any of game server :/

Relevant log output

curl -Lo linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh arkserver
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current                                 Dload  Upload   Total   Spent    Left  Speed
100   167  100   167    0     0     32      0  0:00:05  0:00:05 --:--:--    38
100 18430  100 18430    0     0   1776      0  0:00:10  0:00:10 --:--:--  4045
fetching GitHub serverlist.csv...ERROR
fetching Bitbucket serverlist.csv...FAIL
linuxgsm.sh: line 134: core_exit.sh: command not found
[ FAIL ] serverlist.csv could not be loaded.

Steps to reproduce

No response

@dgibbs64
Copy link
Member

dgibbs64 commented Sep 28, 2024

Looks likw either an internet or DNS issue. LinuxGSM cant get to the internet to download the files it needs. Which is odd as you just downloaded linuxgsm.sh

@dgibbs64
Copy link
Member

Interesting I have got the issue in one of my unit tests but I cant replicate it myself currently

@dgibbs64
Copy link
Member

Are you running the docker container?

@rAmfu
Copy link
Author

rAmfu commented Sep 28, 2024

Nope, on my brige machine and it is connected as dmz into internet
DNS: 1.1.1.1 or 8.8.8.8
Link: 1gbps
No native nat

@rAmfu
Copy link
Author

rAmfu commented Sep 28, 2024

Give me directly link to serverlist to manulally download

@h3o66
Copy link
Member

h3o66 commented Sep 28, 2024

Looks likw either an internet or DNS issue. LinuxGSM cant get to the internet to download the files it needs. Which is odd as you just downloaded linuxgsm.sh

the easiest to verify would be to get a dev-debug.log and check the curl returncode.
There should be nothing sensitive in the log usually.

to create the log:

change to the same dir where the linuxgsm.sh is

touch .dev-debug
bash linuxgsm.sh arkserver

upload the file dev-debug.log from the same folder here.

@dgibbs64
Copy link
Member

There was a bug in the develop branch that had the same issue but this has been resolved. The bug definitely wasnt in master

@h3o66
Copy link
Member

h3o66 commented Sep 28, 2024

Give me directly link to serverlist to manulally download

the direct link of the file is this one from the repo:
https://github.com/GameServerManagers/LinuxGSM/blob/master/lgsm/data/serverlist.csv

note: you need to use the raw download link.

would be nice if you could do the dev debug before you proceed

@rAmfu
Copy link
Author

rAmfu commented Sep 28, 2024

dev-debug.log

Manulally add serverlist.csv and server ready to install

@h3o66
Copy link
Member

h3o66 commented Sep 28, 2024

dev-debug.log

Manulally add serverlist.csv and server ready to install

according to the log it timed out to download the file:

+ echo -en 'fetching GitHub serverlist.csv...\c'
++ curl --connect-timeout 3 -s --fail -L -o /home/arkserver/lgsm/data/serverlist.csv https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/v24.3.0/lgsm/data/serverlist.csv
+ curlcmd=
+ local exitcode=28

curl exit code 28:
28 Operation timeout. The specified time-out period was reached according to the conditions.

I dont think that here is a lgsm issue.

@rAmfu
Copy link
Author

rAmfu commented Sep 28, 2024

Isn't 3 seconds too little to download a file?

@h3o66
Copy link
Member

h3o66 commented Sep 28, 2024

Isn't 3 seconds too little to download a file?

well, that is only the inital connection timeout, so i assume the connection takes to long to be done to the remote host or other issues.

Feel free to check the curl man to check what that option does.

Edit: for a full operation timeout it would be the option -m/--max-time

@rAmfu
Copy link
Author

rAmfu commented Sep 28, 2024

About half a year ago I installed a server for paworld and there it downloaded this file without any problems and updated linuxgsm. The server for pal Word is on the same machine where the server ark

@h3o66
Copy link
Member

h3o66 commented Sep 28, 2024

maybe you want to check what is going on manually and see what i going on with:

time curl -v --fail -L https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/v24.3.0/lgsm/data/serverlist.csv

Then you can check where it takes a long time and check you system and connection.

Closed for now as I do not see this as a general issue with LGSM

@h3o66 h3o66 closed this as completed Sep 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

3 participants