marathon-client icon indicating copy to clipboard operation
marathon-client copied to clipboard

Failed to successfully establish a connection to the leader. (http status: 502)

Open 1309893329 opened this issue 7 years ago • 0 comments

My batch submission prompted 502 errors, but the release was successful!!,why???

The following is the API I wrote: @RequestLine("PUT /v2/apps/{app_id}?force=true") @Headers(HeaderUtils.MARATHON_API_SOURCE_HEADER) void forceUpdateApp(@ Named("app_id") String appId, App app) throws MarathonException;

Failed to successfully establish a connection to the leader. (http status: 502) at com.mesosphere.marathon.client.MarathonClient$MarathonErrorDecoder.decode(MarathonClient.java:28) at feign.MethodHandler$SynchronousMethodHandler.executeAndDecode(MethodHandler.java:154) at feign.MethodHandler$SynchronousMethodHandler.invoke(MethodHandler.java:105) at feign.ReflectiveFeign$FeignInvocationHandler.invoke(ReflectiveFeign.java:87) at com.sun.proxy.$Proxy90.forceUpdateApp(Unknown Source)

1309893329 avatar Jan 19 '18 06:01 1309893329