cazala / coin-hive-stratum

use CoinHive's JavaScript miner on any stratum pool
http://npmjs.com/package/coin-hive-stratum
416 stars 465 forks source link

404 error or handshake fails for Coinhive Stratum reverse proxy #171

Open samirmayfield opened 6 years ago

samirmayfield commented 6 years ago

Please help. I have tried everything asked of me. I am attempting to launch a reverse proxy so people can mine monero coin for their personal gain on a website ive built. I purchased a DigitalOcean droplet and have followed the instructions provided in this link.

https://github.com/cazala/coin-hive-stratum/wiki/Deploy-to-DigitalOcean

After getting a 404 page error in the format of json data when attempting to access my website or failed handshakes I installed NGINX (I believe this was supposed to auto install from the curl command but I noticed it failed so installed it manually) and now my website says NGINX installed successfully, further setup is required. Im thinking I may simply need to edit a listen port in my NGINX config. Any information to shed light on my issues would mean the world to me and I would even be willing to donate some bitcoin to anyone who can help get this thing up and running!

ps: I have literally followed this guide to a T. Lets say my website is http://minefulltrader.org (which it is). I installed cerbot like asked of me in the instructions. I have ran pm2 start proxy_secure.js and I can see the server is running with no errors. I have added the correct DNS changes in godaddy where my hosting is located. I have made the correct changes on DigitalOcean. I would be willing to pay 50 dollars or more in bitcoin if some one can help get this up and running.

Regards,

Samir

PiTi2k5 commented 6 years ago

You cant use this Proxy anymore. Its broken since Monero Fork. Check out my webmining service with integration support, that can be used for your site. https://www.crypto-webminer.com

samirmayfield commented 6 years ago

wow. does this mean I dont need an ocean droplet at all, i dont need to run a reverse proxy? and can simply paste this following code inside the source code of my web url? Ive already create an interface and a button that I'de like to use myself. Is that it?!?!

Thank you for the direction!


From: PiTi2k5 notifications@github.com Sent: Thursday, May 31, 2018 11:09 AM To: cazala/coin-hive-stratum Cc: samirmayfield; Author Subject: Re: [cazala/coin-hive-stratum] 404 error or handshake fails for Coinhive Stratum reverse proxy (#171)

You cant use this Proxy anymore. Its broken since Monero Fork. Check out my webmining service with integration support, that can be used for your site. https://www.crypto-webminer.com

Crypto Webminer - Web mining | Mining in your Browser ...https://www.crypto-webminer.com/ www.crypto-webminer.com Crypto Webminer - Mining in your Browser with Webmining technology Mine crypto currency (Cryptonight Coins and Cryptonight-Lite Coins) on any platform or directly from your browser

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/cazala/coin-hive-stratum/issues/171#issuecomment-393623502, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkzmUWBefWbOQeFAbGMUTK0wyn_2uW55ks5t4DHdgaJpZM4UUxZA.

PiTi2k5 commented 6 years ago

If you use the droplet only for the proxy than you dont need this. Check out https://github.com/PiTi2k5/Crypto-Webminer its my mining UI, you can use the important parts for your UI.

samirmayfield commented 6 years ago

I guess what im asking is if you and your team run the proxy from your end and all I really need is a simple js insert into my index.html kinda like how regular coinhive users use coinhive or if I would still need to setup a proxy? I looked over the files listed here and it appears like i could replace the index.html with my own while adding a js command pointing to the websocket then simply placing the index.html into my public_html folder on godaddy? Ive spent weeks trying to setup coinhive stratum on digitalocean. Just now i threw my index.html file into the apache /var/www/html/index.html and got the 404 error to disappear, my UI to display and verified that the miner is connecting through pm2 monit but alas 0 shares are being submitted. I will surely donate to your cause for saving me the headache with a brief explanation.

Thank you much!


From: PiTi2k5 notifications@github.com Sent: Thursday, May 31, 2018 11:29 AM To: cazala/coin-hive-stratum Cc: samirmayfield; Author Subject: Re: [cazala/coin-hive-stratum] 404 error or handshake fails for Coinhive Stratum reverse proxy (#171)

If you use the droplet only for the proxy than you dont need this. Check out https://github.com/PiTi2k5/Crypto-Webminer its my mining UI, you can use the important parts for your UI.

[https://avatars2.githubusercontent.com/u/15856741?s=400&v=4]https://github.com/PiTi2k5/Crypto-Webminer

GitHub - PiTi2k5/Crypto-Webminer: Use Crypto Webminer ...https://github.com/PiTi2k5/Crypto-Webminer github.com GitHub is where people build software. More than 27 million people use GitHub to discover, fork, and contribute to over 80 million projects.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/cazala/coin-hive-stratum/issues/171#issuecomment-393629982, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkzmUeF0wgJL0S4GbO1jgAWtZsYCrvNhks5t4DaLgaJpZM4UUxZA.

PiTi2k5 commented 6 years ago

If you use my websocket / javascript you dont need a proxy :) Join https://discord.gg/nnARdpc or Skype: piti2k5 and i will help you. And yes, you need only integrate the js and dont need a own proxy server.

samirmayfield commented 6 years ago

I joined in on the Discord call, my name is samir in chat! Shoot me a private call when you're free


From: PiTi2k5 notifications@github.com Sent: Thursday, May 31, 2018 11:57 AM To: cazala/coin-hive-stratum Cc: samirmayfield; Author Subject: Re: [cazala/coin-hive-stratum] 404 error or handshake fails for Coinhive Stratum reverse proxy (#171)

If you use my websocket / javascript you dont need a proxy :) Join https://discord.gg/nnARdpc or Skype: piti2k5 and i will help you. And yes, you need only integrate the js and dont need a own proxy server.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/cazala/coin-hive-stratum/issues/171#issuecomment-393640780, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkzmUQGQOXVMsxQTqRk4XhCCdJmc2Pq_ks5t4D0IgaJpZM4UUxZA.