ghostlander / nsgminer

NeoScrypt OpenCL GPU Miner
https://bitcointalk.org/index.php?topic=712650.0
GNU General Public License v3.0
97 stars 68 forks source link

"stratum+tcp" not supported or disabled in libcurl #11

Closed qrkourier closed 7 years ago

qrkourier commented 7 years ago
❯ ~/Sites/nsgminer/nsgminer \
           --url stratum+tcp://neoscrypt.usa.nicehash.com:3341 \ 
           --userpass 3FRTZmp2uP1QXApbCzys6auMsNfQ5co6sw.lappycpu:x \
           --text-only \
           --neoscrypt --debug
[2017-08-27 20:15:32] Started nsgminer 0.9.2
[20:15:32] OpenCL platform 0 vendor: NVIDIA Corporation
[20:15:32] OpenCL platform 0 name: NVIDIA CUDA
[20:15:32] OpenCL platform 0 version: OpenCL 1.2 CUDA 8.0.0
[20:15:32] Platform 0 devices: 1
[20:15:32]      0       GeForce GTX 1060

[20:15:32] OCL 0: Set temperature config: target=89 cutoff=95
[20:15:32] Probing for an alive pool
[20:15:32] Testing pool stratum+tcp://neoscrypt.usa.nicehash.com:3341
[20:15:32] Popping work to stage thread
[20:15:32] HTTP request failed: Protocol "stratum+tcp" not supported or disabled in libcurl
[20:15:32] Failed to connect in json_rpc_call
[20:15:32] initiate_stratum with sockbuf=(nil)
[20:15:33] Socket closed waiting in recv_line
[20:15:33] Unable to get work from pool 0 stratum+tcp://neoscrypt.usa.nicehash.com:3341
[20:15:33] No servers were found that could be used to get work from.
[20:15:33] Please check the details from the list below of the servers you have input
[20:15:33] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
[20:15:33] Pool: 0  URL: stratum+tcp://neoscrypt.usa.nicehash.com:3341  User: 3FRTZmp2uP1QXApbCzys6auMsNfQ5co6sw.lappycpu  Password: x
No servers could be used! Exiting.
ghostlander commented 7 years ago

Is it Windows or Linux, my miner executable or yours?

qrkourier commented 7 years ago

I built the executable from master at 160777ab on Linux and I believe the problem was failed authentication. I got it working with another pool. Thanks for the miner!

andersfylling commented 6 years ago

Is this still an issue cause I seem to get the error: "No servers could be used!" ./nsgminer --neoscrypt -o tcp://neoscrypt.eu.nicehash.com:3341 --userpass 3K2fGWcJvAJRons8mjqmmp5wAJxhbizWpQ.desktop:x -I d,9 --debug

[20:59:26] Press any key to exit or the miner will try again in 15s.
[20:59:41] Testing pool http://tcp://neoscrypt.eu.nicehash.com:3341
[20:59:41] HTTP request failed: Could not resolve host: tcp
[20:59:41] Failed to connect in json_rpc_call
[20:59:41] HTTP request failed: Could not resolve host: tcp
[20:59:41] Failed to connect in json_rpc_call
[20:59:41] initiate_stratum with sockbuf=0x5560230e5f70
[20:59:41] Stratum connect failed to pool 0: Could not resolve host: tcp
[20:59:41] Initiate stratum failed
[20:59:41] FAILED to retrieve work from pool 0 http://tcp://neoscrypt.eu.nicehash.com:3341
[20:59:41] Pool 0 slow/down or URL or credentials invalid
[20:59:41] Unable to get work from pool 0 http://tcp://neoscrypt.eu.nicehash.com:3341
[20:59:41] No servers were found that could be used to get work from.
[20:59:41] Please check the details from the list below of the servers you have input
[20:59:41] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
[20:59:41] Pool: 0  URL: http://tcp://neoscrypt.eu.nicehash.com:3341  User: 3K2fGWcJvAJRons8mjqmmp5wAJxhbizWpQ  Password: x
[20:59:41] Press any key to exit or the miner will try again in 15s.

Edit: tried with both stratum+tcp:// and tcp://

ghostlander commented 6 years ago

stratum+tcp:// not tcp://

mw866 commented 6 years ago

Having the same issue as @qrkourier . Did you manage to get nsgminer to work with Nicehash?