Closed Luc-Michault closed 4 years ago
You can investigate the issue by checking infos:
pairs
collection in tomodex
database (mongodb)tomox-sdk
Hello @thanhson1085 logs from tomox-sdk :
1|tomox-sd | INFO 09:59:00 at services/relayer.go:365 in updateCollateralTokenRelayer():Update collateral token: 0x0000000000000000000000000000000000000001
1|tomox-sd | INFO 09:59:00 at services/relayer.go:365 in updateCollateralTokenRelayer():Update collateral token: 0xAE44807D8A9CE4B30146437474Ed6fAAAFa1B809
1|tomox-sd | INFO 09:59:00 at services/relayer.go:365 in updateCollateralTokenRelayer():Update collateral token: 0x2EAA73Bd0db20c64f53fEbeA7b5F5E5Bccc7fb8b
1|tomox-sd | INFO 09:59:00 at services/relayer.go:416 in updateLendingTokenRelayer():Update lending token: 0x381B31409e4D220919B2cFF012ED94d70135A59e
1|tomox-sd | INFO 09:59:00 at services/relayer.go:130 in updateLendingPair():UpdateLendingPairRelayer starting... 0x08AabC34cfbb47575c80BA140dbBdFBCBd18D28f 0 0
1|tomox-sd | DEBU 09:59:06 at services/order.go:587 in watchChanges():Operation Type: insert
1|tomox-sd | WARN 09:59:06 at ws/orders.go:23 in GetOrderConnections():No connection found
1|tomox-sd | WARN 09:59:06 at ws/notification.go:23 in GetNotificationConnections():No connection found
1|tomox-sd | DEBU 09:59:08 at services/order.go:587 in watchChanges():Operation Type: insert
1|tomox-sd | DEBU 09:59:08 at services/order.go:587 in watchChanges():Operation Type: replace
1|tomox-sd | WARN 09:59:08 at ws/orders.go:23 in GetOrderConnections():No connection found
1|tomox-sd | WARN 09:59:08 at ws/notification.go:23 in GetNotificationConnections():No connection found
1|tomox-sd | WARN 09:59:08 at ws/orders.go:23 in GetOrderConnections():No connection found
1|tomox-sd | WARN 09:59:08 at ws/notification.go:23 in GetNotificationConnections():No connection found
1|tomox-sd | INFO 09:59:08 at services/order.go:441 in handleOrderCancelled():BroadcastOrderBookUpdate Cancelled
Fullnode is sync and running fine
What i tryed so far :
I just fully deleted and reinstalled rabbitmq and mongodb container, node lost more then 100k block sync. Waiting for it to be fully sync now.
Edit : Node is fully sync now and DEX is still not working.
Maybe you should try to reinstall the infa in a new server. I have no idea with your logs
So i reinstalled everything on a new server, node is sync and it's still not working!
Ok, we will investigate it.
@thanhnguyennguyen yes please check on your side, as i already said, we didn't do anything and it suddenly stopped working, so i'm pretty sure it's a problem from your side, like your firewall blocked our IP or something else as simple as that...
You DEX does not connect to your DEX, so firefall or network is not an issue. I will try to install a new DEX with your coinbase, if it works, there are somethings wrong in your side.
Ok but install it on another server then other relayers/dex, if they are all working, try it on a different environment please.
I tested the script on a new server with your coinbase (0x83c7399d01e3e1c20e5ffd7957c8666d73c1ad9b), it works properly
Is there any connection between dex and relayer to retrieve paires and fee options ? What https://trade.visiodex.com/api/tokens is calling to retrieve his informations ? It's doing the same thing with a wrong coinbase address
Everything run in your own server. Just fullnode connect to the other nodes
Trying to reinstall on a fresh new server from a different host, we'll see...
I have a suggestion for VisioDEX, that will have you to save the time. VisioDEX can use TomoChain's Support Program. You still run your own Frontend with our backend.
Just need to update .env
file for your FE build:
https://github.com/tomochain/tomox-sdk-ui/blob/master/.env.sample
REACT_APP_ENGINE_HTTP_URL=https://dex.tomochain.com/api
REACT_APP_ENGINE_WS_URL=wss://dex.tomochain.com/socket
Seems to be working on another host, but we won't ever know why it suddenly stopped working, even after a full reinstallation... i can provide root access to that server if you want to search.
Ok, we will check it later.
Hello, everything disappeared (paires and orderbook) from our DEX (https://trade.visiodex.com/) without any reason :
As you can see on https://trade.visiodex.com/api/market/stats/all API is returning an empty array.
Logs from mongodb container :
Logs from rabbitmq :
I'm not seeing anything wrong there and i don't understand why this is not working. Help !