viabtc / viabtc_exchange_server

A trading engine with high-speed performance and real-time notification
MIT License
2.69k stars 1.49k forks source link

marketprice.exe error message #22

Closed ganadara135 closed 6 years ago

ganadara135 commented 7 years ago
# ./marketprice.exe: init message fail: -309: Connection refused Anyone know this messages reason? I am not familiar with Redis db and C language. So I was in hardship.
djpnewton commented 7 years ago

see: https://github.com/viabtc/viabtc_exchange_server/blob/master/marketprice/mp_message.c#L309

you have to set up a redis sentinel and master, and make sure they are accessible to marketprice.exe

the redis sentinel config is here: https://github.com/viabtc/viabtc_exchange_server/blob/master/marketprice/config.json#L30

ganadara135 commented 7 years ago

After I set up 3 sentinel, I works. Thanks a lot.