Getting error after deploying

0
Hi. After deploying the app I get the error posted below. Obviously the problem is by calling REST services. Does anyone know what the problem is? (everything works when I run the app locally) .   23:42:12APPERRORConnector: An error has occurred while handling the request. [User 'Anonymous_2b77b137-08bd-4360-b519-f365fe3938f5' with session id 'a81eea37-XXXX-XXXX-XXXX-XXXXXXXXdce9' and roles 'Anonymous'] 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:107) 23:42:12APPERRORConnector: com.mendix.modules.microflowengine.MicroflowException: Error calling REST service 23:42:12APPINFOat QuoteAndBuy.process_person (CallRest : 'Call REST (POST)') 23:42:12APPINFOAdvanced stacktrace: 23:42:12APPINFOat com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:60) 23:42:12APPINFOCaused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.security.PrivilegedActionException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:60001 [localhost/127.0.0.1] failed: Connection refused (Connection refused) 23:42:12APPINFOat com.mendix.integration.util.PrivilegedUtil$$anonfun$withPrivileged$2.applyOrElse(PrivilegedUtil.scala:17) 23:42:12APPINFOCaused by: java.security.PrivilegedActionException: null 23:42:12APPINFOat java.base/java.security.AccessController.doPrivileged(Native Method) 23:42:12APPINFOat com.mendix.integration.util.PrivilegedUtil$.$anonfun$withPrivileged$1(PrivilegedUtil.scala:13) 23:42:12APPINFOat scala.util.Try$.apply(Try.scala:210) 23:42:12APPINFOat com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:13) 23:42:12APPINFOat com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:26) 23:42:12APPINFOat com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:75) 23:42:12APPINFOat com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:55) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:32) 23:42:12APPINFOat scala.Option.flatMap(Option.scala:283) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:29) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.$anonfun$executeAfterBreakingIfNecessary$2(MicroflowImpl.scala:174) 23:42:12APPINFOat scala.Option.flatMap(Option.scala:283) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:174) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:121) 23:42:12APPINFOat com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46) 23:42:12APPINFOat com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71) 23:42:12APPINFOat com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49) 23:42:12APPINFOat com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:54) 23:42:12APPINFOat com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:147) 23:42:12APPINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26) 23:42:12APPINFOat com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:152) 23:42:12APPINFOat com.mendix.basis.actionmanagement.MicroflowCallBuilderImpl.execute(MicroflowCallBuilderImpl.scala:40) 23:42:12APPINFOat com.mendix.webui.actions.client.ExecuteMicroflowAction.runMicroflow(ExecuteMicroflowAction.scala:76) 23:42:12APPINFOat com.mendix.webui.actions.client.ExecuteMicroflowAction.$anonfun$apply$3(ExecuteMicroflowAction.scala:42) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:29) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.$anonfun$apply$4(RegularClientAction.scala:55) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:35) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:32) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.withState(RegularClientAction.scala:45) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:53) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:45) 23:42:12APPINFOat com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:43) 23:42:12APPINFOat com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:22) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:109) 23:42:12APPINFOat scala.util.Try$.apply(Try.scala:210) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:109) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:107) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$5(ContextHandling.scala:47) 23:42:12APPINFOat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 23:42:12APPINFOat com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) 23:42:12APPINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26) 23:42:12APPINFOat com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49) 23:42:12APPINFOat com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling$ClientMonitoredAction.monitor(ContextHandling.scala:59) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:47) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:27) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:24) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:19) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86) 23:42:12APPINFOat com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) 23:42:12APPINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26) 23:42:12APPINFOat com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49) 23:42:12APPINFOat com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling$ClientMonitoredAction.monitor(ContextHandling.scala:59) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:47) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:27) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:24) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:19) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:107) 23:42:12APPINFOat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest(ProfileHandling.scala:14) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest$(ProfileHandling.scala:10) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.profileRequest(RegularClientAction.scala:86) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:104) 23:42:12APPINFOat com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:105) 23:42:12APPINFOat com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:82) 23:42:12APPINFOat com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:46) 23:42:12APPINFOat com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:76) 23:42:12APPINFOat com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:73) 23:42:12APPINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26) 23:42:12APPINFOat com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:79) 23:42:12APPINFOat com.mendix.basis.impl.MxRuntimeImplBase.processRequest(MxRuntimeImplBase.java:929) 23:42:12APPINFOat com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.java:42) 23:42:12APPINFOat javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631) 23:42:12APPINFOat org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:226) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) 23:42:12APPINFOat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1369) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489) 23:42:12APPINFOat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1284) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 23:42:12APPINFOat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) 23:42:12APPINFOat com.mendix.basis.actionmanagement.MicroflowCallBuilderImpl.execute(MicroflowCallBuilderImpl.scala:40) 23:42:12APPINFOat com.mendix.webui.actions.client.ExecuteMicroflowAction.runMicroflow(ExecuteMicroflowAction.scala:76) 23:42:12APPINFOat com.mendix.webui.actions.client.ExecuteMicroflowAction.$anonfun$apply$3(ExecuteMicroflowAction.scala:42) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:29) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.$anonfun$apply$4(RegularClientAction.scala:55) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:35) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:32) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.withState(RegularClientAction.scala:45) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:53) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:45) 23:42:12APPINFOat com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:43) 23:42:12APPINFOat com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:22) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:109) 23:42:12APPINFOat scala.util.Try$.apply(Try.scala:210) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:109) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:107) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$5(ContextHandling.scala:47) 23:42:12APPINFOat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 23:42:12APPINFOat com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) 23:42:12APPINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26) 23:42:12APPINFOat com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49) 23:42:12APPINFOat com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling$ClientMonitoredAction.monitor(ContextHandling.scala:59) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:47) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:27) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:24) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:19) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:107) 23:42:12APPINFOat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest(ProfileHandling.scala:14) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest$(ProfileHandling.scala:10) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.profileRequest(RegularClientAction.scala:86) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:104) 23:42:12APPINFOat com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:105) 23:42:12APPINFOat com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:82) 23:42:12APPINFOat com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:46) 23:42:12APPINFOat com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:76) 23:42:12APPINFOat com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:73) 23:42:12APPINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26) 23:42:12APPINFOat com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:79) 23:42:12APPINFOat com.mendix.basis.impl.MxRuntimeImplBase.processRequest(MxRuntimeImplBase.java:929) 23:42:12APPINFOat com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.java:42) 23:42:12APPINFOat org.eclipse.jetty.server.Server.handle(Server.java:501) 23:42:12APPINFOat org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) 23:42:12APPINFOat org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) 23:42:12APPINFOat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) 23:42:12APPINFOat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:272) 23:42:12APPINFOat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) 23:42:12APPINFOat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) 23:42:12APPINFOat org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) 23:42:12APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) 23:42:12APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) 23:42:12APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) 23:42:12APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) 23:42:12APPINFOat org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) 23:42:12APPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) 23:42:12APPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) 23:42:12APPINFOat java.base/java.lang.Thread.run(Unknown Source) 23:42:12APPINFOCaused by: java.net.ConnectException: Connection refused (Connection refused) 23:42:12APPINFOat java.base/java.net.PlainSocketImpl.socketConnect(Native Method) 23:42:12APPINFOat java.base/java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) 23:42:12APPINFOat java.base/java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) 23:42:12APPINFOat java.base/java.net.AbstractPlainSocketImpl.connect(Unknown Source) 23:42:12APPINFOat java.base/java.net.SocksSocketImpl.connect(Unknown Source) 23:42:12APPINFOat java.base/java.net.Socket.connect(Unknown Source) 23:42:12APPINFOat org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75) 23:42:12APPINFOat org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) 23:42:12APPINFOat org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) 23:42:12APPINFOat org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) 23:42:12APPINFOat org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) 23:42:12APPINFOat org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) 23:42:12APPINFOat org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) 23:42:12APPINFOat org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) 23:42:12APPINFOat org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) 23:42:12APPINFOat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) 23:42:12APPINFOat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) 23:42:12APPINFOat com.mendix.http.LoggableHttpClient.$anonfun$execute$3(LoggableHttpClient.scala:26) 23:42:12APPINFOat com.mendix.integration.util.PrivilegedUtil$$anon$1.run(PrivilegedUtil.scala:14) 23:42:12APPINFOat java.base/java.security.AccessController.doPrivileged(Native Method) 23:42:12APPINFOat com.mendix.integration.util.PrivilegedUtil$.$anonfun$withPrivileged$1(PrivilegedUtil.scala:13) 23:42:12APPINFOat scala.util.Try$.apply(Try.scala:210) 23:42:12APPINFOat com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:13) 23:42:12APPINFOat com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:26) 23:42:12APPINFOat com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:75) 23:42:12APPINFOat com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:55) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:32) 23:42:12APPINFOat scala.Option.flatMap(Option.scala:283) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:29) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.$anonfun$executeAfterBreakingIfNecessary$2(MicroflowImpl.scala:174) 23:42:12APPINFOat scala.Option.flatMap(Option.scala:283) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:174) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:121) 23:42:12APPINFOat com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46) 23:42:12APPINFOat com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71) 23:42:12APPINFOat com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49) 23:42:12APPINFOat com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:54) 23:42:12APPINFOat com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:147) 23:42:12APPINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26) 23:42:12APPINFOat com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:152) 23:42:12REQINFOadactaquoteappv7-sandbox.mxapps.io - [2021-06-17T21:42:12.117000995Z] "POST /xas/ HTTP/1.1" 560 719 337 "https://adactaquoteappv7-sandbox.mxapps.io/index.html?profile=Responsive" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36 Edg/91.0.864.48" "10.10.11.21:44552" "10.10.72.14:61106" x_forwarded_for:"89.212.82.33, 10.10.11.21" x_forwarded_proto:"http" vcap_request_id:"37c873b9-0c42-48f7-5ed4-7ab9e98bc1cd" response_time:0.109299 gorouter_time:0.000413 app_id:"75c98576-f15c-4480-bb45-b1672423398d" app_index:"0" x_cf_routererror:"-" x_b3_traceid:"70139b87f051b5b8" x_b3_spanid:"70139b87f051b5b8" x_b3_parentspanid:"-" b3:"70139b87f051b5b8-70139b87f051b5b8" 23:42:12APPINFOat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest(ProfileHandling.scala:14) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest$(ProfileHandling.scala:10) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.profileRequest(RegularClientAction.scala:86) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:104) 23:42:12APPINFOat com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:105) 23:42:12APPINFOat com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:82) 23:42:12APPINFOat com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:46) 23:42:12APPINFOat com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:76) 23:42:12APPINFOat com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:73) 23:42:12APPINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26) 23:42:12APPINFOat com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:79) 23:42:12APPINFOat com.mendix.basis.impl.MxRuntimeImplBase.processRequest(MxRuntimeImplBase.java:929) 23:42:12APPINFOat com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.java:42) 23:42:12APPINFOat javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631) 23:42:12APPINFOat org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:226) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) 23:42:12APPINFOat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1369) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489) 23:42:12APPINFOat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1284) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 23:42:12APPINFOat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) 23:42:12APPINFOat org.eclipse.jetty.server.Server.handle(Server.java:501) 23:42:12APPINFOat org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) 23:42:12APPINFOat org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) 23:42:12APPINFOat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) 23:42:12APPINFOat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:272) 23:42:12APPINFOat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) 23:42:12APPINFOat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) 23:42:12APPINFOat org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) 23:42:12APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) 23:42:12APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) 23:42:12APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) 23:42:12APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) 23:42:12APPINFOat org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) 23:42:12APPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) 23:42:12APPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) 23:42:12APPINFOat java.base/java.lang.Thread.run(Unknown Source) 23:42:12APPINFOCaused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:60001 [localhost/127.0.0.1] failed: Connection refused (Connection refused) 23:42:12APPINFOat org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:156) 23:42:12APPINFOat org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) 23:42:12APPINFOat org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) 23:42:12APPINFOat org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) 23:42:12APPINFOat org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) 23:42:12APPINFOat org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) 23:42:12APPINFOat org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) 23:42:12APPINFOat org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) 23:42:12APPINFOat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) 23:42:12APPINFOat org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) 23:42:12APPINFOat com.mendix.http.LoggableHttpClient.$anonfun$execute$3(LoggableHttpClient.scala:26) 23:42:12APPINFOat com.mendix.integration.util.PrivilegedUtil$$anon$1.run(PrivilegedUtil.scala:14) 23:42:12APPINFOat java.base/java.security.AccessController.doPrivileged(Native Method) 23:42:12APPINFOat com.mendix.integration.util.PrivilegedUtil$.$anonfun$withPrivileged$1(PrivilegedUtil.scala:13) 23:42:12APPINFOat scala.util.Try$.apply(Try.scala:210) 23:42:12APPINFOat com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:13) 23:42:12APPINFOat com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:26) 23:42:12APPINFOat com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:75) 23:42:12APPINFOat com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:55) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:32) 23:42:12APPINFOat scala.Option.flatMap(Option.scala:283) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:29) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.$anonfun$executeAfterBreakingIfNecessary$2(MicroflowImpl.scala:174) 23:42:12APPINFOat scala.Option.flatMap(Option.scala:283) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:174) 23:42:12APPINFOat com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:121) 23:42:12APPINFOat com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46) 23:42:12APPINFOat com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71) 23:42:12APPINFOat com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49) 23:42:12APPINFOat com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:54) 23:42:12APPINFOat com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:147) 23:42:12APPINFOat com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:26) 23:42:12APPINFOat com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:152) 23:42:12APPINFOat com.mendix.basis.actionmanagement.MicroflowCallBuilderImpl.execute(MicroflowCallBuilderImpl.scala:40) 23:42:12APPINFOat com.mendix.webui.actions.client.ExecuteMicroflowAction.runMicroflow(ExecuteMicroflowAction.scala:76) 23:42:12APPINFOat com.mendix.webui.actions.client.ExecuteMicroflowAction.$anonfun$apply$3(ExecuteMicroflowAction.scala:42) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:29) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.$anonfun$apply$4(RegularClientAction.scala:55) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:35) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:32) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.withState(RegularClientAction.scala:45) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:53) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:45) 23:42:12APPINFOat com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:43) 23:42:12APPINFOat com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:22) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:109) 23:42:12APPINFOat scala.util.Try$.apply(Try.scala:210) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:109) 23:42:12APPINFOat com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:107) 23:42:12APPINFOat com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$5(ContextHandling.scala:47) 23:42:12APPINFOat scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) 23:42:12APPINFOat javax.servlet.http.HttpServlet.service(HttpServlet.java:790) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:763) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1631) 23:42:12APPINFOat org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:226) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) 23:42:12APPINFOat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1369) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) 23:42:12APPINFOat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489) 23:42:12APPINFOat org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1284) 23:42:12APPINFOat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 23:42:12APPINFOat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) 23:42:12APPINFOat org.eclipse.jetty.server.Server.handle(Server.java:501) 23:42:12APPINFOat org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) 23:42:12APPINFOat org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) 23:42:12APPINFOat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) 23:42:12APPINFOat org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:272) 23:42:12APPINFOat org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) 23:42:12APPINFOat org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) 23:42:12APPINFOat org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) 23:42:12APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) 23:42:12APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) 23:42:12APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) 23:42:12APPINFOat org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) 23:42:12APPINFOat org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) 23:42:12APPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) 23:42:12APPINFOat org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) 23:42:12APPINFOat java.base/java.lang.Thread.run(Unknown Source) 23:42:12APPERRORClient: An error occurred while executing an action of QuoteAndBuy.SendQuote.actionButton4: Error: An error occurred while executing an action of QuoteAndBuy.SendQuote.actionButton4: 23:42:12APPINFOat https://adactaquoteappv7-sandbox.mxapps.io/mxclientsystem/mxui/mxui.js?637595686133257960:79:304619 23:42:12APPINFOat _e (https://adactaquoteappv7-sandbox.mxapps.io/mxclientsystem/mxui/mxui.js?637595686133257960:34:6720) 23:42:12APPINFOat r (https://adactaquoteappv7-sandbox.mxapps.io/mxclientsystem/mxui/mxui.js?637595686133257960:34:6616) 23:42:12APPINFOat y (https://adactaquoteappv7-sandbox.mxapps.io/mxclientsystem/mxui/mxui.js?637595686133257960:39:148707) 23:45:23REQINFOadactaquoteappv7-sandbox.mxapps.io - [2021-06-17T21:45:23.046187285Z] "POST /xas/ HTTP/1.1" 200 34 2 "https://adactaquoteappv7-sandbox.mxapps.io/index.html?profile=Responsive" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36 Edg/91.0.864.48" "10.10.11.21:56388" "10.10.72.14:61106" x_forwarded_for:"89.212.82.33, 10.10.11.21" x_forwarded_proto:"http" vcap_request_id:"4b02f702-38dd-4943-4884-1b79d9d49eca" response_time:0.031941 gorouter_time:0.000155 app_id:"75c98576-f15c-4480-bb45-b1672423398d" app_index:"0" x_cf_routererror:"-" x_b3_traceid:"acbe0d3c48d3de03" x_b3_spanid:"acbe0d3c48d3de03" x_b3_parentspanid:"-" b3:"acbe0d3c48d3de03-acbe0d3c48d3de03"  
asked
1 answers
2

If this is the log from the cloud check your URL. You are now trying to retrieve from localhost/127.0.0.1. And that can never be the right location for the REST service. That REST service needs to be reachable by the outside with an URL or IP adres.

Regards,

Ronald

 

answered