Ok Chris, got some new information.

This still wasn't working for me, so I decided to try to mavenize the sdk
myself.

I downloaded the git repo, and tried to build the flex-sdk-converter, but
received failing tests... namely the ProxyTest in the download-retriever
module.  I've included the output at the bottom of this message.

So, I took a look at the ProxyTest file, and changed the ProxySettings to
match my own proxy in each of the tests.  With this ProxySetting, each of
the tests pass.  

I hope this info helps.  Could it mean that the download retriever still
isn't using the correct settings for the proxy?  How does the
download-retriever even get the proxy settings from the settings.xml file?


===========================================================
Downloading
http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/rideau.jar?format=raw
Expected size: 0KB
   0% [>                                                 ] 
Finished downloading.
===========================================================
10:18:57.496 [nioEventLoopGroup-8-4] DEBUG o.m.client.netty.NettyHttpClient
- Sending request: {
  "method" : "GET",
  "path" : "/adobe/flexsdk/code/HEAD/tree/trunk/lib/flex-fontkit.jar",
  "queryStringParameters" : [ {
    "name" : "format",
    "values" : [ "raw" ]
  } ],
  "headers" : [ {
    "name" : "Host",
    "values" : [ "sourceforge.net" ]
  }, {
    "name" : "User-Agent",
    "values" : [ "Apache-HttpClient/4.5 (Java/1.8.0_51)" ]
  }, {
    "name" : "Accept-Encoding",
    "values" : [ "gzip,deflate" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  } ],
  "keepAlive" : true,
  "secure" : false
}
10:19:27.921 [nioEventLoopGroup-8-4] ERROR o.m.proxy.http.HttpProxyHandler -
Exception processing {
  "method" : "GET",
  "path" : "/adobe/flexsdk/code/HEAD/tree/trunk/lib/flex-fontkit.jar",
  "queryStringParameters" : [ {
    "name" : "format",
    "values" : [ "raw" ]
  } ],
  "headers" : [ {
    "name" : "Host",
    "values" : [ "sourceforge.net" ]
  }, {
    "name" : "User-Agent",
    "values" : [ "Apache-HttpClient/4.5 (Java/1.8.0_51)" ]
  }, {
    "name" : "Accept-Encoding",
    "values" : [ "gzip,deflate" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  } ],
  "keepAlive" : true,
  "secure" : false
}
org.mockserver.client.netty.SocketConnectionException: Unable to connect to
socket sourceforge.net/216.34.181.60:80
        at
org.mockserver.client.netty.NettyHttpClient.sendRequest(NettyHttpClient.java:76)
~[mockserver-core-3.9.17.jar:na]
        at
org.mockserver.proxy.http.HttpProxyHandler.sendRequest(HttpProxyHandler.java:170)
[mockserver-netty-3.9.17.jar:3.9.17]
        at
org.mockserver.proxy.http.HttpProxyHandler.channelRead0(HttpProxyHandler.java:149)
[mockserver-netty-3.9.17.jar:3.9.17]
        at
org.mockserver.proxy.http.HttpProxyHandler.channelRead0(HttpProxyHandler.java:42)
[mockserver-netty-3.9.17.jar:3.9.17]
        at
io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[netty-codec-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:147)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[netty-codec-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103)
[netty-codec-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:244)
[netty-codec-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:147)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
org.mockserver.proxy.unification.PortUnificationHandler.switchToHttp(PortUnificationHandler.java:181)
[mockserver-netty-3.9.17.jar:3.9.17]
        at
org.mockserver.proxy.unification.PortUnificationHandler.channelRead0(PortUnificationHandler.java:90)
[mockserver-netty-3.9.17.jar:3.9.17]
        at
org.mockserver.proxy.unification.PortUnificationHandler.channelRead0(PortUnificationHandler.java:27)
[mockserver-netty-3.9.17.jar:3.9.17]
        at
io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:308)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:294)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:846)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)
[netty-common-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)
[netty-common-4.0.29.Final.jar:4.0.29.Final]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_51]
Caused by: io.netty.channel.ConnectTimeoutException: connection timed out:
sourceforge.net/216.34.181.60:80
        at
io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe$1.run(AbstractNioChannel.java:220)
~[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.util.concurrent.PromiseTask$RunnableAdapter.call(PromiseTask.java:38)
~[netty-common-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:120)
~[netty-common-4.0.29.Final.jar:4.0.29.Final]
        at
io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:357)
~[netty-common-4.0.29.Final.jar:4.0.29.Final]
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:357)
[netty-transport-4.0.29.Final.jar:4.0.29.Final]
        ... 3 common frames omitted
statusCode: 400
reasonPhrase: Bad Request
===========================================================
Downloading
http://sourceforge.net/adobe/flexsdk/code/HEAD/tree/trunk/lib/flex-fontkit.jar?format=raw
Expected size: 0KB
   0% [>                                                 ] 
Finished downloading.
===========================================================
10:19:27.923 [main] DEBUG o.m.client.netty.NettyHttpClient - Sending
request: {
  "method" : "PUT",
  "path" : "/stop"
}
10:19:27.939 [main] DEBUG o.m.client.netty.NettyHttpClient - Received
response: {
  "statusCode" : 202,
  "headers" : [ {
    "name" : "Connection",
    "values" : [ "keep-alive" ]
  }, {
    "name" : "Content-Length",
    "values" : [ "0" ]
  }, {
    "name" : "Content-Type",
    "values" : [ "application/json; charset=utf-8" ]
  } ]
}
Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 152.42 sec
<<< FAILURE! - in
org.apache.flex.utilities.converter.retrievers.download.ProxyTest
simpleFastHttpNoAuthProxy(org.apache.flex.utilities.converter.retrievers.download.ProxyTest)
 
Time elapsed: 30.234 sec  <<< FAILURE!
org.apache.flex.utilities.converter.retrievers.exceptions.RetrieverException:
Error parsing 'sdk-installer-config-4.0.xml'
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1839)
        at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
        at
org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.getBinaryUrl(DownloadRetriever.java:296)
        at
org.apache.flex.utilities.converter.retrievers.download.DownloadRetriever.retrieve(DownloadRetriever.java:123)
        at
org.apache.flex.utilities.converter.retrievers.download.ProxyTest.simpleFastHttpNoAuthProxy(ProxyTest.java:55)


Results :

Failed tests: 
  ProxyTest.simpleFastHttpNoAuthProxy:55 ยป Retriever Error parsing
'sdk-installe...




--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/Problems-Installing-Flash-SDK-according-to-documentation-tp48319p48916.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to