deepwn / deepMiner

deepMiner webminer proxy (update for cryptoNight R)
Other
550 stars 237 forks source link

deepMiner + vps issue. Please help. #41

Closed mport88 closed 6 years ago

mport88 commented 6 years ago

Check list

Issue info

Hi, amazing work, but I'm faced with a problem and ask for help. I copied for test (git clone) your repository to my vps and started the server.js (forever start server.js). On the my page (https://myvpsurl.com:7777/demo.html) everything works fine, but the H/S information on the pool (https://xmrpool.net/#/dashboard) is not displayed. Please tell me what the problem is, maybe I'm doing something wrong?

My config.json file:

{
    "lhost": "myvpsurl.com",
    "lport": 7777,
    "domain": "digxmr.com",
    "pool": "mine.xmrpool.net:3333",
    "addr": "48miDYP3ndh1P8fHfaDDdPHzQQQHfo8nRHMiWKYcWiqMTrY9uNkBUJiHNKBg8zWEx875JtpyQBtcA6BzVsyHowKA42ARwZh",
    "pass": "",
        "key": "",
        "cert": ""
}

My demo.html js

 <script src="//%deepMiner_domain%/deepMiner.min.js"></script>
        <script>
                var addr = 'deepMiner_test';
                var miner = new deepMiner.Anonymous(addr);
                miner.start();
</script>

Maybe I should insert something else instead of #deepMiner_test string ?

OS & Browser

VPS - Ubuntu 16.04, Client - Ubuntu 16.04/Windows 8.1, Chrome

LOG / POC

Logs empty and no errors
evil7 commented 6 years ago

wrong place your changed. Use install.sh to make init setting done. Checking readme first

mport88 commented 6 years ago

@evil7 I already tried (via sh). also does not work.

evil7 commented 6 years ago

change back your config lhost: 127.0.0.1. And domain: your.vpsurl.com. Keep others your changes. and run forever restartall.

evil7 commented 6 years ago
{
    "lhost": "127.0.0.1",
    "lport": 7777,
    "domain": "digxmr.com",
    "pool": "asiapool.electroneum.com:3333",
    "addr": "etnkF3ewgWDaFwLr39okYsW4yaC5cb5bEMZUJsCJsgeJM6Lx3oeAs8VhSYcQBwQTbxNA5TcRiPtAk1GqeFZtAVzK5DJ7d9mmXh",
    "pass": "",
        "key": "",
        "cert": ""
}

that's my settings in config.json and run with forever

if local dev testing. Don't forget to stop the forever first. (One port one pid used one time)

evil7 commented 6 years ago

you can forever stopall and rerun install.sh maybe working this time dude

mport88 commented 6 years ago

@evil7 So, ok thx a lot it seems everything works fine now. But I have a few questions:

  1. "deepMiner_test" - Should I change this string? What means this string?
  2. Can I get detailed vps statistics/info about the connected miners (like a pm2 monit)?
evil7 commented 6 years ago

1 just a api to ID the feed info and status for question 2. Not work yet, used when I finish dev new version, add a manager and status API webUI. U can see I keep lot of info API in now script codes, that's for the next. Coming soon.

mport88 commented 6 years ago

tnx