cazala/coin-hive-stratum

Not able to connect to web socket

immrmonero opened this issue · 1 comments

Hi, I was trying out this coin hive stratum to set up a coinhive proxy. I deployed the code in now.sh server. I m able to access the /stats and /miner api. But i m not able to connect from coinhive code.

This is what i ve added in my code:

CoinHive.CONFIG.WEBSOCKET_SHARDS = [["ws://proxy-yrjxliushz.now.sh"]];

I m getting the following error:

Error during WebSocket handshake: Unexpected response code: 301

Kindly someone help me in this issue, thanks in advance