Raised This Month: $ Target: $400
 0% 

[HELP] Amazon S3 and CS server fastdl


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kujaca
Junior Member
Join Date: Jan 2025
Old 01-30-2025 , 19:56   [HELP] Amazon S3 and CS server fastdl
Reply With Quote #1

So i created bucket on amazon s3 and copied public url (made sure that i enabled public access before).
I pasted that url to my server.cfg file so it goes sv_downloadurl "https://<bucket-name>.s3.<region>.amazonaws.com/cstrike/" but it doesn't either work or download my files any faster when i connect to server.
Maybe worth mentioning that my cs 1.6 server is run inside docker container.
kujaca is offline
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 01-31-2025 , 08:06   Re: [HELP] Amazon S3 and CS server fastdl
Reply With Quote #2

fastdl does not support SSL protocols, therefore its address must point to "http" and not be forcibly redirected to "https", on the other hand, a metamod module has recently been developed that allows this to be created locally, at the moment it is only available for Linux, a version for Windows is expected., try it.
__________________
mlibre is offline
kujaca
Junior Member
Join Date: Jan 2025
Old 01-31-2025 , 13:46   Re: [HELP] Amazon S3 and CS server fastdl
Reply With Quote #3

Quote:
Originally Posted by mlibre View Post
fastdl does not support SSL protocols, therefore its address must point to "http" and not be forcibly redirected to "https", on the other hand, a metamod module has recently been developed that allows this to be created locally, at the moment it is only available for Linux, a version for Windows is expected., try it.
[META] ERROR: Plugin didn't set meta_result: fastdl_386.so:StartFrame_Post() the issue it gives me (my machine is 64 bit and i noticed file is 32 bit). If you need more information about my server please do tell.

I use kingk0der/counter-strike-1.6 docker image
kujaca is offline
tschumann
Member
Join Date: Jun 2017
Location: Australia
Old 01-31-2025 , 19:19   Re: [HELP] Amazon S3 and CS server fastdl
Reply With Quote #4

It should load a 32-bit .so file okay as long as that compatibility package is installed (package name depends on the distro).

If you put CloudFront on top of S3 you might be able to do HTTP that way? I haven't tried but I believe the option is there.
tschumann is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-31-2025 , 20:43   Re: [HELP] Amazon S3 and CS server fastdl
Reply With Quote #5

Quote:
Originally Posted by mlibre View Post
fastdl does not support SSL protocols, therefore its address must point to "http" and not be forcibly redirected to "https", on the other hand, a metamod module has recently been developed that allows this to be created locally, at the moment it is only available for Linux, a version for Windows is expected., try it.
How does a server-side module modify how the client-side application works? (I'm quite sure I know what you're saying but it's extremely unclear).
__________________

Last edited by fysiks; 01-31-2025 at 21:05.
fysiks is offline
kujaca
Junior Member
Join Date: Jan 2025
Old 02-03-2025 , 10:43   Re: [HELP] Amazon S3 and CS server fastdl
Reply With Quote #6

Nevemind guys, I've managed to fix it. Thank you all !

Last edited by kujaca; 02-03-2025 at 10:43.
kujaca is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-03-2025 , 22:11   Re: [HELP] Amazon S3 and CS server fastdl
Reply With Quote #7

Quote:
Originally Posted by kujaca View Post
Nevemind guys, I've managed to fix it. Thank you all !
What did you do to make it work? I'm sure it won't be the last time someone needs help with this so you should help others by providing your method to make it work.
__________________
fysiks is offline
kujaca
Junior Member
Join Date: Jan 2025
Old Yesterday , 04:26   Re: [HELP] Amazon S3 and CS server fastdl
Reply With Quote #8

Another update guys.
I checked again on that sound that takes too long to load and decided to put CloudFront on top of Amazon S3, delete all files that were fetched locally and started again. It instantly downloaded it. So the solution to my problem was to put CloudFront and use HTTP.

Thank you all!
kujaca is offline
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old Yesterday , 21:16   Re: [HELP] Amazon S3 and CS server fastdl
Reply With Quote #9

@fysiks The module creates a web server where the server is executed not client-side.

@kujaca http(1) https(0)
__________________
mlibre 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 11:23.


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