Forum Discussion
Download file from AWS S3 bucket / http profile
- Jun 14, 2023
Hello,
Resolved, add only : HTTP::header replace Host "hostname"
FYI : url is : hostname.bucket.xxxxxxaws......
So, 2 questions here:
- Does datagroup 'uri-data' actually exist? Do you have the URI path there for the file you are looking to download?
- The HTTP::disable in the HTTP_RESPONSE will trigger on EVERY request, regardless if there is a match in the HTTP_REQUEST. You need to specify a variable in the HTTP_REQUEST and check it in the HTTP_RESPONSE. I presume that when that particular URI is matched, you only then want to disable the HTTP profile for that session -- both client side (http_request) and server side (http_response.
Hello,
- Yes, the 'uri-data' datagroup exists (also tested with fixed uri in code)
- Same problem, HTTP_RESPONSE with matched URI !
I presume that when that particular URI is matched, you only then want to disable the HTTP profile for that session -- both client side (http_request) and server side (http_response.
=> I don't know how it works, I found this solution in the two links shared, I'm interested in any other solutions.
My question, is there a special configuration when trying to view or download a file (http://VS_F5/path_file) with a Standard VS ?
I would also like to confirm: I access in http and the backend servers are in https, correct : no client ssl, with default serverssl ?
Thank you
- whispererJun 13, 2023MVP
Ok, so you have a virtual server configured. What do you have configured as Pool Members? Sounds like you have a standard VS and want to server side proxy to AWS S3 buckets?
Silly question, but do you have SNAT enabled on VS? Could be routing issue.
- cpt_ri_F5Jun 13, 2023Cirrostratus
yes, a standard VS, pool fqdn (up)
wWy proxy? I just want to retrieve the file in http, curl or wget
Not snat, automap (route ok)
Thanks
- whispererJun 13, 2023MVP
Your response is confusing. "Not snat" - so this is not enabled? You are also using a pool of FQDNs. Do you have DNS enabled on the F5 and is this being properly resolved to the IP addresses that host your S3 bucket? Have you tried to perform a TCP dump on both client side and server side of the connection? Have you tried to tail -f /var/log/ltm to see if there are any errors flagged?
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com