06:17:48.877 [Strategy Secondary Task] INFO - Sell-Wall size : : 0.0 NBT [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:539]
06:17:48.878 [Strategy Secondary Task] INFO - Buy-Wall size : : 0.0 NBT [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:544]
06:18:15.898 [checkNud] INFO - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
06:18:29.872 [Strategy Secondary Task] ERROR - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [c.n.n.t.w.HitbtcWrapper:1171]
06:18:29.873 [Strategy Secondary Task] INFO - Sell-Wall size : : 0.0 NBT [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:539]
06:18:29.874 [Strategy Secondary Task] INFO - Buy-Wall size : : 0.0 NBT [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:544]
06:18:30.689 [priceTriggerTask] INFO - Price Updated. bitfinex:1 BTC = 454.65 USD [com.nubits.nubot.tasks.PriceMonitorTriggerTask:359]
06:18:45.897 [checkNud] INFO - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
06:19:10.991 [Strategy Secondary Task] ERROR - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [c.n.n.t.w.HitbtcWrapper:1171]
06:19:10.992 [Strategy Secondary Task] INFO - Sell-Wall size : : 0.0 NBT [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:539]
06:19:10.994 [Strategy Secondary Task] INFO - Buy-Wall size : : 0.0 NBT [com.nubits.nubot.strategy.Secondary.StrategySecondaryPegUtils:544]
06:19:15.898 [checkNud] INFO - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
06:19:17.003 [checkOrders] ERROR - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [c.n.n.t.w.HitbtcWrapper:1171]
06:19:17.004 [checkOrders] ERROR - ApiError [4 : Null Return] [c.n.n.s.BalanceManager:33]
06:19:17.005 [checkOrders] ERROR - java.lang.Exception: ApiError [4 : Null Return] [c.n.n.t.CheckOrdersTask:167]
06:19:17.296 [checkOrders] ERROR - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [c.n.n.t.w.HitbtcWrapper:1171]
06:19:17.296 [checkOrders] ERROR - ApiError [4 : Null Return] [c.n.n.s.OrderManager:295]
06:19:17.927 [checkOrders] WARN - Liquidity info submitted:
tier=1 buy=0.0 sell=500.0 identifier=1:NBTBTC:hitbtc:0.4.1_1463249805072_2f0e73 response=true
tier=2 buy=4.31 sell=1495.693 identifier=2:NBTBTC:hitbtc:0.4.1_1463249805072_2f0e73 response=true [c.n.n.t.CheckOrdersTask:142]
06:19:31.576 [priceTriggerTask] INFO - Price Updated. bitfinex:1 BTC = 454.65 USD [com.nubits.nubot.tasks.PriceMonitorTriggerTask:359]
06:19:45.898 [checkNud] INFO - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
I updated the keystore (just in case; ./res/ssl/updateKeystore.sh) and tried to restart NuBot to no avail:
06:24:10.669 [main] ERROR - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [c.n.n.t.w.HitbtcWrapper:1171]
06:24:10.673 [main] ERROR - could not launch bot com.nubits.nubot.bot.NuBotRunException: Problems while validating communication with exchange : [ ApiError [4 : Null Return] ] [c.n.n.l.MainLaunch:173]
@desrever, do you have a clue?
It looks like hitBTC uses a chained certificate to secure the API access, which NuBot canât verify.
The web interface of hitBTC is working on my browser.
./res/ssl/updateKeystore.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 88647 100 88647 0 0 71421 0 0:00:01 0:00:01 --:--:-- 71431
Connection still fails
09:18:24.435 [main] ERROR - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [c.n.n.t.w.HitbtcWrapper:1171]
09:18:24.438 [main] ERROR - could not launch bot com.nubits.nubot.bot.NuBotRunException: Problems while validating communication with exchange : [ ApiError [4 : Null Return] ] [c.n.n.l.MainLaunch:173]
./res/ssl/updateKeystore.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 91113 100 91113 0 0 77220 0 0:00:01 0:00:01 --:--:-- 77279
[...]
15:21:04.612 [main] INFO - Starting task : Check connection with Nud [com.nubits.nubot.tasks.TaskManager:75]
15:21:04.615 [main] INFO - Started BotTask checkNud [com.nubits.nubot.tasks.BotTask:57]
15:21:04.616 [checkNud] INFO - Executing class com.nubits.nubot.tasks.CheckNudTask [com.nubits.nubot.tasks.CheckNudTask:37]
15:21:05.235 [main] ERROR - javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target [c.n.n.t.w.HitbtcWrapper:1171]
15:21:05.238 [main] ERROR - could not launch bot com.nubits.nubot.bot.NuBotRunException: Problems while validating communication with exchange : [ ApiError [4 : Null Return] ] [c.n.n.l.MainLaunch:173]
Can manually check the keystore to verify I have the right certificates?
@desrever any update? Liquidity provision at hitBTC is off for days, because nether NuLagoon nor me can run NuBot there.
5 minutes ago I updated the certificate store and tried again to no avail.
If you find that the certificate you see is different then you can manually add it to the keystore with one line, which is well documented in nubotâs README.md
And up it is!
It was reason 1).
Before I manually downloaded the certificate file, the one that got updated by the script had a file size of 87050 Bytes, while it now has 91113 Bytes.
status of mOD single side NuBot at hitbtc:
"1:NBTBTC:hitbtc:0.4.1_1464364733036_39d605" : {
"buy" : 0.0,
"sell" : 970.695
--
"2:NBTBTC:hitbtc:0.4.1_1464364733036_39d605" : {
"buy" : 1094.78,
"sell" : 0.0
@henry, time to update the certificate at res/ssl/ file manually!