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 #54

Open estvincere opened 6 years ago

estvincere commented 6 years ago

Hello. Very good software! All services are is up. Only one have error when start: marketprice.exe: init message fail: -356: Operation now in progress

Could you help - what I do wrong ?

sudoconf commented 6 years ago

i can help you

ohJohanZ commented 6 years ago

Then how to fix it? Can you paste it

ohJohanZ commented 6 years ago

@sudoconf 可以把解决方法贴出来吗

sudoconf commented 6 years ago

@telnetor 顺着代码进去debug 下就知道了

ohJohanZ commented 6 years ago

@sudoconf 自己debug,那就不需要这里提issues了

sudoconf commented 6 years ago

@telnetor 留个联系方式,我加你

nick2016 commented 6 years ago

@sudoconf 我也碰到了这个问题 请问怎么解决

yingl commented 6 years ago

@sudoconf I got the same issue, any suggestion?

yingl commented 6 years ago

Fuck it.. I GDB it. To be simple you must setup a redis cluster named mymaster...

@estvincere Call me if you still don't know how to fix it.

pjz commented 6 years ago

redis cluster name is set/specified in marketprice and alertcenter configs.

Iokdo commented 6 years ago

@sudoconf 加我Q372737966

karthik2883 commented 5 years ago

Hi Follow these step https://seanmcgary.com/posts/how-to-build-a-fault-tolerant-redis-cluster-with-sentinel/ download all the config https://github.com/seanmcgary/redis-cluster-example start one by one once it is started redis-cli -p 16382 sentinel get-master-addr-by-name redis-cluster will get these out put

1) "127.0.0.1" 2) "6382"

change marketprice config add below line "redis": { "name": "redis-cluster", "addr": [ "127.0.0.1:16382" ] },

blockplus commented 5 years ago

@karthik2883 after change this config and running all 6 nodes in redis, but it doesn't work

    "redis": {
        "name": "redis-cluster",
        "addr": [
            "127.0.0.1:16382"
        ]
    },