ondra-novak / mmbot

Market Making trading bot for cryptomarkets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpleFX API - Broker process disconnected because signal: 15

mbexo opened this issue · comments

commented

Hi,

I try to add a new API for SimpleFX and I get this error:

image

Logs:


2022-05-05 12:58:16 info  [0002][http::2EB6] localhost PUT /api/admin/brokers/simplefx/apikey 200 application/json 4
2022-05-05 12:58:29 Note  [0002][simplefx] Broker process disconnected because signal: 15
2022-05-05 12:58:29       [0002][simplefx] Connecting to broker: cmdline='../bin/brokers/simplefx ../secure_data/simplefx', workdir='/home/mmbot/rep_mmbot_testing/mmbot-master/bin/./../conf'
2022-05-05 12:58:42 Note  [0002][simplefx] Broker process disconnected because signal: 15
2022-05-05 12:58:42 info  [0002][http::2EB7] localhost GET /api/admin/brokers/simplefx/pairs/ 500 application/xhtml+xml 546

Same as #38, probably timeout.

Signal 15 is sigterm. When broker doesn't return a response in time, it is terminated and restarted. You can see in description "Respone timeout"

commented

I was caused by malfunction dual-stack network configuration, especially with IPv6.