I’m trying to run NuBot 0.4.1 headlessly under Ubuntu 14.04 LTS x64. I have not been provided with an auth key, but am told it may not have much effect right now and that -skipCredentials
should handle not having it.
I have tried several different configurations. The following is a minimal one. I’m running nud
beside it with RPC user/pass set in nu.conf
if that has any effect with "submitliquidity": false
. The broadcast address has been imported.
{
"exchangename": "poloniex",
"apikey": "REMOVED",
"apisecret": "REMOVED",
"pair": "nbt_btc",
"submitliquidity": false,
"mailnotifications": "none"
}
When I access the NuBot server through the Nginx reverse proxy (over authenticated HTTPS and other incoming connections blocked) I get the following error.
NuBot engine is down. Relaunch it and refresh this page
More info: Error while loading updateConfigFile : /configfile
jqXHR:{"readyState":0,"responseText":"","responseJSON":null,"status":0,"statusText":"error"}
NuBot is run as user nu
like the following.
java -jar NuBot.jar -server -skipCredentials -cfg=config/nubot-config.json -noBrowser
18:40:43.781 [main] INFO - defined session log path logs/idles/1468708843773 [com.nubits.nubot.bot.Global:116]
18:40:44.035 [main] DEBUG - checking latest version [com.nubits.nubot.launch.MainLaunch:64]
18:40:45.144 [main] DEBUG - Latest Version = 0.4.1, Current version = 0.4.1 [com.nubits.nubot.utils.VersionInfo:132]
18:40:45.152 [main] WARN - Official credential skipped. Will use user-defined credentials defined in source of CredentialManager.java [c.n.n.l.MainLaunch:77]
18:40:45.164 [main] INFO - Running NuBot with server [com.nubits.nubot.launch.MainLaunch:96]
18:40:45.170 [main] DEBUG - parsing options from config/nubot-config.json [SessionLOG:58]
18:40:45.311 [main] WARN - wallShiftThreshold and spread will be taken from Streamer service (local settings ignored) [c.n.n.o.ParseOptions:519]
18:40:45.316 [main] DEBUG - Skipping validation of configuration file. [com.nubits.nubot.options.ParseOptions:696]
18:40:45.326 [main] DEBUG - loading opt: {"nudIp":"127.0.0.1","submitLiquidity":false,"poolURI":"","apiKey":"hidden","streamingserver":"stream.tradingbot.nu:5556","poolSubmitInterval":50,"bypassStreaming":false,"nubitAddress":"","bookSellwall":500.0,"gitter":true,"mainFeed":"bitfinex","rpcUser":"","mailRecipient":"","bookBuyOffset":0.025,"multipleOperators":false,"bookSellMaxVolumeCumulative":0.0,"bookSellSteepness":"MID","bookDisabletier2":false,"bookBuyMaxVolumeCumulative":0.0,"nudPort":9091,"backupFeeds":["blockchain","bitcoinaverage","coinbase","bitstamp","kraken"],"priceIncrement":3.0E-4,"poolPayoutAddress":"","rpcPass":"hidden","apiSecret":"hidden","bookSellType":"EXP","webport":8889,"pair":"nbt_btc","bookSellOffset":0.025,"mailnotifications":"NONE","bookBuyInterval":0.008,"bookSellInterval":0.008,"emergencyTimeout":60,"bookBuywall":500.0,"bookBuyType":"EXP","txFee":0.2,"poolModeActive":false,"exchangeName":"poloniex","executeOrders":true,"wallchangeThreshold":0.15,"bookBuySteepness":"MID","dualSide":true,"verbosity":"NORMAL","keepProceeds":0.0} [com.nubits.nubot.bot.SessionManager:63]
18:40:45.337 [main] INFO - start ui server. configfile config/nubot-config.json [com.nubits.nubot.webui.UiServer:59]
18:40:45.338 [main] INFO - launching on http://localhost:8889 [com.nubits.nubot.webui.UiServer:64]
18:40:45.577 [Thread-1] INFO - == Spark has ignited ... [spark.webserver.SparkServer:137]
18:40:45.579 [Thread-1] INFO - >> Listening on 0.0.0.0:8889 [spark.webserver.SparkServer:138]
^C18:42:47.142 [Thread-2] INFO - file /home/nu/.nubot/8889.locked deleted! [com.nubits.nubot.utils.FilesystemUtils:41]
18:42:47.143 [Thread-2] INFO - Exit main [com.nubits.nubot.launch.ShutDownProcess:62]