Hello,
localhost ?? you shouldprovide an existing hostname. localhost points
always to 127.0.0.1.
this is a loopback interface.
furthermore a slash is missing at the end of all the urls.
map http://replace_it_with_a_real_hostname <http://localhost/> /
http://bucket_name.s3.eu-west-1.amazonaws.com
<http://bucket_name.s3.eu-west-1.amazonaws.com/> / @plugin=s3_auth.so
@pparam=--config @pparam=s3_auth_v4.config
reverse_map http://bucket_name.s3.eu-west-1.amazonaws.com
<http://bucket_name.s3.eu-west-1.amazonaws.com/> /
http://replace_it_with_a_Real_hostname/ <http://localhost/>
kr
Juergen
On Tue, 14 Apr 2020 19:12:29 +0200 Kamil wrote:
So how can I make it working? I have enabled debugging but it doesn't
producetraffic.out file. My configs:
records.config: https://pastebin.com/YAzD14j3
remap.config:
map <a href="http://localhost:80"rel="noopener" target="_blank">http://localhost:80</a>
<ahref="http://bucket_name.s3.eu-west-1.amazonaws.com"
rel="noopener"target="_blank">http://bucket_name.s3.eu-west-1.amazonaws.com</a> @plugin=s3_auth.so @pparam=--config
@pparam=s3_auth_v4.config
reverse_map <ahref="http://bucket_name.s3.eu-west-1.amazonaws.com"
rel="noopener"target="_blank">http://bucket_name.s3.eu-west-1.amazonaws.com</a> <a
href="http://localhost:80"rel="noopener" target="_blank">http://localhost:80</a>
(I have also tried without reverse_map)
region_map.config:
s3.amazonaws.com : eu-west-1
s3.dualstack.eu-west-1.amazonaws.com : eu-west-1
s3.eu-west-1.amazonaws.com : eu-west-1
: eu-west-1
s3_auth_v4.config
access_key=x
secret_key=x
version=4
v4-region-map=region_map.config
Dnia 9 kwietnia 2020 20:12 Alan Carroll <[email protected]>
napisał(a):
"Cycle prohibited" generally means that ATS has been configured to connect to itself and upon detecting this,prevents the infinite loop. This is detected by watching the "Via" header and seeing if it has the same via data as thecurrent ATS (which, if true, means there is a cycle). If I had to debug it, I would enable debug messages with the"http" tag. That generates a lot of data, including where ATS is trying to connect when it goes upstream. I would lookat that to make sure it's going where it is supposed to and not to itself.
On Thu, Apr 9, 2020 at 9:18 AM Kamil<https://mailto:[email protected][email protected] <https://mailto:[email protected]> > wrote:
Hi,
I have ATS configured to act as a reverse proxy for AWS S3 bucket. That works
fine if I call it inside thedocker container running it or when I am calling
http://localhost in the web browser on mycomputer. However I am getting Cycle
Prohibited error when I am trying to open it in my local network using the
privateIP of my laptop.
I am trying to find anything regarding that in the docs, but there is not too
much. How can Imake it working outside of my localhost?
brgds,
**
Best Regards
Jürgen Paulhart
E-Mail / SIP / XMPP :[email protected]
VoIP / Mobil: +43 676 30 59 244
*** Information Technologies & HostedUnified Communications ***
<** Diese Nachricht is signiert. Der Inhalt wurde während desTransfers nicht
verändert **>
<*** .. and if you don't know, now you know, ... ***>