cryptoeax / arbbot

Arbitrator, a bitcoin/altcoin arbitrage trading bot
https://gitter.im/cryptoeax-arbbot/Lobby
GNU General Public License v3.0
198 stars 78 forks source link

issue installing #157

Open Greatguy2 opened 6 years ago

Greatguy2 commented 6 years ago

I have done like it was in manual and when i try to start it give me this.didnt had any witdraws. it is clean account

pc@pc-VirtualBox:/var/www/arbbot$ php main.php 14:53:31: ARBITRATOR V2.0 launching... sh: 1: /usr/sbin/sendmail: not found 14:53:31: Loading config... 14:53:31: Enabling Bittrex...

PHP Fatal error: Class Bittrex contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Exchange::detectDuplicateWithdrawals) in /var/www/arbbot/bot/xchange/Bittrex.php on line 6

Scorpic1 commented 6 years ago

Have same error.

Greatguy2 commented 6 years ago

Who know how to solve it?

sblackstein commented 6 years ago

The temporary way, which is how I solved it, is to comment out arbbot/bot/Exchange.php, line 297 i.e.:

  // public abstract function detectDuplicateWithdrawals();

so when the method isn't implemented in extending classes, it will skip the error until they get implemented.

Greatguy2 commented 6 years ago

@sblackstein Great it helped, but now i have other issue :) Cant connect to poloniex

09:04:34: ARBITRATOR V2.0 launching... sh: 1: /usr/sbin/sendmail: not found 09:04:34: Loading config... 09:04:34: Enabling Bittrex... 09:04:34: Enabling Bleutrade... 09:04:34: Enabling Poloniex... 09:04:34: Configured 3 exchanges! 09:04:34: Testing exchange access... 09:04:35: BITTREX [OK] 09:04:39: BLEUTRADE [OK] 09:04:40: [POLONIEX] Could not get reply (HTTP 403): 09:04:40: [POLONIEX] Could not get reply (HTTP 403): 09:04:40: [POLONIEX] Could not get reply (HTTP 403): 09:04:40: [POLONIEX] Could not get reply (HTTP 403): 09:04:40: [POLONIEX] Could not get reply (HTTP 403): 09:04:40: POLONIEX [ERROR] [POLONIEX] Could not get reply (HTTP 403):

sblackstein commented 6 years ago

Oh, hmm. So, Poloniex only lets you use their API to allow withdrawals if you set your source IP in the configuration. Has your IP changed maybe, and that's why you're getting a 403 Forbidden?

Greatguy2 commented 6 years ago

No, i have changed api, allowed only my ip adress. enabled 2 factor. but is is still showing error 403. maybe you have any ideas?

jjc6676 commented 6 years ago

Just to be sure, you did update the key and secret in the config file correct?

Sent from my iPhone

On Feb 15, 2018, at 7:33 AM, Greatguy2 notifications@github.com wrote:

No, i have changed api, allowed only my ip adress. enabled 2 factor. but is is still showing error 403. maybe you have any ideas?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

Greatguy2 commented 6 years ago

@jjc6676 Yes, and double checked. And checked my ip. I have static IP address.

heiko7even commented 6 years ago

i also get this error ...

dmeledon commented 6 years ago

It looks like when @cryptoeax merged in pending_deposits not everything that got lost was restored. detectDuplicateWithdrawals() appears to have gotten removed from the bot entirely. I had to comment out line 435 on CoinManage.php where it calls this function during domanage() as well.