Hi,

> get-with-no-params:
>      [get] Getting:
> http://airdownload.adobe.com/air/mac/download/29.0//AdobeAIRSDK.dmg?ts=201805311405
>      [get] To:
> /Users/oharkins/Documents/Adobe/ApachieFlex/test/apache-flex-sdk-4.16.1-bin/in/AdobeAIRSDK.dmg
>      [get]
> http://airdownload.adobe.com/air/mac/download/29.0//AdobeAIRSDK.dmg?ts=201805311405
> permanently moved to
> https://airdownload.adobe.com/air/mac/download/29.0/AdobeAIRSDK.dmg?ts=201805311405

The issue is is that a http URI is being requested and Adobe’s server is 
returning a 301 saying the file has moved and gives a https URI.

> /Users/oharkins/Documents/Adobe/ApachieFlex/test/apache-flex-sdk-4.16.1-bin/installer.xml:967:
> Redirection detected from http to https. Protocol switch unsafe, not allowed.

And the redirection from http to https is not allowed by ant. That issue might 
be ant version specific.

Hosting the binaries elsewhere is not going o fix this issue. Changing the URL 
from http: to https: may do.

Here’s the curl output showing what is going on:
curl -v http://airdownload.adobe.com/air/mac/download/29.0//AdobeAIRSDK.dmg
*   Trying 23.9.226.40...
* TCP_NODELAY set
* Connected to airdownload.adobe.com (23.9.226.40) port 80 (#0)
> GET /air/mac/download/29.0//AdobeAIRSDK.dmg HTTP/1.1
> Host: airdownload.adobe.com
> User-Agent: curl/7.54.0
> Accept: */*
> 
< HTTP/1.1 301 Moved Permanently
< Server: AkamaiGHost
< Content-Length: 0
< Location: https://airdownload.adobe.com/air/mac/download/29.0/AdobeAIRSDK.dmg
< Date: Thu, 31 May 2018 21:58:35 GMT
< Connection: keep-alive


Thanks,
Justin

Reply via email to