REST status code 560 from POST to local instance

0
I’m trying to test a POST to my API locally.  Executing from the rest-doc page works  curl -X POST "http://localhost:8080/rest/stripe/v1/stripeevent" -H "accept: application/json" -H "Content-Type: application/json"   But when calling it from Stripe (through smee.io), I get Error: cannot POST /rest/stripe/v1/stripeevent (560) The service has no security features defined:  I’ve set up a breakpoint as the first step of my microflow but it never gets called.  Console returns:  Exception in execution of monitored action '/rest/stripe/v1/stripeevent' (execution id: 59180480-0c84-4357-a29d-16cdaf0b441e, execution type: UNKNOWN) -------- java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 30004/30000 ms at org.eclipse.jetty.server.HttpInput$ErrorState.noContent(HttpInput.java:1149) at org.eclipse.jetty.server.HttpInput.read(HttpInput.java:333) at java.base/java.io.InputStream.read(InputStream.java:205) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1309) at org.apache.commons.io.IOUtils.copy(IOUtils.java:978) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1282) at org.apache.commons.io.IOUtils.copy(IOUtils.java:953) at org.apache.commons.io.IOUtils.toByteArray(IOUtils.java:2405) at com.mendix.integration.util.InputStreamUtil$RichInputStream$.toByteArray$extension(InputStreamUtil.scala:18) at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$operationResponse$8(RestOperationProcessors.scala:130) at cats.Later.value$lzycompute(Eval.scala:148) at cats.Later.value(Eval.scala:147) at com.mendix.integration.service.rest.microflowarguments.RestMicroflowArguments.bodyArgument(RestMicroflowArguments.scala:94) at com.mendix.integration.service.rest.microflowarguments.RestMicroflowArguments.argument(RestMicroflowArguments.scala:73) at com.mendix.integration.service.rest.microflowarguments.RestMicroflowArguments.$anonfun$apply$1(RestMicroflowArguments.scala:43) at scala.collection.immutable.List.map(List.scala:246) at com.mendix.integration.service.rest.microflowarguments.RestMicroflowArguments.apply(RestMicroflowArguments.scala:42) at com.mendix.integration.service.rest.RestOperationProcessors.getMicroflowResult(RestOperationProcessors.scala:198) at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$operationResponse$5(RestOperationProcessors.scala:131) at com.mendix.basis.actionmanagement.ActionMonitoring$.$anonfun$monitor$1(ActionMonitoring.scala:49) at com.mendix.util.classloading.Runner.withContextClassLoader(Runner.java:19) at com.mendix.basis.actionmanagement.ActionMonitoring$.monitor(ActionMonitoring.scala:49) at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$operationResponse$4(RestOperationProcessors.scala:129) at com.mendix.integration.service.rest.RestOperationProcessors.withSystemContext(RestOperationProcessors.scala:137) at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$operationResponse$2(RestOperationProcessors.scala:123) at com.mendix.integration.service.rest.RestOperationProcessors.operationResponse(RestOperationProcessors.scala:127) at com.mendix.integration.service.rest.RestOperationProcessors.processOperations(RestOperationProcessors.scala:87) at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$createProcessor$1(RestOperationProcessors.scala:64) at com.mendix.integration.service.PathProcessors.$anonfun$process$1(PathProcessors.scala:32) at scala.collection.Iterator$$anon$10.nextCur(Iterator.scala:585) at scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:599) at scala.collection.Iterator.nextOption(Iterator.scala:102) at scala.collection.Iterator.nextOption$(Iterator.scala:102) at scala.collection.AbstractIterator.nextOption(Iterator.scala:1288) at com.mendix.integration.util.IteratorUtil$RichIterable$.firstDefined$extension(IteratorUtil.scala:27) at com.mendix.integration.service.PathProcessors.process(PathProcessors.scala:28) at com.mendix.integration.service.PathProcessors.process$(PathProcessors.scala:27) at com.mendix.integration.service.rest.RestOperationProcessors.process(RestOperationProcessors.scala:42) at com.mendix.integration.requesthandlers.RestRequestHandler.$anonfun$processRequest$1(RestRequestHandler.scala:38) at scala.collection.Iterator$$anon$10.nextCur(Iterator.scala:585) at scala.collection.Iterator$$anon$10.hasNext(Iterator.scala:599) at scala.collection.Iterator.nextOption(Iterator.scala:102) at scala.collection.Iterator.nextOption$(Iterator.scala:102) at scala.collection.AbstractIterator.nextOption(Iterator.scala:1288) at com.mendix.integration.util.IteratorUtil$RichIterable$.firstDefined$extension(IteratorUtil.scala:27) at com.mendix.integration.requesthandlers.RestRequestHandler.processRequest(RestRequestHandler.scala:38) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:35) at com.mendix.external.connector.MxRuntimeConnector.lambda$processRequest$0(MxRuntimeConnector.java:74) at com.mendix.util.classloading.Runner.withContextClassLoader(Runner.java:19) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:73) at com.mendix.basis.impl.MxRuntimeImplBase.processRequest(MxRuntimeImplBase.java:838) at com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.scala:25) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626) at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: java.util.concurrent.TimeoutException: Idle timeout expired: 30004/30000 ms at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)  
asked
1 answers
0

Switching from smee.io to ngrok solved the issue.

answered