Hi,

the proxy test was intended to run on a machine without actually needing a 
proxy. I could immagine, that if you run it on a machine with proxy-settings in 
place, that the "run without" test will definitely fail, cause your maven 
settings enables them ... this could be a strange szenario ... 

That's very unfortunate that you still can't access the remote repos ... could 
you please check the following:

1. Create a pom referencing the fontkit (and only that as a dependency). No 
flexmojos no flex, flash or AIR. 
2. Create a pom referencing only the playerglobal in any version you like. 

The fontkit libs are located on a server that needs several http redirects, 
therefore I had to implement a slow but more reliable way to download. The 
other artifacts are downloaded using a more direct method that is less robust. 
If the safe way works, I might add some "force-safe-download" option to always 
use the safe method, even if downloading an AIR SDK or Flex SDK will take 
signifficantly longer.

But regarding your other post ... yes I did add some logging to output a 
message if/what proxy is being used quite some time ago. Usually I did a "mvn 
clean deploy" from my machine to make sure the latest version is online ... 
will have a look at what's online and update it if needed. But thanks for 
reporting :-)

Chris

-----Ursprüngliche Nachricht-----
Von: mscharp [mailto:michael.sch...@fmr.com] 
Gesendet: Montag, 24. August 2015 18:49
An: dev@flex.apache.org
Betreff: Re: AW: AW: AW: AW: AW: Problems Installing Flash SDK according to 
documentation

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