CodisLabs / codis

Proxy based Redis cluster solution supporting pipeline and scaling dynamically
MIT License
13.17k stars 2.69k forks source link

添加代理ip(proxy ip)提示错误 可以直接修改proxy ip所在配置文件? #1720

Open PalaChen opened 4 years ago

PalaChen commented 4 years ago

提示错误 公司搬家,服务器的ip地址有之前的192.168.3.115 192.168.3.119 192.168.3.190变成 192.168.1.115,192.168.1.119,192.168.1.190 在http://192.168.1.115:18090/#codis-testX中new proxy 中添加192.168.1.115提示错误如下

{ "Cause": "proxy@192.168.1.115:19000 fetch model failed, Get http://192.168.1.115:19000/api/proxy/model: net/http: HTTP/1.x transport connection broken: malformed HTTP status code \"router\"", "Stack": [ { "Name": "github.com/CodisLabs/codis/pkg/topom.(*Topom).CreateProxy", "File": "/opt/gowork/src/github.com/CodisLabs/codis/pkg/topom/topom_proxy.go", "Line": 24 }, { "Name": "github.com/CodisLabs/codis/pkg/topom.(*apiServer).CreateProxy", "File": "/opt/gowork/src/github.com/CodisLabs/codis/pkg/topom/topom_api.go", "Line": 244 }, { "Name": "github.com/CodisLabs/codis/pkg/topom.(*apiServer).CreateProxy-fm", "File": "/opt/gowork/src/github.com/CodisLabs/codis/pkg/topom/topom_api.go", "Line": 81 } ] }

是否可以通过修改配置信息 然后把原来的ip换成新的ip