ethereum-mining / ethminer

Ethereum miner with OpenCL, CUDA and stratum support
GNU General Public License v3.0
5.98k stars 2.28k forks source link

libcurl error: 2 on windows 10 #1426

Closed fwaris closed 6 years ago

fwaris commented 6 years ago

ethminer seems to be working fine up until it finds a solution and tries to submit it. It fails on libcurl error: 2. I believe this is related to initialization of libcurl but I am not sure what to do to fix it. Here is the screen output i 08:06:38 cuda-0 Solution: 0x5dd5d86dd1fa054d X 08:06:38 cuda-0 Failed to submit solution. X 08:06:38 cuda-0 Dynamic exception type: class jsonrpc::JsonRpcException std::exception::what: Exception -32003 : Client connector error: libcurl error: 2

I am running on Windows 10 with NVidia 1080.

lesjokolat commented 6 years ago

i actually used to get this exact same message. I was connecting to pool via a getwork method, i tried all sorts of variations.... Thanks to people here i then tried to connect via a stratum method, all errors went away and i was actually aboe to mine very consistently. I was even getting some really fast mining speeds comprable and faster than the other popular miners. what is your start up command?

AndreaLanfranchi commented 6 years ago

@fwaris Please read this issue and use stratum mode

https://github.com/ethereum-mining/ethminer/issues/1415

fwaris commented 6 years ago

thanks @AndreaLanfranchi. that worked.

stone212 commented 5 years ago

@lesjokolat Can you tell me how to mine with stratum? I tried -SP and -S etc and I always get

The following arguments were not expected: -S -SP -H

Cancel that. I was pointed to these docs:https://github.com/ethereum-mining/ethminer/blob/master/docs/POOL_EXAMPLES_ETH.md