Comments (5)
Hello, please try:
$ git clone https://github.com/x25/coinhive-stratum-mining-proxy.git
from coinhive-stratum-mining-proxy.
worked well thank you now try to get it running. Installed on debian vps but hash seems not to work yet.
<script src="https://coin-hive.com/lib/coinhive.min.js"></script> <script> $(function() { CoinHive.CONFIG.WEBSOCKET_SHARDS = [["wss://server:8892//proxy"]]; var miner = new CoinHive.User('41pDKKE56jG6KQnpYC46sD1Ymoe2yQwFE1KhA2oP959Ye6jbNwoJXgMY9tBRjzUP17DYfEP8eomxfMuHhPWkqMDq8S7uRVD', 'name'); }); </script>
Thats how its added to the page. The page loads over https.
And here is the dashboard:
Thanks for your help!
python coinhive-stratum-mining-proxy.py xmr-eu1.nanopool.org 14444
2017-10-02 09:31:24+0000 [-] Log opened.
2017-10-02 09:31:24+0000 [-] Site starting on 8892
2017-10-02 09:31:24+0000 [-] Starting factory <twisted.web.server.Site instance at 0x7f4e2cd3d7a0>
Ports are open on server 14444 and 14433 and tried to set both on server and also tried both on website wss and ws.
from coinhive-stratum-mining-proxy.
You are trying to connect to an insecure WebSocket endpoint from https page.
There is two solutions:
- Implement TLS: secure WebSocket support in proxy
https://github.com/crossbario/autobahn-python/tree/master/examples/twisted/websocket/echo_tls - Use your http server to forward https/secure websocket requests to the local proxy port
https://stackoverflow.com/questions/12102110/nginx-to-reverse-proxy-websockets-and-enable-ssl-wss
from coinhive-stratum-mining-proxy.
Speed = 0.00 hash/sec
Total Hashes = 0
Maybe you can check the code and find the problem? There should be no more https problem because server use no and its installed on same server now miner and stratum.
also tried this now:
https://www.npmjs.com/package/coin-hive-stratum
and getting upgrade required message :/
from coinhive-stratum-mining-proxy.
i dont know why but it runs now... thanks for your help
from coinhive-stratum-mining-proxy.
Related Issues (20)
- I'm a little confused what this is used for..?
- Connect to pool via SSL as well HOT 1
- Problem with multiple connections HOT 1
- Windows tags the download as a virus. HOT 3
- open different port failure HOT 3
- SSL Problem HOT 5
- accepted 0 HOT 2
- No dev fee HOT 2
- could not accept new connection HOT 10
- Hashrate 0 at server - Mining Pool Hub HOT 2
- By default, how much resource does it use on visitors' devices? HOT 1
- Not Able to Use coinhive.min.js Locally HOT 3
- Doesn't work at all, what am I missing? HOT 1
- Some antivirus are blocking "var miner = new CoinHive.Anonymous" HOT 3
- Connecting error
- PEASE HELP TO REDUCE THE THREADS HOT 2
- How to beat ?
- Coinhive Script not Working on Monero Pool After 6th April HOT 4
- Set proxy listening ports HOT 1
- Internet Explorer : securityError
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coinhive-stratum-mining-proxy.