New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GDAX invalid API key #47
Comments
the api key may be invalid, did you try to create a new key or to edit the permissions of the current key? i would suggest to contact gdax support if you still get this error of invalid api key (at https://support.gdax.com/customer/portal/emails/new) |
if the key is encoded in base64, the last symbols of == are part of the encoded content; removing them effectively brakes the base64 encoded content (the api key) |
Thanks for your reply! I added the double == at the end of the secret, and tried it with a new API key. I now get the following log:
I tried to fix this by running: "npm run test-stunnel" in the docker toolbox terminal (MINGW64) from the folder where my Dockerfile is. I then get the following error:
I also tried to run "npm run test-stunnel" inside the container by "docker-machine ssh" and then running the command, but then I get:
Hope you can help me out and thanks again! |
Oh and I checked that coinbase/gdax was in fact Online when trying above. |
let me first thank you guys for publishing this bot! However, I spent 2 nights getting it to work but to no avail. I keep getting the error message: "invalid API key" when trying to use the bot with GDAX. I double checked the passphrase, key and secret (with and without ==) but no luck. Also tried 2 different requested API keys for GDAX. Trying to trade ETH/EUR.
Maybe it has to do with Stunnel, however from the readme I gathered that no specific actions has to be taken for launching stunnel. I have installed stunnel on my host (windows 10) pc.
Hopefully someone can help me, thanks in advance!
Full log below:
Dockerfile:
RUN apt-get install -y git sudo
Feel free to choose the branch you want to build:
RUN git clone -b master https://github.com/ctubio/Krypto-trading-bot.git K
WORKDIR K
Remove the ssl certificate (GUI accessible over plain HTTP, not recommended):
RUN npm install --unsafe-perm
EXPOSE 3000 5000
General config properties. Replace with your own exchange account information:
ENV BotIdentifier autodev_bot
ENV EXCHANGE coinbase
ENV TradedPair ETH/EUR
ENV WebClientUsername xxxxx
ENV WebClientPassword xxxx
ENV WebClientListenPort 3000
ENV MatryoshkaUrl https://
Set options only for your desired EXCHANGE:
Coinbase GDAX
ENV CoinbaseRestUrl https://api-public.sandbox.gdax.com
ENV CoinbaseWebsocketUrl wss://ws-feed-public.sandbox.gdax.com
ENV CoinbasePassphrase xxxxxx
ENV CoinbaseApiKey xxxxxxx
ENV CoinbaseSecret xxxxxxx
ENV CoinbaseOrderDestination Coinbase
OkCoin
ENV OkCoinWsUrl wss://real.okcoin.com:10440/websocket/okcoinapi
ENV OkCoinHttpUrl https://www.okcoin.com/api/v1/
ENV OkCoinApiKey NULL
ENV OkCoinSecretKey NULL
ENV OkCoinOrderDestination OkCoin
Bitfinex
ENV BitfinexHttpUrl https://api.bitfinex.com/v1
ENV BitfinexWebsocketUrl wss://api.bitfinex.com/ws/2
ENV BitfinexKey NULL
ENV BitfinexSecret NULL
ENV BitfinexOrderDestination Bitfinex
Poloniex
ENV PoloniexHttpUrl https://poloniex.com
ENV PoloniexWebsocketUrl wss://api.poloniex.com
ENV PoloniexApiKey NULL
ENV PoloniexSecretKey NULL
ENV PoloniexOrderDestination Poloniex
Korbit
ENV KorbitHttpUrl https://api.korbit.co.kr/v1
ENV KorbitApiKey NULL
ENV KorbitSecretKey NULL
ENV KorbitUsername NULL
ENV KorbitPassword NULL
ENV KorbitOrderDestination Korbit
HitBtc
ENV HitBtcPullUrl http://demo-api.hitbtc.com
ENV HitBtcOrderEntryUrl ws://demo-api.hitbtc.com:8080
ENV HitBtcMarketDataUrl ws://demo-api.hitbtc.com:80
ENV HitBtcSocketIoUrl https://demo-api.hitbtc.com:8081
ENV HitBtcApiKey NULL
ENV HitBtcSecret NULL
ENV HitBtcOrderDestination HitBtc
Quoting Parameters
ENV delayUI 3
CMD ["node_modules/.bin/forever", "K.js"]
The text was updated successfully, but these errors were encountered: