Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

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

Open
1309893329 opened this issue Jan 19, 2018 · 0 comments

Comments

@1309893329
Copy link

1309893329 commented Jan 19, 2018

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant