FastDL suddenly giving HTTP ERROR 0 for every file

I have a server with maps and content using FastDL.

Everything was working perfectly fine for months until now every download returns a HTTP ERROR 0.

This happens for even non bz2 files (which don’t even exist on the server and should just 404), so I’m not sure what’s going on.

Here’s a snippet of the console output when trying to connect.


HTTP ERROR 0 downloading http://www.gmzombies.com/content/maps/zs_bunker_fixed_v2.bsp.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/maps/zs_bunker_fixed_v2.bsp
HTTP ERROR 0 downloading http://www.gmzombies.com/content/maps/graphs/zs_bunker_fixed_v2.ain.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/maps/graphs/zs_bunker_fixed_v2.ain
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/coowner.png.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/coowner.png
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/d_moderator.png.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/d_moderator.png
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/moderator.png.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/moderator.png
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/d_user.png.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/d_user.png
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/overlay.png.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/overlay.png
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/noxiousnet/noxicon.png.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/noxiousnet/noxicon.png
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/zombiesurvival/killicons/bloatedzombie_hd.vtf.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/zombiesurvival/killicons/bloatedzombie_hd.vtf
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/zombiesurvival/killicons/bloatedzombie_hd.vmt.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/zombiesurvival/killicons/bloatedzombie_hd.vmt
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/zombiesurvival/killicons/butcher_hd.vtf.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/zombiesurvival/killicons/butcher_hd.vtf
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/zombiesurvival/killicons/butcher_hd.vmt.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/zombiesurvival/killicons/butcher_hd.vmt
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/zombiesurvival/killicons/chemzombie_hd.vtf.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/zombiesurvival/killicons/chemzombie_hd.vtf
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/zombiesurvival/killicons/chemzombie_hd.vmt.bz2
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/zombiesurvival/killicons/chemzombie_hd.vmt
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/zombiesurvival/killicons/crawler_hd.vtf.bz2

If you visit any of the bz2 links you can see that they are valid and that the files are at that location, so I’m not sure what’s going wrong.

Also, I’ve uninstalled, ensured all game and download folders were wiped and then reinstalled and the issue is still happening.

HTTP_ERROR_NONE = 0,

HMMMM

I know, it doesn’t make any sense.

I’m pretty sure it’s not a client issue either because I can download FastDL content from other servers fine.

Is there any way to get more detailed error info to find the cause?

Strange thing is that all those links work properly as i’ve seen. Does this only happen to you or does it happen to anyone that enters to your server?
It may only be you, that’s why i’m asking.

Did some testing and now I’m pretty sure it’s a Linux issue.

I got my friend (on windows) to delete some map files and rejoin and they downloaded without any issues. I can also see other players successfully downloading content in the apache logs.

However, I get the same error on two different accounts on two different computers running Linux.

Still doesn’t explain why it only seems to happen for my server though.

Ok, the fact that you are on linux helps, try the dev branch on your client, it should spew more error codes now.


CURL FAILURE: 1
HTTP ERROR 0 downloading http://www.gmzombies.com/content/maps/zs_obj_enervation_v14.bsp.bz2
CURL FAILURE: 1
HTTP ERROR 0 downloading http://www.gmzombies.com/content/maps/zs_obj_enervation_v14.bsp
CURL FAILURE: 1
HTTP ERROR 0 downloading http://www.gmzombies.com/content/maps/graphs/zs_obj_enervation_v14.ain.bz2
CURL FAILURE: 1
HTTP ERROR 0 downloading http://www.gmzombies.com/content/maps/graphs/zs_obj_enervation_v14.ain
CURL FAILURE: 1
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/coowner.png.bz2
CURL FAILURE: 1
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/coowner.png
CURL FAILURE: 1
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/d_moderator.png.bz2
CURL FAILURE: 1
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/d_moderator.png
CURL FAILURE: 1
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/moderator.png.bz2
CURL FAILURE: 1
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/moderator.png
CURL FAILURE: 1
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/d_user.png.bz2
CURL FAILURE: 1
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/d_user.png
CURL FAILURE: 1
HTTP ERROR 0 downloading http://www.gmzombies.com/content/materials/gmzombies/gui/overlay.png.bz2


I didn’t have curl installed so I installed it and restarted the game to the same error. I assume it’s a problem with the version shipped with the game.

Those links redirect to https://, which is probably not supported on either your machine or in gmods curl.

This is probably the problem here.

[editline]23rd July 2017[/editline]

Yeah it is definitely the problem and its a problem with GMod.

I’ve moved all my content onto a subdomain without https redirection now, I just need to wait for the DNS records to propagate so I can test it in game.

I guess HTTPS isn’t really needed for a fastdl server but it’s an extra hoop to jump through if your website is all HTTPS.

I assume you just need to recompile the version of curl that ships with gmod to have SSL support?

[editline]23rd July 2017[/editline]

Yup, working perfectly fine now, thanks for helping me find the problem :slight_smile: