CodisLabs / CodisLabs/codis

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

Open
#1,720 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
13.2k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

提示错误
公司搬家,服务器的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

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.