go-mysql-org / go-mysql-elasticsearch

Sync MySQL data into elasticsearch
MIT License
4.13k stars 800 forks source link

一同步就报错,然后崩溃退出。 #229

Open niaiwomattt opened 6 years ago

niaiwomattt commented 6 years ago

ERRO[0021] sync docs err Post http://192.168.1.20:9200/_bulk: dial tcp 192.168.1.20:9200: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. after binlog (mysql-bin.000002, 48769518) ERRO[0021] do ES bulk err Post http://192.168.1.20:9200/_bulk: dial tcp 192.168.1.20:9200: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond., close sync INFO[0021] context is done with context canceled, closing binlog master.info 配置好了,到了save position (mysql-bin.000002, 48715298)位置 但是一同步就报上面的错误,然后就断了。

siddontang commented 6 years ago

can you access http://192.168.1.20:9200/_bulk ?

niaiwomattt commented 6 years ago

ip写错了……