{"action":"created","issue":{"url":"https://api.github.com/repos/CodisLabs/codis/issues/1113","repository_url":"https://api.github.com/repos/CodisLabs/codis","labels_url":"https://api.github.com/repos/CodisLabs/codis/issues/1113/labels{/name}","comments_url":"https://api.github.com/repos/CodisLabs/codis/issues/1113/comments","events_url":"https://api.github.com/repos/CodisLabs/codis/issues/1113/events","html_url":"https://github.com/CodisLabs/codis/issues/1113","id":198639669,"number":1113,"title":"codis3.1 添加其他节点proxy总报错 ","user":{"login":"heming79","id":14069019,"avatar_url":"https://avatars.githubusercontent.com/u/14069019?v=3","gravatar_id":"","url":"https://api.github.com/users/heming79","html_url":"https://github.com/heming79","followers_url":"https://api.github.com/users/heming79/followers","following_url":"https://api.github.com/users/heming79/following{/other_user}","gists_url":"https://api.github.com/users/heming79/gists{/gist_id}","starred_url":"https://api.github.com/users/heming79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heming79/subscriptions","organizations_url":"https://api.github.com/users/heming79/orgs","repos_url":"https://api.github.com/users/heming79/repos","events_url":"https://api.github.com/users/heming79/events{/privacy}","received_events_url":"https://api.github.com/users/heming79/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-01-04T06:39:32Z","updated_at":"2017-01-04T07:30:54Z","closed_at":null,"body":"\r\n最开始添加本机的proxy是不报错的，本机proxy正常\r\n./bin/codis-admin --dashboard=127.0.0.1:18080 --create-proxy  --addr=127.0.0.1:11080  \r\ncodis3.1 添加其他节点proxy总报错 \r\n[root@yz-mbg-018206 codis]# ./bin/codis-admin --dashboard=127.0.0.1:18080 --online-proxy  --addr=192.168.7.208:11080    \r\n2017/01/04 14:35:57 dashboard.go:379: [PANIC] call rpc online-proxy to dashboard 127.0.0.1:18080 failed\r\n[error]: [Remote Error] proxy@192.168.7.208:11080 check xauth failed\r\n    2   /data/gohome/src/github.com/CodisLabs/codis/pkg/topom/topom_proxy.go:60\r\n            github.com/CodisLabs/codis/pkg/topom.(*Topom).OnlineProxy\r\n    1   /data/gohome/src/github.com/CodisLabs/codis/pkg/topom/topom_api.go:255\r\n            github.com/CodisLabs/codis/pkg/topom.(*apiServer).OnlineProxy\r\n    0   /data/gohome/src/github.com/CodisLabs/codis/pkg/topom/topom_api.go:82\r\n            github.com/CodisLabs/codis/pkg/topom.(*apiServer).OnlineProxy-fm\r\n        ... ...\r\n[stack]: \r\n    2   /data/gohome/src/github.com/CodisLabs/codis/cmd/admin/dashboard.go:379\r\n            main.(*cmdDashboard).handleProxyCommand\r\n    1   /data/gohome/src/github.com/CodisLabs/codis/cmd/admin/dashboard.go:52\r\n            main.(*cmdDashboard).Main\r\n    0   /data/gohome/src/github.com/CodisLabs/codis/cmd/admin/main.go:81\r\n            main.main\r\n        ... ...\r\n[root@yz-mbg-018206 codis]# ./bin/codis-admin --dashboard=127.0.0.1:18080 --create-proxy  --addr=192.168.7.208:11080  \r\n2017/01/04 14:38:17 dashboard.go:369: [PANIC] call rpc create-proxy to dashboard 127.0.0.1:18080 failed\r\n[error]: [Remote Error] proxy@192.168.7.208:11080 check xauth failed\r\n    2   /data/gohome/src/github.com/CodisLabs/codis/pkg/topom/topom_proxy.go:29\r\n            github.com/CodisLabs/codis/pkg/topom.(*Topom).CreateProxy\r\n    1   /data/gohome/src/github.com/CodisLabs/codis/pkg/topom/topom_api.go:240\r\n            github.com/CodisLabs/codis/pkg/topom.(*apiServer).CreateProxy\r\n    0   /data/gohome/src/github.com/CodisLabs/codis/pkg/topom/topom_api.go:81\r\n            github.com/CodisLabs/codis/pkg/topom.(*apiServer).CreateProxy-fm\r\n        ... ...\r\n[stack]: \r\n    2   /data/gohome/src/github.com/CodisLabs/codis/cmd/admin/dashboard.go:369\r\n            main.(*cmdDashboard).handleProxyCommand\r\n    1   /data/gohome/src/github.com/CodisLabs/codis/cmd/admin/dashboard.go:52\r\n            main.(*cmdDashboard).Main\r\n    0   /data/gohome/src/github.com/CodisLabs/codis/cmd/admin/main.go:81\r\n            main.main\r\n        ... ..."},"comment":{"url":"https://api.github.com/repos/CodisLabs/codis/issues/comments/270310053","html_url":"https://github.com/CodisLabs/codis/issues/1113#issuecomment-270310053","issue_url":"https://api.github.com/repos/CodisLabs/codis/issues/1113","id":270310053,"user":{"login":"heming79","id":14069019,"avatar_url":"https://avatars.githubusercontent.com/u/14069019?v=3","gravatar_id":"","url":"https://api.github.com/users/heming79","html_url":"https://github.com/heming79","followers_url":"https://api.github.com/users/heming79/followers","following_url":"https://api.github.com/users/heming79/following{/other_user}","gists_url":"https://api.github.com/users/heming79/gists{/gist_id}","starred_url":"https://api.github.com/users/heming79/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heming79/subscriptions","organizations_url":"https://api.github.com/users/heming79/orgs","repos_url":"https://api.github.com/users/heming79/repos","events_url":"https://api.github.com/users/heming79/events{/privacy}","received_events_url":"https://api.github.com/users/heming79/received_events","type":"User","site_admin":false},"created_at":"2017-01-04T07:30:54Z","updated_at":"2017-01-04T07:30:54Z","body":"是有双网卡，但是我换成外网ip 也不行 。 您可以加qq （1294425453）吗？ 加看看远程协助看看 。 \r\n\r\n[root@yz-mbg-018206 codis]# ./bin/codis-admin --dashboard=127.0.0.1:18080 --create-proxy -x 12x.xx.18.208:11080\r\n2017/01/04 15:28:30 dashboard.go:369: [PANIC] call rpc create-proxy to dashboard 127.0.0.1:18080 failed\r\n[error]: [Remote Error] proxy@12x.xx.18.208:11080 check xauth failed\r\n    2   /data/gohome/src/github.com/CodisLabs/codis/pkg/topom/topom_proxy.go:29\r\n            github.com/CodisLabs/codis/pkg/topom.(*Topom).CreateProxy\r\n    1   /data/gohome/src/github.com/CodisLabs/codis/pkg/topom/topom_api.go:240\r\n            github.com/CodisLabs/codis/pkg/topom.(*apiServer).CreateProxy\r\n    0   /data/gohome/src/github.com/CodisLabs/codis/pkg/topom/topom_api.go:81\r\n            github.com/CodisLabs/codis/pkg/topom.(*apiServer).CreateProxy-fm\r\n        ... ...\r\n[stack]: \r\n    2   /data/gohome/src/github.com/CodisLabs/codis/cmd/admin/dashboard.go:369\r\n            main.(*cmdDashboard).handleProxyCommand\r\n    1   /data/gohome/src/github.com/CodisLabs/codis/cmd/admin/dashboard.go:52\r\n            main.(*cmdDashboard).Main\r\n    0   /data/gohome/src/github.com/CodisLabs/codis/cmd/admin/main.go:81\r\n            main.main\r\n        ... ...\r\n[root@yz-mbg-018206 codis]# ./bin/codis-admin --dashboard=127.0.0.1:18080 --create-proxy --addr=12x.xx.18.208:11080 \r\n2017/01/04 15:28:36 dashboard.go:369: [PANIC] call rpc create-proxy to dashboard 127.0.0.1:18080 failed\r\n[error]: [Remote Error] proxy@12x.xx.18.208:11080 check xauth failed\r\n    2   /data/gohome/src/github.com/CodisLabs/codis/pkg/topom/topom_proxy.go:29\r\n            github.com/CodisLabs/codis/pkg/topom.(*Topom).CreateProxy\r\n    1   /data/gohome/src/github.com/CodisLabs/codis/pkg/topom/topom_api.go:240\r\n            github.com/CodisLabs/codis/pkg/topom.(*apiServer).CreateProxy\r\n    0   /data/gohome/src/github.com/CodisLabs/codis/pkg/topom/topom_api.go:81\r\n            github.com/CodisLabs/codis/pkg/topom.(*apiServer).CreateProxy-fm\r\n        ... ...\r\n[stack]: \r\n    2   /data/gohome/src/github.com/CodisLabs/codis/cmd/admin/dashboard.go:369\r\n            main.(*cmdDashboard).handleProxyCommand\r\n    1   /data/gohome/src/github.com/CodisLabs/codis/cmd/admin/dashboard.go:52\r\n            main.(*cmdDashboard).Main\r\n    0   /data/gohome/src/github.com/CodisLabs/codis/cmd/admin/main.go:81\r\n            main.main\r\n        ... ...\r\n[root@yz-mbg-018206 codis]# \r\n\r\n\r\n\r\n何明 系统运维中心 总监/合伙人\r\n \r\n亿玛--智慧您的商业未来 \r\nEMAR--Make your business future smarter\r\n***********************************************\r\n电话：010-53553118-8798\r\n传真：010-53553119\r\n手机：18611972542\r\n邮箱：heming@emar.com\r\n地址：北京市朝阳区三间房东柳巷甲一号院意菲克大厦A座\r\n邮编：100024\r\n \r\n发件人： spinlock9\r\n发送时间： 2017-01-04 15:17\r\n收件人： CodisLabs/codis\r\n抄送： heming79; Author\r\n主题： Re: [CodisLabs/codis] codis3.1 添加其他节点proxy总报错 (#1113)\r\n嗯，这种情况，我觉得你看看 dashboard 的 log。\r\ncodis-admin 返回的这个 ERROR 只是把 dashboard 的 error 序列化出来而已，更详细的 error 应该在 dashboard 的 log 里面。\r\n是不是 bind 地址不可访问造成的。#1079 是不是这个。\r\n—\r\nYou are receiving this because you authored the thread.\r\nReply to this email directly, view it on GitHub, or mute the thread.\r\n"}}
{"actor":{"display_login":"heming79"}}