zhr85210078 / node-mongodb-es-connector

nodejs mongodb elasticsearch synchrodata(mongodb和es同步数据)
https://zhr85210078.github.io/node-mongodb-es-connector/#/
MIT License
77 stars 18 forks source link

not working with mongoDB Atlas and Elastic cloud #21

Open vishaleclass opened 5 years ago

vishaleclass commented 5 years ago

Hello, I was trying this utility to sync the data from mongoDB atlas and Elasticsearch cloud. However I'm getting below error.

[root@vm02 node-mongodb-es-connector]# node app.js
info: 2019-05-14 07:08:03 | info |  |  | <-----------------------------Starting syncMasterDoc----------------------------->
debug: 2019-05-14 07:08:03 | debug |  |  | FsWatcher is running
error: 2019-05-14 07:08:04 | error | https://XXXXXXX.ap-southeast-1.aws.found.io:9243 | mybooks | MongoParseError: Unescaped at-sign in authority section
error: 2019-05-14 07:08:04 | error | https://XXXXXXX.ap-southeast-1.aws.found.io:9243 | mybooks | File error: MongoParseError: Unescaped at-sign in authority section
info: 2019-05-14 07:08:04 | info |  |  | <-----------------------------end syncMasterDoc----------------------------->
info: 2019-05-14 07:08:04 | info |  |  | <-----------------------------Starting syncAttachment----------------------------->
error: 2019-05-14 07:08:04 | error | https://XXXXXXX.ap-southeast-1.aws.found.io:9243 | mybooks | File error: MongoParseError: Unescaped at-sign in authority section

Thanks

zhr85210078 commented 5 years ago

MongoParseError: Unescaped at-sign in authority section

https://stackoverflow.com/questions/54335970/node4800-unhandled-promise-rejection-warning-mongoparseerror-unescaped-at-s