Closed juaxix closed 5 years ago
seems libquickfix is missing a openssl certificate, and fails to initiatio the encrypted connection to exchange.
on unix we download the certs using the Makefile (https://github.com/ctubio/Krypto-trading-bot/blob/master/Makefile#L187) on install
maybe this is what is missing in your setup?
Uhm, I have those, just to verify
I do this (cygwin)
curl -s --time-cond /etc/ssl/certs/ca-certificates.crt https://curl.haxx.se/ca/cacert.pem -o /etc/ssl/certs/ca-certificates.crt
looks like it is ok:
$ ls /etc/ssl/certs/ca-certificates.crt -luxalh -rwxr-x--- 1 Juax Ninguno 215K feb. 10 12:27 /etc/ssl/certs/ca-certificates.crt
same output
K-trading-bot win64-x86_64 2019-02-04 20:17:50.
v0.4.12+14 (0day).
.371227 CF Outbound IP address is localhost.
.610340 GW COINBASE allows client IP.
.610340 GW COINBASE handshake:
- gateway: https://api.pro.coinbase.com
- gateway: wss://ws-feed.pro.coinbase.com
- gateway: fix.pro.coinbase.com:4198
- autoBot: no
- symbols: BTC-EUR
- minTick: 0.0000000000
- minSize: 0.0000000000
- makeFee: 0.0000000000
- takeFee: 0.0000000000.
.610340 DB loaded OK from ./koinbase*.db.
.610340 DB Warrrrning: using default values for Quoting Parameters.
.611341 DB Warrrrning: consider to warm up some EWMA Values.
.611341 UI Warrrrning: Connected web clients will enjoy unsecure SSL encryption..
(because the private key is visible in the source!). See --help argument to setup your own SSL.
.611341 UI ready at https://localhost:3000.
.009735 GW COINBASE Unable to read book levels.
terminate called after throwing an instance of 'FIX::RuntimeError'
what(): Runtime error: Unable to configure verify locations for client authentication
.166159 Errrror: 22 (Three-Headed Monkey found):
- exchange: COINBASE
- currency: BTC .. EUR
- lastbeat: 2.060000
- binbuild: K-trading-bot win64-x86_64
Yikes!
please copy and paste the error above into a new github issue (noworry for duplicates).
If you agree, go to https://github.com/ctubio/Krypto-trading-bot/issues/new
.166159 GW COINBASE Attempting to cancel all open orders, please wait..
.405862 GW COINBASE cancel all open orders OK.
K exit code 1.
morning''' oh well it may be really broken :S i will need to review it; but note that winy is not the main supported platform so may take some days for me to review it :S
many thanks for the report'''
we dont use anymore libquickfix, so this issue must be fixed; sorry for the delay
Hello, and thanks for your help, I was be able to run the program in a debian with no problem with coinbase credentials,also with windows 10 -demo/NULL mode- but when i set the credentials it fails to keep running.
So, the bot is telling me to post it as an issue now: This is my .bat:
and drives to this error:
I'm running it from windows console and cygwin console and tried also not setting the database file, all leads to the same error.