Error installing mod on my server since last update
Karasu_Tengu
RU Join Date: 2014-11-22 Member: 199764Members
Hi! I'm make a dedicated server for training my team, and since last update its can't download any mod=(
i'm using Ubuntu 16.04.4 LTS (Ubuntu server) with 4.4.0-116-generic kernel.
first i'm trying to install mods via web GUI of server_linux.
When i click install, i have an errors in my log:Main : Error: Error installing mod '"NSL Mod"(a2ddae8)' (download failed, error 77 '', url 'https://steamusercontent-a.akamaihd.net/ugc/932679231733062691/A6F778DF0649A3758888EE4E4C813751F8F6F6C7/')
But wget "url from log" works correctly.
Second im tries to download via steamcmd.
Steam>workshop_download_item 4940 A2DDAE8
ERROR! Failed to start downloading item 0.
Can someone help me?
sry for my eng, your player Karasu_Tengu.
i'm using Ubuntu 16.04.4 LTS (Ubuntu server) with 4.4.0-116-generic kernel.
first i'm trying to install mods via web GUI of server_linux.
When i click install, i have an errors in my log:Main : Error: Error installing mod '"NSL Mod"(a2ddae8)' (download failed, error 77 '', url 'https://steamusercontent-a.akamaihd.net/ugc/932679231733062691/A6F778DF0649A3758888EE4E4C813751F8F6F6C7/')
But wget "url from log" works correctly.
Second im tries to download via steamcmd.
Steam>workshop_download_item 4940 A2DDAE8
ERROR! Failed to start downloading item 0.
Can someone help me?
sry for my eng, your player Karasu_Tengu.
Comments
>Duck\ on\ Venus_01/12/2019
I finally found what's going wrong.
It does is some problem related with CA.
I met this issue because I was calling the server_linux outside the x64 folder.
When initializing, libcurl will check your CWD for a valid CA bundle file (cacert.pem). By default, ns2server ships one cacert.pem file in x64 folder. So if you are calling the server binary inside x64 folder, it will be fine. But if you calling the server binary outside x64 folder, and there is no valid cacert.pem file under your current working directory, the libcurl will fail to load the CA bundle, and when downloading something from HTTPS link, "cURL error (77): Problem with the SSL CA cert" shows up.
To solve it, either invoke server_linux from x64 folder, where has a CA bundle file cacert.pem, or to copy cacert.pem to your CWD.