Gunbot XT is a very good version but some people is getting an annoying error message: [HEARTBEAT] Sending message to exchanges we are alive
What is this? How to fix it? First of all, note that this is a general error and it can be caused by several things. If you are getting this message, try these methods to fix it:
1- HEARTBEAT error can also be caused by a bad config.js file. Even a missing “,” can cause the error. One of the most commons errors is to add pairs with an incorrect format. Note that a Bittrex pair should be like this: BTC-ETH and a Poloniex pair should look like this: BTC_ETH. If you add “BTC-ETH” for Poloniex, you will get HEARTBEAT error. Note that each exchange has its own proper format.
2- HEARTBEAT error usually is caused by a connection problem, and there are 2 connections:
a) Connection to Gunthy server (Mainly if we use 15 min period on Bittrex or any period on Cryptopia)
b) Connection to the exchange.
So, if we are using Bittrex, we can try to change period from 15 to 5, save the file and try again.
3- Be sure your firewall, antivirus or router is not blocking the connection. Allow all incoming and outgoing connections to your exchange’s IP.
4- Be sure your API has all the required permissions, except withdrawal permission, as always.
5- Be sure your API key is not broken. It can happen we connect from 2 computers at the same time or when we connect from 2 different computers that have different time zone.
6- Be sure your has deposited BTC (or whatever coin you user as base coin). If your BTC wallet is not createn, you will get this error.
7- Note that it’s normal to get HEARTBEAT error from time to time on Poloniex. On older versions we got the message “Empty response for server”, now we receive HEARTBEAT, and in this case, it’s not something we should worry about.
8- Be sure your api key exist, you don’t have removed it and it correctly added. Note that even an extra character or a missing character from the Api key or secret is enought to get this error.
9- Be sure your IP is not banned from the exchange. For example, IPs from Mexico are banned from Poloniex and the only way to work with Poloniex for them is to use a VPS. Maybe your IP has been banned for any reason.
10- If you are trading with USDT as base coin, be sure your bought the other coin using USDT, so the bot has a reference price. Other option is to Override BOUGHT_PRICE. Whatever you do, be sure the bot has a reference bought price.
11- Try changing OKKIES_MODE to false. This is a recently added parameter and in some cases it causes HEARTBEAT error.