Invalid License error is a very common error. But, why? What’s the cause? How to fix it? Ok, there can be several circumstances that can cause it. Let’s see them:
1- Be sure you have bought a Gunbot license and it’s already activated. In order to avoid problems, buy it from an official and trusted source like gunbot.shop
2- Be sure you are putting your Api key and secret correctly. Note that is very common to add blank spaces at the right or the left when we copy / paste the Api key or secret. Any blank space, any missing character, any extra character, will cause this error. Double check you added it correctly.
3- To assure you added it correctly, remove the bot directory. Download it again and install from scratch. This time be sure you add the Api key and secret correctly.
4- If you are using v3.3.2, edit the file called “allpairs…” located in the bot directory and add these lines below SMTP: true,:
BITTREX_KEY:’YOUR API KEY HERE‘,
BITTREX_SECRET:’YOUR SECRET HERE‘,
Obviously if you are using Poloniex, you need to change “BITTREX_KEY” for “POLONIEX_KEY” etc…
5- If you are using Gunbot v6 (Akka Gunbot XT), be sure you added your Api and secret correctly from GUI and you saved it before running the bot. To be sure, edit config.js file located on the bot directory and search for these lines:
“exchanges”: {
“bittrex”: {
“key”: “”,
“secret”: “”
},
“poloniex”: {
“key”: “”,
“secret”: “”
},
“kraken”: {
“key”: “”,
“secret”: “”
},
“cryptopia”: {
“key”: “”,
“secret”: “”
},
“bitfinex”: {
“key”: “”,
“secret”: “”
}
Now check if your api key and secret is correctly filled in your exchange.
6- Be sure your firewall / router is not blocking connection. Allow outbound connections to ports 3000, 5000 and 5001.
7- If you reached to this point and you are still getting “Invalid license” message, most likely your license is not correctly activated or maybe it’s only activated for v3.3.2 and not for the latest versions. Contact your reseller or contact us directly at [email protected] and we will check if your license is activated.
richard flint 4 January, 2018
Hi there, I bought the bot from other website on December 31, and recieved a further email teling me that my license was activated the next day. I’ve followed the instructions outlined here.
While looking at the config file I noticed that the bot automatically reset the master key and master secret to the bittrex keys.
To specify, Kraken masters and keys are the same.
Bittrex masters and keys are the same.
Kraken masters and Bittrex masters are different.
I’ve tried manually re entering them in various combinations but the bot resets them regardless.
Furthermore, I keep getting the following message on the master account with Kraken:
(node:13008) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Request timed out
(node:13008) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Any help would be appreciated
Aitor 7 January, 2018
Hi Richard, if you bought from other website, first of all you need to be sure that it’s a real an valid license. It’s recommended to get your licenses from a trusted source like https://gunbot.shop
Said this, I would need to see the complete error to tell what the problem is for sure, but maybe it’s a connection problem. Note that Kraken servers are very saturated these days and they need to upgrade them.
Kalyan Yadavalli 11 March, 2018
Hi,
My bot was working fine until yesterday. I generated new API keys on my binance account and trying to add the new API and Secret code on to gunbot but it is throwing an error when I run the bot. The error message says “Invalid License for Binace. How do I rectify this issue?
Aitor 12 March, 2018
Hi Kalyan, there has been a temporal issue with license server. It’s fixed now. If you need to activate your api, you can send an email to [email protected]