Something takes too long in startup sequence (no GUI)

Issue #626 resolved
Desrever Nu created an issue

The execution of pricetrigger is delayed of 30 seconds for some reason

09:30:49.334 [main] INFO  - BotTask [checkConnection] will start in 1s, and run it every 127s [com.nubits.nubot.tasks.BotTask:63]
09:30:49.335 [main] INFO  - Waiting a for the connectionThreads to detect connection [com.nubits.nubot.bot.NuBotBase:241]
09:30:50.336 [checkConnection] DEBUG - Executing class com.nubits.nubot.tasks.CheckConnectionTask [com.nubits.nubot.tasks.CheckConnectionTask:40]
09:30:50.748 [checkConnection] DEBUG - Checking connection to https://vip.bitcoin.co.id/tapi -  Connected : true [com.nubits.nubot.tasks.CheckConnectionTask:43]
09:30:53.015 [main] INFO  - BotTask [sendLiquidity] will start in 40s, and run it every 130s [com.nubits.nubot.tasks.BotTask:63]
09:30:53.016 [main] INFO  - Start trading Strategy specific for nbtbtc [com.nubits.nubot.bot.NuBotBase:265]
09:30:53.019 [main] INFO  - Options loaded : {"nudIp":"127.0.0.1","submitLiquidity":false,"apiKey":"VGUYLP7B-LFILPWLD-S0N9Q0ED-TLZCTIWY-TVTAME71","distributeLiquidity":false,"nubitAddress":"bSBh4Kag9f1kSdsLhVRnnd1TuDwBMs4yPq","mainFeed":"btce","rpcUser":"desrever","mailRecipient":"desrever.nu@gmail.com","maxBuyVolume":5.0,"maxSellVolume":5.0,"nudPort":9091,"backupFeeds":["coinbase","blockchain"],"priceIncrement":0.5,"rpcPass":"c140c140","apiSecret":"1c81ae7b748905b50a4b50fc03603464a8c3091f576065586b11d78a5c64403ec89482fbbfaef289","hipchat":false,"pair":"nbt_btc","mailnotifications":"SEVERE","verbose":true,"spread":5.0,"emergencyTimeout":60,"multipleCustodians":false,"txFee":0.2,"exchangeName":"bitcoincoid","executeOrders":true,"wallchangeThreshold":0.1,"dualSide":true,"keepProceeds":0.0} [com.nubits.nubot.bot.NuBotBase:267]
09:30:53.024 [main] INFO  - Configuring NuBot for Dual-Side strategy [com.nubits.nubot.strategy.Secondary.NuBotSecondary:51]
09:30:53.025 [main] INFO  - multiple custodians: false [com.nubits.nubot.strategy.Secondary.NuBotSecondary:127]
09:30:53.025 [main] INFO  - NuBot will not try to sync with other bots via remote NTP : 'multiple-custodians' is set to false [com.nubits.nubot.strategy.Secondary.NuBotSecondary:134]
09:30:53.026 [main] INFO  - BotTask [priceTriggerTask] will start in 0s, and run it every 61s [com.nubits.nubot.tasks.BotTask:63]
09:30:53.026 [priceTriggerTask] DEBUG - Session Interrupted catch [com.nubits.nubot.bot.SessionManager:270]
09:30:53.026 [main] DEBUG - notify online A new <strong>dual-side</strong> bot just came online on bitcoincoid pair (nbt_btc) [com.nubits.nubot.bot.NuBotBase:287]

(here one cycle is skipped 40s)

09:31:33.017 [sendLiquidity] DEBUG - Executing class com.nubits.nubot.tasks.SubmitLiquidityinfoTask [com.nubits.nubot.tasks.SubmitLiquidityinfoTask:127]
09:31:33.017 [sendLiquidity] DEBUG - init files [com.nubits.nubot.tasks.SubmitLiquidityinfoTask:73]
09:31:33.018 [sendLiquidity] DEBUG - created /Users/advanced/Desktop/nubot/logs/session_1430206248959/orders_history.json [com.nubits.nubot.tasks.SubmitLiquidityinfoTask:78]
09:31:33.019 [sendLiquidity] DEBUG - created /Users/advanced/Desktop/nubot/logs/session_1430206248959/balance_history.json [com.nubits.nubot.tasks.SubmitLiquidityinfoTask:95]
09:31:33.019 [sendLiquidity] DEBUG - created /Users/advanced/Desktop/nubot/logs/session_1430206248959/orders_history.csv [com.nubits.nubot.tasks.SubmitLiquidityinfoTask:112]
09:31:33.020 [sendLiquidity] WARN  - Liquidity is not being sent : orders are not yet initialized [c.n.n.t.SubmitLiquidityinfoTask:152]
09:31:54.026 [priceTriggerTask] DEBUG - Executing class com.nubits.nubot.tasks.PriceMonitorTriggerTask [com.nubits.nubot.tasks.PriceMonitorTriggerTask:121]

Comments (5)

  1. Desrever Nu reporter

    The incriminated line is

    09:30:53.026 [priceTriggerTask] DEBUG - Session Interrupted catch [com.nubits.nubot.bot.SessionManager:270]
    

    This should never happen at startup, only shutdown.

  2. Log in to comment