Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置访问账号和密码后,总是返回EOF错误 #46

Closed
WangRest opened this issue Dec 31, 2019 · 4 comments
Closed

配置访问账号和密码后,总是返回EOF错误 #46

WangRest opened this issue Dec 31, 2019 · 4 comments

Comments

@WangRest
Copy link

在canal-server中配置了如下的访问控制方式

# canal instance user/passwd
canal.user = canal
canal.passwd = E3619321C1A937C46A0D8BD1DAC39F93B27D4458

使用canal-go的代码

connector := client.NewSimpleCanalConnector("192.168.199.17", 11111, "canal", "canal", "example", 60000, 60*60*1000)
err:=connector.Connect()

err总是为EOF错误

但在使用Java客户端时,能正常连接 https://github.com/alibaba/canal/tree/master/example

@withlin
Copy link
Owner

withlin commented Jan 16, 2020

你好最近有点忙 放假的时候我看一下吧。

@Torival
Copy link

Torival commented Feb 17, 2020

今天升级canal到1.4也发现了这个问题。对比了下go client和java client,go版本的没有对passwd进行加密。可以先临时修改server里canal.passwd为空,然后go client也传空。

@Darrenzzy
Copy link

你好,麻烦问下这个密码加密问题什么时候可以修复?

stulzq added a commit to stulzq/canal-go that referenced this issue Nov 5, 2020
@withlin
Copy link
Owner

withlin commented Nov 5, 2020

已经修复

@withlin withlin closed this as completed Nov 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants