Open rest2t opened 6 years ago
do U configure caddy ?
I only run deploy.sh. I have changed daememon etc. for etn.
write to me support@ar-net.info mayby I can help
I got this traceback:
TypeError: Cannot create property 'fee' on boolean 'false'
at /home/pooldaemon/nodejs-pool/lib/api.js:253:28
at Layer.handle [as handle_request] (/home/pooldaemon/nodejs-pool/node_modules/express/lib/router/layer.js:95:5)
at next (/home/pooldaemon/nodejs-pool/node_modules/express/lib/router/route.js:131:13)
at Route.dispatch (/home/pooldaemon/nodejs-pool/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/home/pooldaemon/nodejs-pool/node_modules/express/lib/router/layer.js:95:5)
at /home/pooldaemon/nodejs-pool/node_modules/express/lib/router/index.js:277:22
at param (/home/pooldaemon/nodejs-pool/node_modules/express/lib/router/index.js:349:14)
at param (/home/pooldaemon/nodejs-pool/node_modules/express/lib/router/index.js:365:14)
at Function.process_params (/home/pooldaemon/nodejs-pool/node_modules/express/lib/router/index.js:410:3)
at next (/home/pooldaemon/nodejs-pool/node_modules/express/lib/router/index.js:271:10)
at jsonParser (/home/pooldaemon/nodejs-pool/node_modules/body-parser/lib/types/json.js:109:7)
at Layer.handle [as handle_request] (/home/pooldaemon/nodejs-pool/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/home/pooldaemon/nodejs-pool/node_modules/express/lib/router/index.js:312:13)
at /home/pooldaemon/nodejs-pool/node_modules/express/lib/router/index.js:280:7
at Function.process_params (/home/pooldaemon/nodejs-pool/node_modules/express/lib/router/index.js:330:12)
at next (/home/pooldaemon/nodejs-pool/node_modules/express/lib/router/index.js:271:10)
fee wallet address (wallet not ip) in sql
It seems the database class/function at lib/local_comms
isn't being initialized correctly. When api calls database.getCache it returns false
. Since the api creates multiple threads/ calls the code multiple times, it sometimes works and gives a correct response and the other times creates the error above.
api/network/stats returns 'false', on electroneum daemon. Please help me :/