Raised This Month: $32 Target: $400
 8% 

I need help with a fastdl error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Epstycky
New Member
Join Date: Oct 2016
Old 02-17-2020 , 22:10   I need help with a fastdl error
Reply With Quote #1

https://pastebin.com/jGbfZ2fj

Everything seems setup fine idk what else could cause these errors.

Here's the server config
host_name_store 1
host_info_show 1
host_players_show 2
hostname Begi 1v1 ARENA !ws !knife !gloves
sv_tags 1v1, Arena, 1on1, !knife, !ws, !gloves, Begi, Serbia, Balkan
sv_contact [email]il]
sv_hibernate_when_empty 0
sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "https://variedhub.com/UserArea/Begisha/csgo/"
mp_round_restart_delay 10
res_play_to_the_end 1
tv_enable 1
spec_replay_enable 1
tv_record 123
spec_replay_bot 1
sv_minrate 0
sv_pure 0
mp_disconnect_kills_players 0
sv_minrate 2500
fps_max 1000
sv_maxrate 40000
sm_advertisements_interval 10

I'm only getting these errors for certain files but other files seem to work fine for everyone else does anyone know how to fix it?

Last edited by Epstycky; 02-18-2020 at 18:17.
Epstycky is offline
ThePwnt
AlliedModders Donor
Join Date: Feb 2009
Location: Denmark
Old 02-18-2020 , 02:33   Re: I need help with a fastdl error
Reply With Quote #2

Try this:
sv_allowupload 0
sv_allowdownload 0
sv_downloadurl "http://variedhub.com/UserArea/Begisha/csgo/"

Check about it work, if not. revert allowupload/allowdownload back to 1

It doesn't work with "https" =)
ThePwnt is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 02-18-2020 , 06:10   Re: I need help with a fastdl error
Reply With Quote #3

Quote:
Originally Posted by Epstycky View Post
https://pastebin.com/jGbfZ2fj

Everything seems setup fine idk what else could cause these errors.
If you are looking at the error output, -

Code:
Downloading https://variedhub.com/UserArea/Begisha/csgo//maps/am_grass2.bsp.bz2.
Error downloading https://variedhub.com/UserArea/Begisha/csgo//maps/am_grass2.bsp.bz2
Downloading https://variedhub.com/UserArea/Begisha/csgo//maps/am_grass2.bsp.
Download finished!
It tries the "am_grass2.bsp.bz2" first, but since that one does not exist, it falls back to "am_grass2.bsp".

It finishes perfectly fine after it takes "am_grass2.bsp".

For a map name of "am_grass2", it will take the order as you see:

1. am_grass2.bsp.bz2
2. am_grass2.bsp

That is so you can bzip each individual files to save storage (and "bandwidth"), hopefully speeding up your downloads by having less data to download (e.g. over slow Internet connections).


With CS:GO files, you should however make sure that you are NOT BZIP compressing files that were originally over 150 MB in size.

Quote:
Originally Posted by Epstycky View Post
Code:
sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "https://variedhub.com/UserArea/Begisha/csgo/"
You might want to make certain small adjustments, see below.

Quote:
Originally Posted by Epstycky View Post
Code:
[...]
fps_max 1000
sv_maxrate 40000
FPS 1000 with maxrate of 40000 seems a bit "underrated".

Quote:
Originally Posted by Epstycky View Post
I'm only getting these errors for certain files but other files seem to work fine for everyone else does anyone know how to fix it?
You will always see such errors when it tries to download files that does not exist in your sv_downloadurl destination.

However, CS:GO at least, is adding the beginning / automatically (e.g. adding "/maps/..." to your URL, rather than "maps/..."), so from your log, you ended up with multiple slashes "//", which can sometimes cause issues. I would therefore suggest you change to:

Code:
sv_allowupload 0
sv_allowdownload 0
sv_downloadurl "https://variedhub.com/UserArea/Begisha/csgo"

sv_allowupload and sv_allowdownload won't change a single thing, when you have set up your sv_downloadurl properly.

They only have effect when you are not using sv_downloadurl (e.g. sending/receiving files directly from the game server).


Web servers running on Linux/Unix operating systems are case-sensitive, -

Code:
$ curl -s -D - -o /dev/null https://variedhub.com/UserArea/Begisha/csgo/maps/am_must2.bsp | grep HTTP
HTTP/2 200

$ curl -s -D - -o /dev/null https://variedhub.com/UserArea/Begisha/csgo/maps/am_MUST2.bsp | grep HTTP
HTTP/1.1 404 Not Found
This means that if you change map, e.g. "sm_map am_MUST2", "sm_map Am_mUsT2", or so, that isn't all lowercase, then you might end into issues with downloading from your sv_downloadurl.

It can be "mitigated" in certain different ways, depending on the web server used. Apache mod_rewrite can for example with certain RewriteRule's be set up to make redirects to the lowercase variant of an URL.

I suggest keeping all map names (game server, sv_downloadurl location, map cycle files, et cetera, EVERYWHERE) 100% lowercase all the way along.


Quote:
Originally Posted by ThePwnt View Post
It doesn't work with "https" =)
If you look at the error log linked, you clearly see "Download finished!" for the ".bsp" variants, using the "https://" link.

It is however always funny to see people claim things like e.g. "https:// won't work"...

"https://" works perfectly fine for me, and have always done so.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].

Last edited by DarkDeviL; 02-18-2020 at 06:16.
DarkDeviL is offline
Epstycky
New Member
Join Date: Oct 2016
Old 02-18-2020 , 18:16   Re: I need help with a fastdl error
Reply With Quote #4

Quote:
Originally Posted by DarkDeviL View Post
If you are looking at the error output, -

Code:
Downloading https://variedhub.com/UserArea/Begisha/csgo//maps/am_grass2.bsp.bz2.
Error downloading https://variedhub.com/UserArea/Begisha/csgo//maps/am_grass2.bsp.bz2
Downloading https://variedhub.com/UserArea/Begisha/csgo//maps/am_grass2.bsp.
Download finished!
It tries the "am_grass2.bsp.bz2" first, but since that one does not exist, it falls back to "am_grass2.bsp".

It finishes perfectly fine after it takes "am_grass2.bsp".

For a map name of "am_grass2", it will take the order as you see:

1. am_grass2.bsp.bz2
2. am_grass2.bsp

That is so you can bzip each individual files to save storage (and "bandwidth"), hopefully speeding up your downloads by having less data to download (e.g. over slow Internet connections).


With CS:GO files, you should however make sure that you are NOT BZIP compressing files that were originally over 150 MB in size.



You might want to make certain small adjustments, see below.



FPS 1000 with maxrate of 40000 seems a bit "underrated".



You will always see such errors when it tries to download files that does not exist in your sv_downloadurl destination.

However, CS:GO at least, is adding the beginning / automatically (e.g. adding "/maps/..." to your URL, rather than "maps/..."), so from your log, you ended up with multiple slashes "//", which can sometimes cause issues. I would therefore suggest you change to:

Code:
sv_allowupload 0
sv_allowdownload 0
sv_downloadurl "https://variedhub.com/UserArea/Begisha/csgo"

sv_allowupload and sv_allowdownload won't change a single thing, when you have set up your sv_downloadurl properly.

They only have effect when you are not using sv_downloadurl (e.g. sending/receiving files directly from the game server).


Web servers running on Linux/Unix operating systems are case-sensitive, -

Code:
$ curl -s -D - -o /dev/null https://variedhub.com/UserArea/Begisha/csgo/maps/am_must2.bsp | grep HTTP
HTTP/2 200

$ curl -s -D - -o /dev/null https://variedhub.com/UserArea/Begisha/csgo/maps/am_MUST2.bsp | grep HTTP
HTTP/1.1 404 Not Found
This means that if you change map, e.g. "sm_map am_MUST2", "sm_map Am_mUsT2", or so, that isn't all lowercase, then you might end into issues with downloading from your sv_downloadurl.

It can be "mitigated" in certain different ways, depending on the web server used. Apache mod_rewrite can for example with certain RewriteRule's be set up to make redirects to the lowercase variant of an URL.

I suggest keeping all map names (game server, sv_downloadurl location, map cycle files, et cetera, EVERYWHERE) 100% lowercase all the way along.




If you look at the error log linked, you clearly see "Download finished!" for the ".bsp" variants, using the "https://" link.

It is however always funny to see people claim things like e.g. "https:// won't work"...

"https://" works perfectly fine for me, and have always done so.
Thank you I really needed the help I was confused for awhile myself.
Epstycky is offline
Slash The Mighty
Member
Join Date: May 2006
Location: Vault 13
Old 12-09-2020 , 20:09   Re: I need help with a fastdl error
Reply With Quote #5

sorry for bumping a year old thread but I'd like to debunk some myths here seeing as I've wondered about these things since like 2006 and this is the first result on google when searching for sv_downloadurl problems..
so merry christmas here we go. 🥂


q) will an extra "/" break the url?
a) no, the protocol doesn't care about extra /'s, i believe it's the equivelent of doing /././'s
the web server will see it as you trying to access the current folder and then build ontop.
it is very unnecessary to access the folder you are already in, but there we are, it will still work.


q) will https break my downloadurl?
a) no, the SSL protocol is very very very broad these days and everything uses it, incl. a lot of steam.
SSL can break things such as the SteamCache project because that project needs to look inside of traffic and redirect stuff etc.. sv_downloadurl just has to download, everything's done afterwards.
even with my excessively paranoid TLSv1.2-only HSTS setup that some google chrome doesn't even support.. all of the source games supports it even old stuff like l4d. 👍

if you have a problem with sv_downloadurl then like previously discussed in this thread, check to see if the url is case sensitive. mine was, and that meant that despite me typing in the precise name then the webserver said file not found.
i think the filename might be dominated by the changelevel command, so i.e. if you are using rockthevote and you typed dE_dUsT2_ClAsSiC in your mapcycle.txt then make sure the webserver files (.bsp.bz2) are named the same.

tl:dr;
this link works: https://fyn.io//////////////////////...lassic.bsp.bz2 👍
this link makes me sick, but it works: https://fyn.io/ csgo_dl / .. / csgo_dl / .. / csgo_dl / .. / csgo_dl / .. / csgo_dl / .. / csgo_dl / maps / .. / maps / de_dust2_classic.bsp.bz2 🤙
this link will never work: https://fyn.io/csgo_dl/maps/de_dust2_CLASSIC.bsp.bz2 🚫
__________________
---
Slash The Mighty is offline
Send a message via AIM to Slash The Mighty Send a message via MSN to Slash The Mighty Send a message via Skype™ to Slash The Mighty
[email protected]
Junior Member
Join Date: Dec 2019
Old 12-12-2020 , 20:00   Re: I need help with a fastdl error
Reply With Quote #6

https://variedhub.com/UserArea/

add directory yours names & files

------------------------------------------

like this

https://variedhub.com/UserArea/Dev/csgo
__________________

Last edited by [email protected]; 12-12-2020 at 20:01.
vpscfglinux@gmail.com is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode