Open olokos opened 2 years ago
afaik this happens if you have to many request to the github api ( like having multiple servers on the same servers that update over again or automated )
You can check this if this happens with the curl from the server: https://docs.github.com/en/rest/rate-limit
In this case without the api token, as lgsm does not use one:
curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/rate_limit
I think not that there is a limit on the sourcemod side.
That does make sense, yes.
Combined with me updating multiple servers all at once and github/sourcemod being overloaded with requests from others aswell might have caused it.
Maybe the error could more self-explanatory, for example mentioning what failed downloading?
Because as it is now, the update is done, but the error doesn't say anything useful, leaving the admin with 0 clue what went wrong.
Imho there need to be solved a few issues:
Related to #2615
+1 on this, still happens, even on a single server that's not running anything else right after install:
rustserver@rust:~$ ./rustserver mi
jq: error (at <stdin>:1): Cannot iterate over null (null)
jq: error (at <stdin>:1): Cannot iterate over null (null)
jq: error (at <stdin>:1): Cannot iterate over null (null)
jq: error (at <stdin>:1): Cannot iterate over null (null)
jq: error (at <stdin>:1): Cannot iterate over null (null)
jq: error (at <stdin>:1): Cannot iterate over null (null)
jq: error (at <stdin>:1): Cannot iterate over null (null)
jq: error (at <stdin>:1): Cannot iterate over null (null)
Rust Installing mods
=================================
Available addons/mods
=================================
Carbon for Rust - Allows for the use of both plugins and harmony mods - carbonmod.gg
* rustcarbon
Oxide for Rust - Allows for the use of plugins - https://umod.org/games/rust
* rustoxide
Enter an addon/mod to install (or exit to abort): exit
Choosing to install one of the mods at this point actually fails.
Installing Carbon for Rust
=================================
clearing mod download directory /home/rustserver/lgsm/mods/tmp...OK
creating mod download directory /home/rustserver/lgsm/mods/tmp...OK
curl: (3) URL using bad/illegal format or missing URL
FAIL
User Story
As a server admin, I want to use mod-update to update server mods, which I believe was done successfully, but the errors don't make me feel good when doing the mod update.
Basic info
Further Information
I believe this might happen when the sourcemod.net server is overloaded with traffic/users, as it's not happening everytime, but on some occasions, but it's just a rough guess.
This might be possibly related to https://github.com/GameServerManagers/LinuxGSM/issues/3762 but it's just a wild guess, it might be completely unrelated, just similar.
Logs with the issue below:
What's interesting is that despite those errors, the update itself was performed successfully and with no errors after those mentioned above.
To Reproduce
Steps to reproduce the behaviour:
./csgoserver mu
Just a heads up, that both sourcemod and metamod just got updates that fixed server-breaking bug that valve introduced with an update, because of this almost every server owner is now trying to download the updates, clogging up sourcemod.net server.
Expected behaviour
Mods update without no error