Mulesoft连接超时问题

时间:2017-09-18 16:56:34

标签: mule anypoint-studio

当我尝试运行简单的mule流程时,我收到了连接超时异常:

  

消息:发送HTTP请求时出错。有效载荷
  :{NullPayload}有效载荷类型:org.mule.transport.NullPayload   元素:/ getunitedflightsFlow / processors / 0 @   getunitedflights:getunitedflights.xml:15(获取航班请求)

元素XML:

  

Root异常堆栈跟踪:java.net.ConnectException:连接超时     在   org.glassfish.grizzly.connectionpool.SingleEndpointPool $ ConnectCompletionHandler.cancelled(SingleEndpointPool.java:1284)     在   org.glassfish.grizzly.impl.SafeFutureImpl.notifyCompletionHandlers(SafeFutureImpl.java:185)     在   org.glassfish.grizzly.impl.SafeFutureImpl.done(SafeFutureImpl.java:277)     在   org.glassfish.grizzly.impl.SafeFutureImpl $ Sync.innerCancel(SafeFutureImpl.java:389)     在   org.glassfish.grizzly.impl.SafeFutureImpl.cancel(SafeFutureImpl.java:247)     在   org.glassfish.grizzly.connectionpool.SingleEndpointPool $ ConnectTimeoutWorker.doWork(SingleEndpointPool.java:1352)     在   org.glassfish.grizzly.connectionpool.SingleEndpointPool $ ConnectTimeoutWorker.doWork(SingleEndpointPool.java:1344)     在   org.glassfish.grizzly.utils.DelayedExecutor $ DelayedRunnable.run(DelayedExecutor.java:158)     在   org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.doWork(AbstractThreadPool.java:591)     在   org.glassfish.grizzly.threadpool.AbstractThreadPool $ Worker.run(AbstractThreadPool.java:571)     在java.lang.Thread.run(Thread.java:748)

这是骡子流程:

<flow name="getunitedflightsFlow">
    <http:listener config-ref="HTTP_Listener_Configuration" path="/home" doc:name="HTTP"/>
    <http:request config-ref="HTTP_Request_Configuration" path="/essentials/united/flights" method="GET" doc:name="Get Flights Requests"/>
</flow>

我做了一些谷歌搜索,它看起来像代理/防火墙问题,我尝试在首选项下添加代理设置,所有本地/直接/手动选项都不起作用。我还添加了以下属性/ args:

  

-XX:PermSize = 128M -XX:MaxPermSize = 256M -Dhttps.proxyHost = proxy.xxxx.com -Dhttps.proxyPort = 8080 -Dhttps.proxyUsername = myfirst.mylast -Dhttps.proxyPassword = xxxxxxxxx

它不起作用,也尝试更改Http请求连接器本身的代理设置,但这也不起作用。

有谁知道这里发生了什么, 感谢您的帮助!

0 个答案:

没有答案