GUNBOT: The automatic profit generator > Technical Support & Development
Linux proxy for 422 errors.
kevinlekiller:
Hi, I've written a free and open source proxy for linux to solve the 422 errors. Hope it helps you.
https://github.com/kevinlekiller/polproxy
Grimdin:
Nice. I'm testing it now.
Seems to work. Great work. Not seeing any 422 errors.
It does use lot's of CPU, that would be nice to get down little bit.
AlfonseX:
Wow, great job Kevin :)
I will test it as soon as possible.
Just a question, in the README you say:
--- Quote ---Create a new poloniex api key: https://poloniex.com/apiKeys
--- End quote ---
Why? Can't use an existing API Key? I'm not sure.
Grimdin:
--- Quote from: AlfonseX on June 27, 2017, 05:14:20 PM ---Wow, great job Kevin :)
I will test it as soon as possible.
Just a question, in the README you say:
--- Quote ---Create a new poloniex api key: https://poloniex.com/apiKeys
--- End quote ---
Why? Can't use an existing API Key? I'm not sure.
--- End quote ---
I am using it using existing API key, works for me.
AlfonseX:
Encouter this error:
--- Code: ---Traceback (most recent call last):
File "polproxy.py", line 5, in <module>
from urllib.parse import urlencode
ImportError: No module named parse
--- End code ---
Ok, I made:
--- Code: ---sudo python3 polproxy.py
--- End code ---
that solve this error.
But now GB fired me:
--- Code: ---Creating market client for BTC_BCN pair
Activating hot reconfig...
###[ --2017/06/27 18:34:28--poloniex--BTC_BCN -- Gunbot v3.3 cycle #1 --------------- ]
::::: collecting market data...
Server running at http://127.0.0.1:39873
(node:5606) DeprecationWarning: Calling an asynchronous function without callback is deprecated.
/snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/request/request.js:188
self._callback.apply(self, arguments)
^
TypeError: Cannot read property 'statusCode' of undefined
at Request._callback (evalmachine.<anonymous>:0:0)
at self.callback (/snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/request/request.js:188:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:189:7)
at Request.onRequestError (/snapshot/Users/Enrico/Desktop/xBot_v2.9.3/node_modules/request/request.js:884:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:189:7)
at TLSSocket.socketErrorListener (_http_client.js:358:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:189:7)
at connectErrorNT (net.js:1025:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
$
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version