Open Ximinhan opened 7 years ago
ERRO[0000] sync docs err Post http://127.0.0.1:9200/_bulk: dial tcp 127.0.0.1:9200: getsockopt: connection refused after binlog (mysql-bin.000002, 154) ERRO[0000] do ES bulk err Post http://127.0.0.1:9200/_bulk: dial tcp 127.0.0.1:9200: getsockopt: connection refused, close sync
Do you start your ES?
hello after install go-mysql-elasticsearch when i ready to start it raise a ERRO like
~/go/src/github.com/siddontang/go-mysql-elasticsearch $ ./bin/go-mysql-elasticsearch -config=./etc/river.toml false 0 0s 0s}
INFO[0000] try dump MySQL and parse
INFO[0000] create BinlogSyncer with config {1 mysql 127.0.0.1 3306 root utf8 false false
INFO[0000] run status http server 127.0.0.1:12800
mysqldump: [Warning] Using a password on the command line interface can be insecure. INFO[0000] dump MySQL and parse OK, use 0.11 seconds, start binlog replication at (mysql-bin.000002, 154) INFO[0000] begin to sync binlog from position (mysql-bin.000002, 154) INFO[0000] register slave for master server 127.0.0.1:3306 INFO[0000] start sync binlog at binlog file (mysql-bin.000002, 154) INFO[0000] rotate to (mysql-bin.000002, 154)
INFO[0000] rotate binlog to (mysql-bin.000002, 154)
ERRO[0000] sync docs err Post http://127.0.0.1:9200/_bulk: dial tcp 127.0.0.1:9200: getsockopt: connection refused after binlog (mysql-bin.000002, 154) ERRO[0000] do ES bulk err Post http://127.0.0.1:9200/_bulk: dial tcp 127.0.0.1:9200: getsockopt: connection refused, close sync INFO[0000] context is done with context canceled, closing INFO[0000] closing river
INFO[0000] closing canal
INFO[0000] syncer is closing...
ERRO[0000] canal start sync binlog err: context canceled ERRO[0000] connection was bad
ERRO[0000] close sync with err: Sync was closed
INFO[0000] syncer is closed
INFO[0000] save position (, 0)
i don't know why