You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
http call always failed (no healthy upstream) if target cluster has lb subset config #15163
Title: http call always failed (no healthy upstream) if target cluster has lb subset config
Description:
When I try to send http request with cluster->httpAsyncClient().send(...), if target cluster has lb subset config, then the requests always failed with a No Healthy Upstream error.
The reason is the metadataMatchCriteria() of route entry of async http client always return null.
Maybe we can extend RequestOption so that it can be used to pass metadataMatchCriteria. When users use async http client to send requests, they can configure metadataMatchCriteria according to their needs. 🤔
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
Activity
wbpcode commentedon Feb 24, 2021
Maybe we can extend RequestOption so that it can be used to pass metadataMatchCriteria. When users use async http client to send requests, they can configure metadataMatchCriteria according to their needs. 🤔
zuercher commentedon Feb 24, 2021
Some mechanism for passing the required metadata would be necessary for this to work.
github-actions commentedon Mar 26, 2021
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
wbpcode commentedon Mar 27, 2021
/no-stale
wbpcode commentedon Apr 6, 2021
For this problem, I think a small extension to RequestOption/StreamOption is sufficient. Just as below:
extended request options to support passing metadata match criteria (#…
wbpcode commentedon Apr 19, 2021
#15863
extended request options to support passing metadata match criteria (e…
extended request options to support passing metadata match criteria (e…