Ethminer: Failed to resolve server for a long time

Created on 26 Aug 2017  Â·  22Comments  Â·  Source: ethereum-mining/ethminer

While mining ethminer will frequently throw an error about end of file then try to resolve the stratum server for at least 5 minutes and I've seen it retry up to 2 hours. The frequency of this happening is random, from 5 minutes to 4 hours. While this happens I can ssh into the server and ping the stratum server without issues. I've also tried using the ip address directly and have the same issue. This happens on 0.11 and 0.12.0.dev2.

Output log:

17:02:40|ethminer Mining on #d8f6ce3c… : 17.30MH/s [A0+0:R0+0:F0]
✘ 17:02:41|stratum Read response failed: End of file
ℹ 17:02:41|stratum Reconnecting in 3 seconds...
ℹ 17:02:44|stratum Connecting to stratum server us2.ethermine.org:4444
Could not resolve hostus2.ethermine.org:4444, Operation canceled ℹ 17:02:44|stratum Reconnecting in 3 seconds...
ℹ 17:02:47|stratum Connecting to stratum server us2.ethermine.org:4444

The reconnecting message is then repeatedly shown.

System Information:

Ubuntu 17.04 64bit
Nvidia 970 4gb
AMD Turion(tm) II Neo N40L Dual-Core Processor
8gb ddr3
Linksys WUSB6300 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]

Ethminer usage command:

./ethminer -G -S us2.ethermine.org:4444 -O addrHere

bug committed

All 22 comments

I confirm that situation against ethermine. However I had situations with two RIGs on same network that one works and other not.

Update: Added extensive test log few posts below.

ah, claymore works fine.

Can you try on same network (the one having issue) with older ethminer release (more than 1 week old).
I had this issue sudently on my office workstation 1 day ago. No problem with other network with same version. I really don't have explanation right now. I guess (without to have took a real look) we have some problem in the stratum code with late comit on master if claymore is fine on same network. Weird!

Hello @orkblutt. I tested with tag 0.11 from Jul 5. However the errors isn't the same. I get stratum Read response failed: End of file. Following is the full log of build and tests.

felipe@lothal:~/mining/ethminer-git/build$ git status
HEAD detached at v0.11.0
nothing to commit, working directory clean

felipe@lothal:~/mining/ethminer-git/build$ sudo rm -rf *

felipe@lothal:~/mining/ethminer-git/build$ cmake .. -DETHASHCUDA=ON -DETHASHCL=OFF
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- [hunter] Calculating Config-SHA1
-- [hunter] Calculating Toolchain-SHA1
-- [hunter] HUNTER_ROOT: /home/felipe/.hunter
-- [hunter] [ Hunter-ID: 435b09a | Config-ID: cd01ff3 | Toolchain-ID: 0452b62 ]
-- [hunter] BOOST_ROOT: /home/felipe/.hunter/_Base/435b09a/cd01ff3/0452b62/Install (ver.: 1.64.0)
-- [hunter] BOOST_ROOT: /home/felipe/.hunter/_Base/435b09a/cd01ff3/0452b62/Install (ver.: 1.64.0)
-- Boost version: 1.64.0
-- Found the following Boost libraries:
--   system
-- [hunter] JSONCPP_ROOT: /home/felipe/.hunter/_Base/435b09a/cd01ff3/0452b62/Install (ver.: 1.8.0)
-- [hunter] LIBJSON-RPC-CPP_ROOT: /home/felipe/.hunter/_Base/435b09a/cd01ff3/0452b62/Install (ver.: 0.7.0-p0)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found ZLIB: ZLIB::zlib  
------------------------------------------------------------------------
-- CMake 3.5.1
-- Build Release / Linux
------------------------------------------------------------- components
-- ETHASHCL         Build OpenCL components                  OFF
-- ETHASHCUDA       Build CUDA components                    ON
-- ETHSTRATUM       Build Stratum components                 ON
------------------------------------------------------------------------

-- Found CUDA: /usr/local/cuda-8.0 (found version "8.0") 
-- Configuring done
-- Generating done
-- Build files have been written to: /home/felipe/mining/ethminer-git/build

felipe@lothal:~/mining/ethminer-git/build$ make -j3
Scanning dependencies of target BuildInfo.h
Scanning dependencies of target devcore
Scanning dependencies of target ethash
[  4%] Building C object libethash/CMakeFiles/ethash.dir/internal.c.o
Files "/home/felipe/mining/ethminer-git/build/BuildInfo.h.tmp" to "/home/felipe/mining/ethminer-git/build/BuildInfo.h" are different.
[  4%] Built target BuildInfo.h
Scanning dependencies of target ethstratum
[  8%] Building CXX object libdevcore/CMakeFiles/devcore.dir/CommonData.cpp.o
[ 12%] Building C object libethash/CMakeFiles/ethash.dir/sha3.c.o
[ 16%] Building CXX object libstratum/CMakeFiles/ethstratum.dir/EthStratumClient.cpp.o
[ 20%] Linking C static library libethash.a
[ 20%] Built target ethash
[ 25%] Building NVCC (Device) object libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash-cuda_generated_ethash_cuda_miner_kernel.cu.o
[ 29%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Worker.cpp.o
[ 33%] Building CXX object libdevcore/CMakeFiles/devcore.dir/RLP.cpp.o
[ 37%] Building CXX object libstratum/CMakeFiles/ethstratum.dir/EthStratumClientV2.cpp.o
ptxas info    : 0 bytes gmem, 264 bytes cmem[3]
ptxas info    : Compiling entry function '_Z13ethash_searchILj6EEvPVjm' for 'sm_30'
ptxas info    : Function properties for _Z13ethash_searchILj6EEvPVjm
    120 bytes stack frame, 480 bytes spill stores, 580 bytes spill loads
ptxas info    : Used 63 registers, 336 bytes cmem[0], 4 bytes cmem[2]
ptxas info    : Compiling entry function '_Z13ethash_searchILj2EEvPVjm' for 'sm_30'
ptxas info    : Function properties for _Z13ethash_searchILj2EEvPVjm
    112 bytes stack frame, 380 bytes spill stores, 240 bytes spill loads
ptxas info    : Used 63 registers, 336 bytes cmem[0], 4 bytes cmem[2]
ptxas info    : Compiling entry function '_Z13ethash_searchILj8EEvPVjm' for 'sm_30'
ptxas info    : Function properties for _Z13ethash_searchILj8EEvPVjm
    128 bytes stack frame, 456 bytes spill stores, 484 bytes spill loads
ptxas info    : Used 63 registers, 336 bytes cmem[0], 4 bytes cmem[2]
ptxas info    : Compiling entry function '_Z13ethash_searchILj4EEvPVjm' for 'sm_30'
ptxas info    : Function properties for _Z13ethash_searchILj4EEvPVjm
    112 bytes stack frame, 404 bytes spill stores, 328 bytes spill loads
ptxas info    : Used 63 registers, 336 bytes cmem[0], 4 bytes cmem[2]
ptxas info    : Compiling entry function '_Z13ethash_searchILj7EEvPVjm' for 'sm_30'
ptxas info    : Function properties for _Z13ethash_searchILj7EEvPVjm
    128 bytes stack frame, 508 bytes spill stores, 760 bytes spill loads
ptxas info    : Used 63 registers, 336 bytes cmem[0], 4 bytes cmem[2]
ptxas info    : Compiling entry function '_Z13ethash_searchILj3EEvPVjm' for 'sm_30'
ptxas info    : Function properties for _Z13ethash_searchILj3EEvPVjm
    112 bytes stack frame, 396 bytes spill stores, 276 bytes spill loads
ptxas info    : Used 63 registers, 336 bytes cmem[0], 4 bytes cmem[2]
ptxas info    : Compiling entry function '_Z13ethash_searchILj5EEvPVjm' for 'sm_30'
ptxas info    : Function properties for _Z13ethash_searchILj5EEvPVjm
    112 bytes stack frame, 436 bytes spill stores, 388 bytes spill loads
ptxas info    : Used 63 registers, 336 bytes cmem[0], 4 bytes cmem[2]
ptxas info    : Compiling entry function '_Z13ethash_searchILj1EEvPVjm' for 'sm_30'
ptxas info    : Function properties for _Z13ethash_searchILj1EEvPVjm
    112 bytes stack frame, 380 bytes spill stores, 260 bytes spill loads
ptxas info    : Used 63 registers, 336 bytes cmem[0], 4 bytes cmem[2]
ptxas info    : Compiling entry function '_Z25ethash_calculate_dag_itemj' for 'sm_30'
ptxas info    : Function properties for _Z25ethash_calculate_dag_itemj
    512 bytes stack frame, 792 bytes spill stores, 520 bytes spill loads
ptxas info    : Used 63 registers, 324 bytes cmem[0]
[ 41%] Building CXX object libdevcore/CMakeFiles/devcore.dir/FixedHash.cpp.o
[ 45%] Building CXX object libdevcore/CMakeFiles/devcore.dir/Log.cpp.o
[ 50%] Linking CXX static library libethstratum.a
[ 50%] Built target ethstratum
[ 54%] Building CXX object libdevcore/CMakeFiles/devcore.dir/SHA3.cpp.o
ptxas info    : 0 bytes gmem, 264 bytes cmem[3]
ptxas info    : Compiling entry function '_Z13ethash_searchILj6EEvPVjm' for 'sm_35'
ptxas info    : Function properties for _Z13ethash_searchILj6EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 91 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj2EEvPVjm' for 'sm_35'
ptxas info    : Function properties for _Z13ethash_searchILj2EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 75 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj8EEvPVjm' for 'sm_35'
ptxas info    : Function properties for _Z13ethash_searchILj8EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 100 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj4EEvPVjm' for 'sm_35'
ptxas info    : Function properties for _Z13ethash_searchILj4EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 80 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj7EEvPVjm' for 'sm_35'
ptxas info    : Function properties for _Z13ethash_searchILj7EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 96 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj3EEvPVjm' for 'sm_35'
ptxas info    : Function properties for _Z13ethash_searchILj3EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 76 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj5EEvPVjm' for 'sm_35'
ptxas info    : Function properties for _Z13ethash_searchILj5EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 82 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj1EEvPVjm' for 'sm_35'
ptxas info    : Function properties for _Z13ethash_searchILj1EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 75 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z25ethash_calculate_dag_itemj' for 'sm_35'
ptxas info    : Function properties for _Z25ethash_calculate_dag_itemj
    272 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 84 registers, 324 bytes cmem[0]
[ 58%] Linking CXX static library libdevcore.a
[ 58%] Built target devcore
ptxas info    : 0 bytes gmem, 264 bytes cmem[3]
ptxas info    : Compiling entry function '_Z13ethash_searchILj6EEvPVjm' for 'sm_50'
ptxas info    : Function properties for _Z13ethash_searchILj6EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 96 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj2EEvPVjm' for 'sm_50'
ptxas info    : Function properties for _Z13ethash_searchILj2EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 79 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj8EEvPVjm' for 'sm_50'
ptxas info    : Function properties for _Z13ethash_searchILj8EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 102 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj4EEvPVjm' for 'sm_50'
ptxas info    : Function properties for _Z13ethash_searchILj4EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 106 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj7EEvPVjm' for 'sm_50'
ptxas info    : Function properties for _Z13ethash_searchILj7EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 102 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj3EEvPVjm' for 'sm_50'
ptxas info    : Function properties for _Z13ethash_searchILj3EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 80 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj5EEvPVjm' for 'sm_50'
ptxas info    : Function properties for _Z13ethash_searchILj5EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 96 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj1EEvPVjm' for 'sm_50'
ptxas info    : Function properties for _Z13ethash_searchILj1EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 78 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z25ethash_calculate_dag_itemj' for 'sm_50'
ptxas info    : Function properties for _Z25ethash_calculate_dag_itemj
    272 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 79 registers, 324 bytes cmem[0], 4 bytes cmem[2]
ptxas info    : 0 bytes gmem, 264 bytes cmem[3]
ptxas info    : Compiling entry function '_Z13ethash_searchILj6EEvPVjm' for 'sm_52'
ptxas info    : Function properties for _Z13ethash_searchILj6EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 96 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj2EEvPVjm' for 'sm_52'
ptxas info    : Function properties for _Z13ethash_searchILj2EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 79 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj8EEvPVjm' for 'sm_52'
ptxas info    : Function properties for _Z13ethash_searchILj8EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 102 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj4EEvPVjm' for 'sm_52'
ptxas info    : Function properties for _Z13ethash_searchILj4EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 106 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj7EEvPVjm' for 'sm_52'
ptxas info    : Function properties for _Z13ethash_searchILj7EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 102 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj3EEvPVjm' for 'sm_52'
ptxas info    : Function properties for _Z13ethash_searchILj3EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 80 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj5EEvPVjm' for 'sm_52'
ptxas info    : Function properties for _Z13ethash_searchILj5EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 96 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj1EEvPVjm' for 'sm_52'
ptxas info    : Function properties for _Z13ethash_searchILj1EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 78 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z25ethash_calculate_dag_itemj' for 'sm_52'
ptxas info    : Function properties for _Z25ethash_calculate_dag_itemj
    272 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 79 registers, 324 bytes cmem[0], 4 bytes cmem[2]
ptxas info    : 0 bytes gmem, 264 bytes cmem[3]
ptxas info    : Compiling entry function '_Z13ethash_searchILj6EEvPVjm' for 'sm_60'
ptxas info    : Function properties for _Z13ethash_searchILj6EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 96 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj2EEvPVjm' for 'sm_60'
ptxas info    : Function properties for _Z13ethash_searchILj2EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 80 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj8EEvPVjm' for 'sm_60'
ptxas info    : Function properties for _Z13ethash_searchILj8EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 102 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj4EEvPVjm' for 'sm_60'
ptxas info    : Function properties for _Z13ethash_searchILj4EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 95 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj7EEvPVjm' for 'sm_60'
ptxas info    : Function properties for _Z13ethash_searchILj7EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 105 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj3EEvPVjm' for 'sm_60'
ptxas info    : Function properties for _Z13ethash_searchILj3EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 85 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj5EEvPVjm' for 'sm_60'
ptxas info    : Function properties for _Z13ethash_searchILj5EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 94 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj1EEvPVjm' for 'sm_60'
ptxas info    : Function properties for _Z13ethash_searchILj1EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 76 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z25ethash_calculate_dag_itemj' for 'sm_60'
ptxas info    : Function properties for _Z25ethash_calculate_dag_itemj
    272 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 79 registers, 324 bytes cmem[0], 4 bytes cmem[2]
ptxas info    : 0 bytes gmem, 264 bytes cmem[3]
ptxas info    : Compiling entry function '_Z13ethash_searchILj6EEvPVjm' for 'sm_61'
ptxas info    : Function properties for _Z13ethash_searchILj6EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 96 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj2EEvPVjm' for 'sm_61'
ptxas info    : Function properties for _Z13ethash_searchILj2EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 80 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj8EEvPVjm' for 'sm_61'
ptxas info    : Function properties for _Z13ethash_searchILj8EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 102 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj4EEvPVjm' for 'sm_61'
ptxas info    : Function properties for _Z13ethash_searchILj4EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 106 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj7EEvPVjm' for 'sm_61'
ptxas info    : Function properties for _Z13ethash_searchILj7EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 105 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj3EEvPVjm' for 'sm_61'
ptxas info    : Function properties for _Z13ethash_searchILj3EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 85 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj5EEvPVjm' for 'sm_61'
ptxas info    : Function properties for _Z13ethash_searchILj5EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 96 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z13ethash_searchILj1EEvPVjm' for 'sm_61'
ptxas info    : Function properties for _Z13ethash_searchILj1EEvPVjm
    0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 76 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z25ethash_calculate_dag_itemj' for 'sm_61'
ptxas info    : Function properties for _Z25ethash_calculate_dag_itemj
    272 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 79 registers, 324 bytes cmem[0], 4 bytes cmem[2]
Scanning dependencies of target ethash-cuda
[ 62%] Building CXX object libethash-cuda/CMakeFiles/ethash-cuda.dir/ethash_cuda_miner.cpp.o
[ 66%] Linking CXX static library libethash-cuda.a
[ 66%] Built target ethash-cuda
Scanning dependencies of target ethcore
[ 70%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashCUDAMiner.cpp.o
[ 75%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashGPUMiner.cpp.o
[ 79%] Building CXX object libethcore/CMakeFiles/ethcore.dir/Miner.cpp.o
[ 83%] Building CXX object libethcore/CMakeFiles/ethcore.dir/EthashAux.cpp.o
/home/felipe/mining/ethminer-git/libethcore/EthashCUDAMiner.cpp: In member function ‘virtual void dev::eth::EthashCUDAMiner::workLoop()’:
/home/felipe/mining/ethminer-git/libethcore/EthashCUDAMiner.cpp:190:15: warning: deleting ‘volatile void*’ is undefined [-Wdelete-incomplete]
      delete[] s_dagInHostMemory;
               ^
[ 87%] Building CXX object libethcore/CMakeFiles/ethcore.dir/BlockHeader.cpp.o
[ 91%] Linking CXX static library libethcore.a
[ 91%] Built target ethcore
Scanning dependencies of target ethminer
[ 95%] Building CXX object ethminer/CMakeFiles/ethminer.dir/main.cpp.o
[100%] Linking CXX executable ethminer
[100%] Built target ethminer

felipe@lothal:~/mining/ethminer-git/build$ sudo make install
-- [hunter] Calculating Config-SHA1
-- [hunter] Calculating Toolchain-SHA1
-- [hunter] HUNTER_ROOT: /home/felipe/.hunter
-- [hunter] [ Hunter-ID: 435b09a | Config-ID: cd01ff3 | Toolchain-ID: 0452b62 ]
-- [hunter] BOOST_ROOT: /home/felipe/.hunter/_Base/435b09a/cd01ff3/0452b62/Install (ver.: 1.64.0)
-- [hunter] BOOST_ROOT: /home/felipe/.hunter/_Base/435b09a/cd01ff3/0452b62/Install (ver.: 1.64.0)
-- Boost version: 1.64.0
-- Found the following Boost libraries:
--   system
-- [hunter] JSONCPP_ROOT: /home/felipe/.hunter/_Base/435b09a/cd01ff3/0452b62/Install (ver.: 1.8.0)
-- [hunter] LIBJSON-RPC-CPP_ROOT: /home/felipe/.hunter/_Base/435b09a/cd01ff3/0452b62/Install (ver.: 0.7.0-p0)
------------------------------------------------------------------------
-- CMake 3.5.1
-- Build Release / Linux
------------------------------------------------------------- components
-- ETHASHCL         Build OpenCL components                  OFF
-- ETHASHCUDA       Build CUDA components                    ON
-- ETHSTRATUM       Build Stratum components                 ON
------------------------------------------------------------------------

-- Configuring done
-- Generating done
-- Build files have been written to: /home/felipe/mining/ethminer-git/build
[  0%] Built target BuildInfo.h
[ 29%] Built target devcore
[ 41%] Built target ethash
[ 45%] Linking CXX static library libethash-cuda.a
[ 54%] Built target ethash-cuda
[ 66%] Built target ethstratum
[ 91%] Built target ethcore
[ 95%] Linking CXX executable ethminer
[100%] Built target ethminer
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/bin/ethminer

felipe@lothal:~/mining/ethminer-git/build$ /usr/local/bin/ethminer --version
ethminer version 0.11.0
Build: Linux/g++/Release

My start script:

#!/bin/bash -l
. /etc/profile
. /home/felipe/.bashrc

POOL1="us1.ethermine.org:4444"
POOL2="eu2.ethermine.org:4444"
WALLET="<mywallet>"
WORKER="lothal-gtx-1060"
OPTS="-v 9  --cuda-parallel-hash 4 --cuda-streams 10 --cuda-grid-size 8192 --cuda-block-size 256 -v 9 $@"
ETHMINER="/usr/local/bin/ethminer"
EMAIL='<myemail>@gmail.com'

export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100

while true;
do
    echo "Running cmd: $ETHMINER -U -S $POOL1 -FS $POOL2 -O \"${WALLET}.${WORKER}/${EMAIL}\" ${OPTS} 2>&1  | tee -a \"/home/felipe/mining/ethminer-$(date +%Y%m%d).log\";"
    $ETHMINER -U -S $POOL1 -FS $POOL2 -O "${WALLET}.${WORKER}/${EMAIL}" ${OPTS} 2>&1  | tee -a "/home/felipe/mining/ethminer-$(date +%Y%m%d).log";
    echo "DEAD at $(date)"
    sleep 10;
done

Running with -SC 0

felipe@lothal:~/mining/ethminer-git/build$ run_eth_miner -SC 0
Running cmd: /usr/local/bin/ethminer -U -S us1.ethermine.org:4444 -FS eu2.ethermine.org:4444 -O "<mywallet>.lothal-gtx-1060/<myemail>@gmail.com" -v 9  --cuda-parallel-hash 4 --cuda-streams 10 --cuda-grid-size 8192 --cuda-block-size 256 -v 9 -SC 0 2>&1  | tee -a "/home/felipe/mining/ethminer-20170826.log";
[CUDA]:Using grid size 8192, block size 256

  ℹ  21:27:57|ethminer  Connecting to stratum server us1.ethermine.org:4444
  ℹ  21:27:57|stratum  Connected to stratum server us1.ethermine.org : 4444
  ℹ  21:27:57|stratum  Starting farm
  ℹ  21:27:58|stratum  Subscribed to stratum server
  ✘  21:27:58|stratum  Read response failed: End of file
  ℹ  21:27:58|stratum  Reconnecting in 3 seconds...
  ℹ  21:28:01|stratum  Connecting to stratum server us1.ethermine.org:4444
  ℹ  21:28:01|stratum  Connected to stratum server us1.ethermine.org : 4444
  ℹ  21:28:01|stratum  Subscribed to stratum server
  ✘  21:28:01|stratum  Read response failed: End of file
  ℹ  21:28:01|stratum  Reconnecting in 3 seconds...
^C

Running with -SC 1

felipe@lothal:~/mining/ethminer-git/build$ run_eth_miner -SC 1
Running cmd: /usr/local/bin/ethminer -U -S us1.ethermine.org:4444 -FS eu2.ethermine.org:4444 -O "<mywallet>.lothal-gtx-1060/<myemail>@gmail.com" -v 9  --cuda-parallel-hash 4 --cuda-streams 10 --cuda-grid-size 8192 --cuda-block-size 256 -v 9 -SC 1 2>&1  | tee -a "/home/felipe/mining/ethminer-20170826.log";
[CUDA]:Using grid size 8192, block size 256

  ℹ  21:28:07|ethminer  Connecting to stratum server us1.ethermine.org:4444
  ℹ  21:28:07|stratum  Connected to stratum server us1.ethermine.org : 4444
  ℹ  21:28:07|stratum  Starting farm
  ℹ  21:28:07|stratum  Subscribed to stratum server
  ✘  21:28:07|stratum  Read response failed: End of file
  ℹ  21:28:07|stratum  Reconnecting in 3 seconds...
  ℹ  21:28:10|stratum  Connecting to stratum server us1.ethermine.org:4444
  ℹ  21:28:11|stratum  Connected to stratum server us1.ethermine.org : 4444
  ℹ  21:28:11|stratum  Subscribed to stratum server
  ✘  21:28:11|stratum  Read response failed: End of file
  ℹ  21:28:11|stratum  Reconnecting in 3 seconds...
^C

Running with -SC 2

felipe@lothal:~/mining/ethminer-git/build$ run_eth_miner -SC 2
Running cmd: /usr/local/bin/ethminer -U -S us1.ethermine.org:4444 -FS eu2.ethermine.org:4444 -O "<mywallet>.lothal-gtx-1060/<myemail>@gmail.com" -v 9  --cuda-parallel-hash 4 --cuda-streams 10 --cuda-grid-size 8192 --cuda-block-size 256 -v 9 -SC 2 2>&1  | tee -a "/home/felipe/mining/ethminer-20170826.log";
[CUDA]:Using grid size 8192, block size 256

  ℹ  21:28:13|stratum  Connecting to stratum server us1.ethermine.org:4444
  ℹ  21:28:13|stratum  Connected!
  ℹ  21:28:13|stratum  Starting farm
  ℹ  21:28:13|stratum  Subscribed to stratum server
  ✘  21:28:14|stratum  read_until: End of file
  ℹ  21:28:14|stratum  Reconnecting in 3 seconds...
  ℹ  21:28:17|stratum  Connecting to stratum server us1.ethermine.org:4444
  ℹ  21:28:17|stratum  Connected!
  ℹ  21:28:17|stratum  Subscribed to stratum server
  ✘  21:28:17|stratum  read_until: End of file
  ℹ  21:28:17|stratum  Reconnecting in 3 seconds...
^C

@orkblutt I have done extensive tests. The problem is from ethminer with etheminer pool.
Tested v0.11.0, v0.12.0.dev1, v0.12.0.dev2 and master with following build command on Ubuntu 16.04 LTS:

$ cd ~/mining/ethminer-git/build/
$ sudo rm -rf *
$ cmake .. -DETHASHCUDA=ON -DETHASHCL=OFF
$ make -j4 
$ sudo make install

Tested against eth-us-east1.nanopool.org:9999 and us1.ethermine.org:4444 with command /usr/local/bin/ethminer -U -S $POOL -O "${WALLET}.${HOST}/${EMAIL}" -v 9.

Results are all the same:

felipe@lothal:~/mining/ethminer-git/build$ /usr/local/bin/ethminer -U -S us1.ethermine.org:4444 -O "${WALLET}.${WORKER}/${EMAIL}" -v 9
[CUDA]:Using grid size 8192, block size 128

  ℹ  22:00:22|ethminer  Connecting to stratum server us1.ethermine.org:4444
  ℹ  22:00:22|stratum   Connected to stratum server us1.ethermine.org : 4444
  ℹ  22:00:22|stratum   Starting farm
  ℹ  22:00:23|stratum   Subscribed to stratum server
  ✘  22:00:23|stratum   Read response failed: End of file
  ℹ  22:00:23|stratum   Reconnecting in 3 seconds...
  ℹ  22:00:26|stratum   Connecting to stratum server us1.ethermine.org:4444
  ℹ  22:00:26|stratum   Connected to stratum server us1.ethermine.org : 4444
  ℹ  22:00:26|stratum   Subscribed to stratum server
  ✘  22:00:26|stratum   Read response failed: End of file
  ℹ  22:00:26|stratum   Reconnecting in 3 seconds...
^C

felipe@lothal:~/mining/ethminer-git/build$ /usr/local/bin/ethminer -U -S eth-us-east1.nanopool.org:9999 -O "${WALLET}.${WORKER}/${EMAIL}" -v 9 
[CUDA]:Using grid size 8192, block size 128

  ℹ  22:00:33|ethminer  Connecting to stratum server eth-us-east1.nanopool.org:9999
Could not resolve host eth-us-east1.nanopool.org:9999, Operation canceled  ℹ  22:00:33|ethminer  Reconnecting in 3 seconds...
  ℹ  22:00:36|ethminer  Connecting to stratum server eth-us-east1.nanopool.org:9999
  ℹ  22:00:36|stratum   Connected to stratum server eth-us-east1.nanopool.org : 9999
  ℹ  22:00:36|stratum   Starting farm
  ℹ  22:00:36|stratum   Subscribed to stratum server
  ℹ  22:00:36|stratum   Authorized worker ${WALLET}.${WORKER}/${EMAIL}
  ℹ  22:00:36|stratum   Received new job #e2d3884a
  ℹ  22:00:36|CUDA0     set work; seed: #0986c6a2, target:  #00000000dbe6
  ℹ  22:00:36|CUDA0     Initialising miner...
  m  22:00:37|ethminer  Speed   0.00 Mh/s    gpu/0  0.00  [A0+0:R0+0:F0]
Using device: GeForce GTX 1060 6GB (Compute 6.1)
Generating DAG for GPU #0
CUDA#0: 0%
CUDA#0: 3%
  m  22:00:39|ethminer  Speed   0.00 Mh/s    gpu/0  0.00  [A0+0:R0+0:F0]
CUDA#0: 6%
CUDA#0: 9%
CUDA#0: 12%
CUDA#0: 15%
CUDA#0: 18%
CUDA#0: 21%
CUDA#0: 24%
  m  22:00:41|ethminer  Speed   0.00 Mh/s    gpu/0  0.00  [A0+0:R0+0:F0]
CUDA#0: 26%
CUDA#0: 29%
CUDA#0: 32%
CUDA#0: 35%
CUDA#0: 38%
CUDA#0: 41%
CUDA#0: 44%
  m  22:00:43|ethminer  Speed   0.00 Mh/s    gpu/0  0.00  [A0+0:R0+0:F0]
  ℹ  22:00:43|stratum   Received new job #32089b3e
CUDA#0: 47%
CUDA#0: 50%
CUDA#0: 53%
CUDA#0: 56%
CUDA#0: 59%
CUDA#0: 62%
CUDA#0: 65%
CUDA#0: 68%
CUDA#0: 71%
CUDA#0: 74%
CUDA#0: 76%
CUDA#0: 79%
CUDA#0: 82%
CUDA#0: 85%
CUDA#0: 88%
CUDA#0: 91%
CUDA#0: 94%
CUDA#0: 97%
  ℹ  22:00:48|CUDA0     set work; seed: #0986c6a2, target:  #00000000dbe6
  m  22:00:48|ethminer  Speed   0.00 Mh/s    gpu/0  0.00  [A0+0:R0+0:F0]
  m  22:00:50|ethminer  Speed  22.02 Mh/s    gpu/0 22.02  [A0+0:R0+0:F0]
  m  22:00:52|ethminer  Speed  23.07 Mh/s    gpu/0 23.07  [A0+0:R0+0:F0]
  m  22:00:54|ethminer  Speed  23.07 Mh/s    gpu/0 23.07  [A0+0:R0+0:F0]

Claymore works fine with Ethermine.

Ethermine support keeping being evasive and telling that all servers are good and is ethminer issue.

IMHO, Ethermine changed something this last week that is blocking ethminer.

Complementing the information (last post I promisse). In another desktop running Gentoo I'm using v0.12.0.dev2 binary get from releases. In this version, ethermine works for while and then get's a stratum Read response failed: End of file and keep getting Could not resolve host us1.ethermine.org:4444. Execution log:

Using device: GeForce GTX 970 (Compute 5.2)
Generating DAG for GPU #0
CUDA#0: 0%
CUDA#0: 6%
CUDA#0: 12%
CUDA#0: 18%
CUDA#0: 24%
CUDA#0: 29%
CUDA#0: 35%
CUDA#0: 41%
CUDA#0: 47%
CUDA#0: 53%
CUDA#0: 59%
CUDA#0: 65%
CUDA#0: 71%
CUDA#0: 76%
CUDA#0: 82%
CUDA#0: 88%
CUDA#0: 94%
  ℹ  21:36:42|CUDA0     set work; seed: #0986c6a2, target:  #0000000112e0
  m  21:36:42|ethminer  Mining on #1de1b50b… : 0.00MH/s [A0+0:R0+0:F0]
  m  21:36:44|ethminer  Mining on #1de1b50b… : 2.10MH/s [A0+0:R0+0:F0]
  ℹ  21:36:45|stratum   Received new job #f035a68c
  ℹ  21:36:46|CUDA0     set work; seed: #0986c6a2, target:  #0000000112e0
  m  21:36:46|ethminer  Mining on #f035a68c… : 0.00MH/s [A0+0:R0+0:F0]
  m  21:36:48|ethminer  Mining on #f035a68c… : 7.34MH/s [A0+0:R0+0:F0]
  m  21:36:50|ethminer  Mining on #f035a68c… : 19.92MH/s [A0+0:R0+0:F0]
  m  21:36:52|ethminer  Mining on #f035a68c… : 15.73MH/s [A0+0:R0+0:F0]
  m  21:36:54|ethminer  Mining on #f035a68c… : 15.73MH/s [A0+0:R0+0:F0]
  m  21:36:56|ethminer  Mining on #f035a68c… : 17.83MH/s [A0+0:R0+0:F0]
  m  21:36:58|ethminer  Mining on #f035a68c… : 16.78MH/s [A0+0:R0+0:F0]
  m  21:37:00|ethminer  Mining on #f035a68c… : 17.83MH/s [A0+0:R0+0:F0]
  m  21:37:02|ethminer  Mining on #f035a68c… : 17.83MH/s [A0+0:R0+0:F0]
  m  21:37:04|ethminer  Mining on #f035a68c… : 16.78MH/s [A0+0:R0+0:F0]
  m  21:37:06|ethminer  Mining on #f035a68c… : 17.83MH/s [A0+0:R0+0:F0]
  m  21:37:08|ethminer  Mining on #f035a68c… : 14.68MH/s [A0+0:R0+0:F0]
  m  21:37:10|ethminer  Mining on #f035a68c… : 17.83MH/s [A0+0:R0+0:F0]
  m  21:37:12|ethminer  Mining on #f035a68c… : 16.78MH/s [A0+0:R0+0:F0]
  m  21:37:14|ethminer  Mining on #f035a68c… : 14.68MH/s [A0+0:R0+0:F0]
  m  21:37:16|ethminer  Mining on #f035a68c… : 15.73MH/s [A0+0:R0+0:F0]
  m  21:37:18|ethminer  Mining on #f035a68c… : 16.78MH/s [A0+0:R0+0:F0]
  m  21:37:20|ethminer  Mining on #f035a68c… : 15.73MH/s [A0+0:R0+0:F0]

<then almost 30 minutes later>

  m  22:03:39|ethminer  Mining on #a39c675d… : 16.78MH/s [A0+0:R0+0:F0]
  m  22:03:41|ethminer  Mining on #a39c675d… : 17.83MH/s [A0+0:R0+0:F0]
  m  22:03:43|ethminer  Mining on #a39c675d… : 17.83MH/s [A0+0:R0+0:F0]
  ✘  22:03:44|stratum   Read response failed: End of file
  ℹ  22:03:44|stratum   Reconnecting in 3 seconds...
  ℹ  22:03:47|stratum   Connecting to stratum server us1.ethermine.org:4444
Could not resolve hostus1.ethermine.org:4444, Operation canceled  ℹ  22:03:47|stratum   Reconnecting in 3 seconds...
  ℹ  22:03:50|stratum   Connecting to stratum server eu1.ethermine.org:4444
Could not resolve hosteu1.ethermine.org:4444, Operation canceled  ℹ  22:03:50|stratum   Reconnecting in 3 seconds...
  ℹ  22:03:53|stratum   Connecting to stratum server eu1.ethermine.org:4444
Could not resolve hosteu1.ethermine.org:4444, Operation canceled  ℹ  22:03:53|stratum   Reconnecting in 3 seconds...
  ℹ  22:03:56|stratum   Connecting to stratum server eu1.ethermine.org:4444
Could not resolve hosteu1.ethermine.org:4444, Operation canceled  ℹ  22:03:56|stratum   Reconnecting in 3 seconds...
  ℹ  22:03:59|stratum   Connecting to stratum server eu1.ethermine.org:4444
Could not resolve hosteu1.ethermine.org:4444, Operation canceled  ℹ  22:03:59|stratum   Reconnecting in 3 seconds...
  ℹ  22:04:02|stratum   Connecting to stratum server us1.ethermine.org:4444
Could not resolve hostus1.ethermine.org:4444, Operation canceled  ℹ  22:04:02|stratum   Reconnecting in 3 seconds...
  ℹ  22:04:05|stratum   Connecting to stratum server us1.ethermine.org:4444
Could not resolve hostus1.ethermine.org:4444, Operation canceled  ℹ  22:04:05|stratum   Reconnecting in 3 seconds...

pastebin?

You can try -SC 2 option

Got the same issue on ethermine + ethminer.
Claymore works fine.
using -SC 2 seems to fix the problem for now!

edit: sc 2 doesn't fix the issue but at least makes it more "catchable" and at least it connects to the pool ( so in some sense it does fix the issue... But it's unstable ), I got the following happening on 80% of my rigs at the moment for no apparent reason, all on the same switch and all able to connect and ping the pool normally outside of ethminer.

screen shot 2017-08-31 at 20 41 01

Hmpf, noticed the same problem on my linux box (quite often) and once on my windows.
It even fails if i use the ip address instead of a hostname.
Claymore works fine.

Still no solution for this issue? I having the same issue on ethermine.org Pool.. It is the software issue or Pool?

I noticed for some of the folks, you have a "dot" in your "worker name" remove that and retry

Oddly, this problem cropped up for me when I went from 1x to 3x GTX 1070 on my mining rig.

EDIT: I uninstalled Network Manager, and ran tcpdump to monitor DNS requests to all interfaces. Interestingly, tcpdump didn't show an DNS queries being made during the time ethminer was complaining it couldn't resolved the server address.

#!/bin/bash

export DISPLAY=:0
export XAUTHORITY=/home/<username>/.Xauthority

sudo nvidia-smi -i 0 -pm 1
sudo nvidia-smi -i 0 -pl 106
nvidia-settings -c :0 -a '[gpu:0]/GPUMemoryTransferRateOffset[3]=1360'

sudo nvidia-smi -i 1 -pm 1
sudo nvidia-smi -i 1 -pl 106
nvidia-settings -c :0 -a '[gpu:1]/GPUMemoryTransferRateOffset[3]=1360'

sudo nvidia-smi -i 2 -pm 1
sudo nvidia-smi -i 2 -pl 106
nvidia-settings -c :0 -a '[gpu:2]/GPUMemoryTransferRateOffset[3]=1360'

exit 0
#!/bin/bash

EMAIL="<myemail>"
ACCOUNT="<myethaccount>"

RIG_NAME=$(hostname -s)

export DISPLAY=:0
export XAUTHORITY=/home/<username>/.Xauthority

export GPU_FORCE_64BIT_PTR=0
export GPU_MAX_HEAP_SIZE=100
export GPU_USE_SYNC_OBJECTS=1
export GPU_MAX_ALLOC_PERCENT=100
export GPU_SINGLE_ALLOC_PERCENT=100

# https://unix.stackexchange.com/a/233685
trap 'echo caught interrupt and exiting;exit' INT

while true; do
    timeout --foreground 30m ethminer --farm-recheck 200 \
             -U \
             -SP 1 \
             -RH \
             -S eth-us-west1.nanopool.org:9999 \
             -FS eth-us-east1.nanopool.org:9999 \
             -O "${ACCOUNT}.${RIG_NAME}/${EMAIL}"
    sleep 3
done

exit 0

```Could not resolve host eth-us-west1.nanopool.org:9999, Operation canceled ℹ 14:05:02|ethminer Reconnecting in 3 seconds...
ℹ 14:05:05|ethminer Connecting to stratum server eth-us-east1.nanopool.org:9999
Could not resolve host eth-us-east1.nanopool.org:9999, Operation canceled ℹ 14:05:05|ethminer Reconnecting in 3 seconds...
ℹ 14:05:08|ethminer Connecting to stratum server eth-us-east1.nanopool.org:9999
Could not resolve host eth-us-east1.nanopool.org:9999, Operation canceled ℹ 14:05:08|ethminer Reconnecting in 3 seconds...
ℹ 14:05:11|ethminer Connecting to stratum server eth-us-east1.nanopool.org:9999
Could not resolve host eth-us-east1.nanopool.org:9999, Operation canceled ℹ 14:05:11|ethminer Reconnecting in 3 seconds...
^Ccaught interrupt and exiting

@gerty:~$ ./start-mining_2017-10-02.sh
cu 14:05:14|ethminer Using grid size 8192 , block size 128
ℹ 14:05:14|ethminer Connecting to stratum server eth-us-west1.nanopool.org:9999
ℹ 14:05:14|stratum Connected to stratum server eth-us-west1.nanopool.org : 9999
ℹ 14:05:14|stratum Starting farm
ℹ 14:05:15|stratum Received new job #0x3940ad
ℹ 14:05:15|CUDA0 set work; seed: #e0d55f3f, target: #00000000dbe6
ℹ 14:05:15|CUDA0 Initialising miner...
ℹ 14:05:15|CUDA1 set work; seed: #e0d55f3f, target: #00000000dbe6
ℹ 14:05:15|CUDA1 Initialising miner...
ℹ 14:05:15|CUDA2 set work; seed: #e0d55f3f, target: #00000000dbe6
ℹ 14:05:15|CUDA2 Initialising miner...
m 14:05:15|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
ℹ 14:05:15|stratum Received new job #0x3940ad
m 14:05:15|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
m 14:05:15|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
m 14:05:15|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
m 14:05:15|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
m 14:05:16|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
m 14:05:16|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
m 14:05:16|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
m 14:05:16|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
m 14:05:16|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
m 14:05:17|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
cu 14:05:17|CUDA0 Using device: GeForce GTX 1070 (Compute 6.1)
cu 14:05:17|CUDA1 Using device: GeForce GTX 1070 (Compute 6.1)
cu 14:05:17|CUDA2 Using device: GeForce GTX 1070 (Compute 6.1)
m 14:05:17|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
m 14:05:17|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
m 14:05:17|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
m 14:05:17|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
cu 14:05:18|CUDA0 Generating DAG for GPU # 0
cu 14:05:18|CUDA1 Generating DAG for GPU # 1
cu 14:05:18|CUDA2 Generating DAG for GPU # 2
m 14:05:18|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
CUDA#0: 0%
CUDA#2: 0%
CUDA#1: 0%
m 14:05:18|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00
CUDA#0: 3%
CUDA#2: 3%
CUDA#1: 3%
m 14:05:18|ethminer Speed 0.00 Mh/s gpu/0 0.00 gpu/1 0.00 gpu/2 0.00 [A0+0:R0+0:F0] Time: 00:00```

In regards to OP,

Could not resolve host us2.ethermine.org:4444

even though it does appear you're just not resolving the DNS name to IP by the error given, I have seen this error on mine occasionally and know for a fact the resolver/dns svc was resolving given host fine (it's a cached lookup system). Internet itself never went down, either. But still saw this error. Is the error given incorrect - or not specific enough? Yes, maybe it didn't resolve, but why - if not the lookup? Maybe this error can be misleading in some cases..?

I'm getting this too regardless of the pool (tried 3 different pools, but mainly ethermine and nanopool). Ubuntu 16.04.3 x64 with ethminer 0.12.0. Sometimes it takes forever (>10 minutes) until it connects. No problem on Claymore.

Minght a dev look into this?

Am getting this issue too. It fails to resolve hostname several times and after some time, ethminer crashes. This is with ethermine.org. Anyone found a workaround for this yet? Thanks in advance

give ethproxy a try, might be a temporary solution.

I am completely unknowledged about boost asio but I have found this post while searching for a solution on this problem.
https://stackoverflow.com/questions/3922657/boost-asio-operation-cancelled-on-async-read

It might be applicabile in EthStratum.cpp ?

I ask @chfast if this might be the case.

This has started happening to me after going to the newest stable version.

After #757 (added --exit parameter to exit whenever an error occurred) you can use a watchdog.

Here is my ETHminerWatchDogDmW Windows7/8/10 [32/64] & Linux (Any Dist/Any Ver/Any Arch) (#735).

CUDA Hardware Test Launch Command:
ethminer -RH -U -S eu1.ethermine.org:4444 -FS us1.ethermine.org:4444 -O 0x7013275311fc37ccc1e40193D75086293eCb43A4.test

OpenCL Hardware Test Launch Command:
ethminer -RH -G -S eu1.ethermine.org:4444 -FS us1.ethermine.org:4444 -O 0x7013275311fc37ccc1e40193D75086293eCb43A4.test

MIX Hardware Test Launch Command:
ethminer -RH -X -S eu1.ethermine.org:4444 -FS us1.ethermine.org:4444 -O 0x7013275311fc37ccc1e40193D75086293eCb43A4.test

Try with latest Ethminer version and feedback please.
Thank you!

@DeadManWalkingTO You should probably stop spamming every thread ...

All addressed #1027

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Penziplays picture Penziplays  Â·  5Comments

unknown2this picture unknown2this  Â·  4Comments

sur1v picture sur1v  Â·  4Comments

phalexo picture phalexo  Â·  5Comments

moozzee picture moozzee  Â·  5Comments