apache / apache/servicecomb-mesher

无法正确获取client ip

Open
#95 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
688
Forks
69
PR merge metrics
No merged PRs in 30d

Description

场景:使用mesher的服务A与同样使用mesher的服务B

个人分析结论:
A调用B服务时,在B服务处无法获取到A服务的client ip。很大的可能是在mesher B的代理过程中,将这个IP丢弃。

正常的情况下,通过代理(如nginx、apache httpd)后,会提供写入x-forward-for请求头的能力。
是否mesher需要增加类似的配置能力?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.