17

HEARTBEAT error on Gunbot – How to fix it?

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.

17 Comments

Alastair 10 November, 2017

Yup that fixed it. However there seems to be a “memory leak” after it runs for a few minutes my computer slows to a crawl.

Reply

Aitor 10 November, 2017

Hi Alastair, I’m glad you fixed it. I will give you a tip: Nowdays Firefox and Chrome are crap, I mean, when you open a lot of pages with any of them, or when you open a page that handles a lot of info, you will see that the memory usage and cpu usage skyrockets, especially after some time. What to do to avoid the computer slowing down? Click RUN from GUI Dashboard and then click STOP. So, the config file has been saved. Ok, now you can just execute gunthy.exe and run the bot directly from exe file. Hope this helps.

Reply

Marco Paulo Clavio 12 November, 2017

hi I already followed all the steps but the error is still there. Hoping to have a response asap. thanks in advance. 🙂

Reply

Aitor 12 November, 2017

Hi Marco, did you download the latest version? (6.0.1)

Reply

Marco Paulo Clavio 13 November, 2017

I believe it’s the latest version because I just bought it last 11/11/2017. The gold pack edition.

Reply

Aitor 13 November, 2017

Hi Marco, if you purchased Gold pack, you have Premium support, that is, send us your telegram alias to [email protected] and I will add your to our Premium support group and I will help you to fix it.

Reply

Reuben 17 November, 2017

Did all these things but still no luck. Please help. I’m on the latest version and it’s installed on a Vultr VPS if that helps any. Just bought a couple of days ago and really eager to get going.

Reply

    Aitor 18 November, 2017

    First of all, be sure your vps is not blocking the connection, there are very restrictive vps out there. You can take a look at https:://gunbot.shop/faq/ point 8. I recommend you routerhosting, it’s cheap and Gunbot works fine there.

    Also note that I have added 2 more possible fixes to this error. If everything else fails, contact your reseller and ask him to change your Api Key. I have seen many cases in which the a broken Api Key is causing the problem.

    Reply

ecab 24 November, 2017

Getting the same message. I tried the host file with no luck. I downloaded the latest version today.

Reply

    ecab 24 November, 2017

    I have resolved my own issue. I was using the wrong API secret key. It is working fine now.

    Reply

      Aitor 24 November, 2017

      Nice, I’m glad you fixed it. As I said before, this is a complicated issue because it can be caused by many things. On previous versions we had a specific error for each problem and it was much easier to find the root cause.

      Reply

Alvaro Martinez 29 November, 2017

In my case I have followed each of the points described above and I continue with the heartbeat error, I have already changed the APIKey, I have Contabo VPS, etc.

What can I do to correct this, I’m really frustrated because I tried and it just does not work.

Reply

    Alvaro Martinez 29 November, 2017

    I want to add that before sending the heartbeat message the bot sends the following message “Waiting to trade … Safety Switch is on …

    and after a few seconds it starts with Heartbeat messages

    Reply

      Aitor 29 November, 2017

      Hi Alvaro, do you get HEARTBEAT error since the beginning or only after some time running Gunbot? On what exchange are you running Gunbot? Do you get it constantly or only from time to time?

      Reply

Y 30 November, 2017

I have followed all these steps and still getting the heartbeat error

Reply

    Peps 2 December, 2017

    I bought version 6.02, I receive messages
    [HEARTBEAT] Sending message to exchanges we are alive

    nothing else happens. Weight is made according to the instructions above.

    Reply

    Aitor 3 December, 2017

    We have added new steps / ways to fix heartbeat error. If you still can’t get rid of that error and you purchased the bot on gunbot.shop or if you purchased Premium support:
    https://gunbot.shop/product/premium-support/ you can contact me and I will help you to fix it. If it’s not your case, you can try to contact your reseller and he should be able to help you.

    Reply

Submit Your Comment