I just got my Apollo unboxed and set up, and am running into an error after configuring the miner, it says its unable to connect to port 4028 (which I gather is the stats API port for bfgminer). The dashboard is blank except for the ECONNREFUSED error. The bfgminer process does appear to be running, however.
Here’s some syslog output:
Dec 22 01:41:52 futurebit systemd[1]:
[email protected]: Service hold-off time over, scheduling restart.
Dec 22 01:41:52 futurebit systemd[1]: Stopped Serial Getty on ttyS0.
Dec 22 01:41:52 futurebit systemd[1]: Started Serial Getty on ttyS0.
Dec 22 01:41:53 futurebit node[1334]: {"name":"app","hostname":"futurebit","pid":1334,"cid":"d67a259f-e1e1-47e6-8c11-414e8e339260","seq":0,"method":"api/miner/online","stack":[{"cid":"d67a259f-e1e1-47e6-8c11-414e8e339260","seq":0,"method":"api/miner/online"}],"level":30,"user":{"iat":1545442681,"aud":"auth","sub":"apollouser"},"source":"auto","when":"before","msg":"before_api/miner/online","time":"2018-12-22T01:41:53.740Z","v":0}
Dec 22 01:41:53 futurebit node[1334]: {"name":"app","hostname":"futurebit","pid":1334,"cid":"f1878d82-d81e-4542-b3a6-956078948c12","seq":0,"method":"api/miner/stats","stack":[{"cid":"f1878d82-d81e-4542-b3a6-956078948c12","seq":0,"method":"api/miner/stats"}],"level":30,"user":{"iat":1545442681,"aud":"auth","sub":"apollouser"},"source":"auto","when":"before","msg":"before_api/miner/stats","time":"2018-12-22T01:41:53.790Z","v":0}
Dec 22 01:41:53 futurebit node[1334]: {"name":"app","hostname":"futurebit","pid":1334,"cid":"f1878d82-d81e-4542-b3a6-956078948c12","seq":0,"method":"api/miner/stats","stack":[{"cid":"f1878d82-d81e-4542-b3a6-956078948c12","seq":0,"method":"api/miner/stats"}],"level":50,"user":{"iat":1545442681,"aud":"auth","sub":"apollouser"},"source":"auto","when":"after","err":{"message":"Error: connect ECONNREFUSED 127.0.0.1:4028","name":"InternalError","stack":"InternalError: Error: connect ECONNREFUSED 127.0.0.1:4028\n at Socket.client.socket.on (/opt/apolloapi/src/store/api/miner/minerStats.js:70:7)\n at Socket.emit (events.js:180:13)\n at emitErrorNT (internal/streams/destroy.js:64:
\n at process._tickCallback (internal/process/next_tick.js:114:19)"},"ms":7,"originalErr":null,"errInfo":{"type":"internal","severity":"error","message":"Error: connect ECONNREFUSED 127.0.0.1:4028","reasons":[{"path":"stats","message":"ECONNREFUSED"}],"data":null},"msg":"after_api/miner/stats (7ms)","time":"2018-12-22T01:41:53.798Z","v":0}