nicehash / NiceHashMiner

NiceHash Miner
Other
485 stars 217 forks source link

NiceHash Miner requires internet connection to run #604

Closed skinerboy closed 6 years ago

skinerboy commented 7 years ago

can not get the data on the need, the date and time configured the firewall off the antivirus removed the flow of the ipv6 disconnected, bad dont working why?

soslowso commented 7 years ago

Same thing. Just "connection closed" in logs, while internet, teamviewer etc working

dhenry123 commented 7 years ago

Same for me, in nicehash legacy software, i can read this, in logs : 15/11/2017 20:28:02|Debug|WebSocket.sendHttpRequest|A response to this request: HTTP/1.1 403 Forbidden Date: Wed, 15 Nov 2017 Content-Type: text/html; charset=UTF-8 Transfer-Encoding: chunked Connection: close Set-Cookie: __cfduid=xxxxxxxxxxxxxxxxxxxxxxx expires=Thu, 15-Nov-18 14:58:02 GMT; path=/; domain=.nicehash.com; HttpOnly CF-Chl-Bypass: 1 Cache-Control: max-age=2 Expires: Wed, 15 Nov 2017 X-Frame-Options: SAMEORIGIN Server: cloudflare-nginx ..... When the software try to access web API

isazon4ik commented 7 years ago

+1

I stopped using NHML until the problem is fixed

skinerboy commented 7 years ago

can some port be closed

skinerboy commented 7 years ago

the truth I'm using windows 10 of the old version may be because of this shas began to reveal it

Krassikn commented 7 years ago

Some problem for me. Ver 1.8.1.5,1.8.1.4, 1.8.1.3 doent work. The last working version is 1.8.0.0 but it does not support CryptoNight. Please fix the issue because Nicehash is unusable at the moment.

vromanchenko commented 7 years ago

+1 Cant' use NHML now :( Seems it happend today. 1.8.1.4, 1.8.1.5 won't work. Remove IPV6 not help me. I have working NHML on another computer but I don't want to try it stop and start again. It work without restart several days, but I reboot another computer with NHML and after this it won't work :( Win 10

dstarcev commented 7 years ago

Guys, possible workaround it using Proxycap and setting up NicehashMinerLegacy.exe to use a SOCKS5 proxy. But make sure the proxy server is not public, because public proxies are all banned by cloudflare. I use my own vps in Amazon AWS (free tier) with ubuntu and dante 1.4 proxy server. Works great.

orokhovatskiy commented 7 years ago

@DillonN I have the same error. It periodic appears randomly on my farms. Firewall disabled & don't use antivirus. It is mass problem. Could you help with this problem?

Update: I went to the 1.8.0 - it works correctly with internet-connection

undefy commented 7 years ago

Same problem. I found if you wait for 10 minutes or so you can usually connect, why is this happening?

dhenry123 commented 7 years ago

I contacted nicehash support today, the only way is to connect trought vpn, it seems our ip addresses are blacklisted by cloudflare.... And for me with vpn... its ok

Krassikn commented 7 years ago

Looks like someone fix it. It appears to be some IP issue. Thats the video tutorial how to solve the problem https://www.youtube.com/watch?v=QjNLVNANOrU

Kayfolom commented 7 years ago

Not a good start and an error: [2017-11-16 15:26:04] [INFO] [ComputeDeviceManager.Query] Cuda NVIDIA/CUDA device count GOOD [2017-11-16 15:26:04] [INFO] [ComputeDeviceManager.Query] AMD GPU device count GOOD [2017-11-16 15:26:04] [INFO] [ComputeDeviceManager.Query] virtual memory size GOOD [2017-11-16 15:26:05] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:05] [INFO] [SOCKET] Attempting reconnect in 0 seconds [2017-11-16 15:26:05] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:06] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:07] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:09] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:10] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:11] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:12] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:14] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:15] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:16] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:17] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:19] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:20] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:21] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:22] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:24] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:25] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:26] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:27] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 15:26:29] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. Good start: [2017-11-16 16:19:22] [INFO] [ComputeDeviceManager.Query] Cuda NVIDIA/CUDA device count GOOD [2017-11-16 16:19:22] [INFO] [ComputeDeviceManager.Query] AMD GPU device count GOOD [2017-11-16 16:19:22] [INFO] [ComputeDeviceManager.Query] virtual memory size GOOD [2017-11-16 16:19:22] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 16:19:22] [INFO] [SOCKET] Attempting reconnect in 0 seconds [2017-11-16 16:19:22] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 16:19:24] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 16:19:25] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 16:19:26] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 16:19:27] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 16:19:29] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 16:19:30] [INFO] [SOCKET] Connection closed: An error has occurred while connecting. [2017-11-16 16:19:31] [INFO] [SOCKET] Sending data: {"method":"login","version":"NHML/1.8.1.5","protocol":1} [2017-11-16 16:19:32] [INFO] [SOCKET] Sending data: {"method":"devices.status","devices":[[0,"AMD Ryzen 5 1600 Six-Core Processor",2,0,0,0],[1,"Gigabyte GeForce GTX 960",4,0,43,1011]]} [2017-11-16 16:19:32] [INFO] [SOCKET] Received: {"method":"versions","v2":"2.0.1.1","legacy":"1.8.1.5"} [2017-11-16 16:19:32] [INFO] [SOCKET] Received: {"method":"sma","data":[[5,"0.00033764"],[7,"0.00421"],[8,"0.26087567"],[14,"0.0066163"],[20,"0.00768163"],[21,"0.00004704"],[22,"326.44617734"],[23,"0.00067453"],[24,"680.86788914"],[25,"0.00012027"],[26,"0.01382266"],[27,"0.00004173"],[28,"0.00003467"],[29,"0.00757116"]]} [2017-11-16 16:19:32] [INFO] [NICEHASH] SMA Update Can the data "Received: {"method":"sma"" cost to be stored in the cache on disk, and when unsuccessful connection attempts use it? This is better than total inaction.

micax commented 7 years ago

I contacted nicehash support today, the only way is to connect trought vpn, it seems our ip addresses are blacklisted by cloudflare.... And for me with vpn... its ok

True. Whoever is doing netAdmin work w cloudflare for Nicehash - should really check filters and blacklisting settings!

Sav87 commented 7 years ago

Add pull requests #625

xtrime-ru commented 6 years ago

@Sav87 made few fixes, so NHML can use another way of getting SMA data if primary method fails. I've compiled his fixes and made this release:

https://github.com/xtrime-ru/NiceHashMinerLegacy-SMA-FIX/releases

laniakeaa commented 6 years ago

After restart Nice hash says that it need internet connection and it wont mine. This is really annoying, especially when it happens during night and I can't monitor it.