0

Fix EVP_DecryptFinal_ex:wrong final block length on Gunbot

Are you getting an error like this one when running Gunbot?

Error: error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length
at Decipher.final (internal/crypto/cipher.js:104:26)
at Object.decrypt (/snapshot/dsgbuild/helper.js:0:0)
at new c9w (/snapshot/dsgbuild/ctx-wrapper.js:0:0)
at M7A.(anonymous function).memory.(anonymous function).(anonymous function).(anonymous function).H7A (/snapshot/dsgbuild/bot.gunbot.js:0:0)
at module.(anonymous function).Market.returnTradeHistory.Promise.(anonymous function).X3w.(anonymous function).(anonymous function).r3w (/snapshot/dsgbuild/ctx-wrapper.js:0:0)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
Error: {}
at errorHandler (/snapshot/dsgbuild/ctx-wrapper.js:0:0)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
Unable to connect to binance
Please if this error persists, stop Gunbot, wait a few minutes and then start it again…

 

There are 2 easy ways to fix it.

Method A)

1- Remove IsEncrypted = true line from exchange seection in config.js

2- Write your originals Masterkey + Mastersecret and key + secret

3- Restart Gunbot.

Method B)

1- Remove the exchange that is causing the problem

2- From “Exchanges” tab, save changes and add the exchange again.

Submit Your Comment