{"action":"created","issue":{"url":"https://api.github.com/repos/siddontang/go-mysql-elasticsearch/issues/27","labels_url":"https://api.github.com/repos/siddontang/go-mysql-elasticsearch/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/siddontang/go-mysql-elasticsearch/issues/27/comments","events_url":"https://api.github.com/repos/siddontang/go-mysql-elasticsearch/issues/27/events","html_url":"https://github.com/siddontang/go-mysql-elasticsearch/issues/27","id":107318523,"number":27,"title":"cannot sync data","user":{"login":"EagleChen","id":1343797,"avatar_url":"https://avatars.githubusercontent.com/u/1343797?v=3","gravatar_id":"","url":"https://api.github.com/users/EagleChen","html_url":"https://github.com/EagleChen","followers_url":"https://api.github.com/users/EagleChen/followers","following_url":"https://api.github.com/users/EagleChen/following{/other_user}","gists_url":"https://api.github.com/users/EagleChen/gists{/gist_id}","starred_url":"https://api.github.com/users/EagleChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EagleChen/subscriptions","organizations_url":"https://api.github.com/users/EagleChen/orgs","repos_url":"https://api.github.com/users/EagleChen/repos","events_url":"https://api.github.com/users/EagleChen/events{/privacy}","received_events_url":"https://api.github.com/users/EagleChen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-19T08:01:33Z","updated_at":"2015-09-19T09:21:56Z","closed_at":null,"body":"I don't know what configuration is wrong.\r\nmysqldump is OK.\r\nBut sync does not work.\r\n\r\nCould you help me to figure out why?\r\nHere are some logs:\r\n\r\n```\r\ndump.go:113 [Info] dump MySQL and parse OK, use 704.79 seconds, start binlog replication at (mariadb-bin.000001, 1478069)\r\nsync.go:15 [Info] start sync binlog at (mariadb-bin.000001, 1478069)\r\ncanal.go:146 [Error] canal start sync binlog err: connection was bad\r\n```"},"comment":{"url":"https://api.github.com/repos/siddontang/go-mysql-elasticsearch/issues/comments/141640014","html_url":"https://github.com/siddontang/go-mysql-elasticsearch/issues/27#issuecomment-141640014","issue_url":"https://api.github.com/repos/siddontang/go-mysql-elasticsearch/issues/27","id":141640014,"user":{"login":"EagleChen","id":1343797,"avatar_url":"https://avatars.githubusercontent.com/u/1343797?v=3","gravatar_id":"","url":"https://api.github.com/users/EagleChen","html_url":"https://github.com/EagleChen","followers_url":"https://api.github.com/users/EagleChen/followers","following_url":"https://api.github.com/users/EagleChen/following{/other_user}","gists_url":"https://api.github.com/users/EagleChen/gists{/gist_id}","starred_url":"https://api.github.com/users/EagleChen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EagleChen/subscriptions","organizations_url":"https://api.github.com/users/EagleChen/orgs","repos_url":"https://api.github.com/users/EagleChen/repos","events_url":"https://api.github.com/users/EagleChen/events{/privacy}","received_events_url":"https://api.github.com/users/EagleChen/received_events","type":"User","site_admin":false},"created_at":"2015-09-19T09:21:56Z","updated_at":"2015-09-19T09:21:56Z","body":"```\r\nmy_addr = \"172.17.0.10:3306\"\r\nmy_user = \"user\"\r\nmy_pass = \"pass\"\r\nes_addr = \"172.17.0.1:9200\"\r\ndata_dir = \"/data\"\r\nstat_addr = \"0.0.0.0:12800\"\r\nserver_id = 1001\r\nflavor = \"mariadb\"\r\nmysqldump = \"/usr/bin/mysqldump\"\r\n```\r\n\r\nthen remaining config includes [[source]], [[rule]]"}}