<p>Above question was also asked at <a href="https://github.com/KlausT/ccminer/issues/21" rel="nofollow noreferrer">Github</a></p>

<blockquote>
  <p>Sorry, but Bitcoin solo mining is no longer supported, because they
  removed the getwork command. Trying to mine Bitcoin is useless anyway,
  the difficulty is too high.</p>
</blockquote>

CC BY-SA 3.0
2017-01-30T09:22:53.663Z
2017-01-30T09:22:53.663Z
JavaMachine
<p>I am having issue with running <a href="https://github.com/KlausT/ccminer" rel="nofollow noreferrer">ccminer</a> with bitcoin-qt.exe (Solo mining)</p>

<p>I am receiving error below upon start:</p>

<pre><code>[2017-01-26 14:23:57] 1 miner thread started, using 'bitcoin' algorithm
[2017-01-26 14:23:57] Binding thread 0 to cpu 0 (mask 1)
[2017-01-26 14:23:57] JSON-RPC call failed: Method not found
[2017-01-26 14:23:57] json_rpc_call failed, retry after 5 seconds
</code></pre>

<p>How to resolve this issue?</p>

<p><strong>What I did:</strong></p>

<p>my ccminer running parameters:</p>

<pre><code>ccminer -a bitcoin -o http://127.0.0.1:8332 -u USER -p 123456789 -R 5 -D
</code></pre>

<p>my bitcoin.conf file:</p>

<pre><code>rpcuser=USER
rpcpassword=123456789 
server=1
daemon=1
listen=1
#rpcallowip=127.0.0.1
rpcport=8332
</code></pre>

<p>I have tried to add -P into ccminer running parameters, and the result is</p>

<pre><code>* Rebuilt URL to: http://127.0.0.1:8332/
* Hostname 127.0.0.1 was found in DNS cache
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8332 (#1)
* Server auth using Basic with user 'USER'
&gt; POST / HTTP/1.1
Host: 127.0.0.1:8332
Authorization: Basic xxxxxxSOME_BASE64xxx
Accept-Encoding: identity
Content-Type: application/json
Content-Length: 45
User-Agent: ccminer/8.05-KlausT
X-Mining-Extensions: longpoll noncerange reject-reason
X-Mining-Hashrate: 0

&lt; HTTP/1.1 404 Not Found
&lt; Content-Type: application/json
&lt; Date: Thu, 26 Jan 2017 11:19:41 GMT
&lt; Content-Length: 76
* HTTP error before end of send, stop sending
&lt;
* Curl_http_done: called premature == 0
* Closing connection 1
[2017-01-26 16:19:41] JSON protocol response:
{
   "error": {
      "code": -32601,
      "message": "Method not found"
   },
   "result": null,
   "id": 0
}

[2017-01-26 16:19:41] JSON-RPC call failed: Method not found
[2017-01-26 16:19:41] json_rpc_call failed, retry after 30 seconds
</code></pre>

<p>I thought, maybe bitcoin-qt.exe does not accepting any connections, but when I run bfgminer with parameters:</p>

<pre><code>bfgminer -S opencl:auto -o http://127.0.0.1:8332 -u USER -p 123456789 2&gt;logfile.txt
</code></pre>

<p>everything works fine...</p>

<p>P.S. everything is up to date:</p>

<pre><code>Bitcoin v0.13.2 (64 bit)
ccminer v8.05-KlausT
pthreads static 2, 9, 1, 0
libcurl/7.50.3 WinSSL WinIDN
</code></pre>

<p>Thanks in advance</p>

<bitcoin-core><json-rpc><miner-configuration><server><bitcoin.conf>
ccminer JSON-RPC call failed: Method not found
JavaMachine
# ccminer JSON-RPC call failed: Method not found

(Asked by: username_0 on 2017-01-26)

I am having issue with running [ccminer](https://github.com/KlausT/ccminer) with bitcoin-qt.exe (Solo mining)

I am receiving error below upon start:

```
[2017-01-26 14:23:57] 1 miner thread started, using 'bitcoin' algorithm
[2017-01-26 14:23:57] Binding thread 0 to cpu 0 (mask 1)
[2017-01-26 14:23:57] JSON-RPC call failed: Method not found
[2017-01-26 14:23:57] json_rpc_call failed, retry after 5 seconds

```

How to resolve this issue?

**What I did:**

my ccminer running parameters:

```
ccminer -a bitcoin -o http://127.0.0.1:8332 -u USER -p 123456789 -R 5 -D

```

my bitcoin.conf file:

```
rpcuser=USER
rpcpassword=123456789 
server=1
daemon=1
listen=1
#rpcallowip=127.0.0.1
rpcport=8332

```

I have tried to add -P into ccminer running parameters, and the result is

```
* Rebuilt URL to: http://127.0.0.1:8332/
* Hostname 127.0.0.1 was found in DNS cache
*   Trying 127.0.0.1...
* TCP_NODELAY set
* Connected to 127.0.0.1 (127.0.0.1) port 8332 (#1)
* Server auth using Basic with user 'USER'
> POST / HTTP/1.1
Host: 127.0.0.1:8332
Authorization: Basic xxxxxxSOME_BASE64xxx
Accept-Encoding: identity
Content-Type: application/json
Content-Length: 45
User-Agent: ccminer/8.05-KlausT
X-Mining-Extensions: longpoll noncerange reject-reason
X-Mining-Hashrate: 0

< HTTP/1.1 404 Not Found
< Content-Type: application/json
< Date: Thu, 26 Jan 2017 11:19:41 GMT
< Content-Length: 76
* HTTP error before end of send, stop sending
<
* Curl_http_done: called premature == 0
* Closing connection 1
[2017-01-26 16:19:41] JSON protocol response:
{
   "error": {
      "code": -32601,
      "message": "Method not found"
   },
   "result": null,
   "id": 0
}

[2017-01-26 16:19:41] JSON-RPC call failed: Method not found
[2017-01-26 16:19:41] json_rpc_call failed, retry after 30 seconds

```

I thought, maybe bitcoin-qt.exe does not accepting any connections, but when I run bfgminer with parameters:

```
bfgminer -S opencl:auto -o http://127.0.0.1:8332 -u USER -p 123456789 2>logfile.txt

```

everything works fine...

P.S. everything is up to date:

```
Bitcoin v0.13.2 (64 bit)
ccminer v8.05-KlausT
pthreads static 2, 9, 1, 0
libcurl/7.50.3 WinSSL WinIDN

```

Thanks in advance

**Tags:** bitcoin-core, json-rpc, miner-configuration, server, bitcoin.conf


---

## 1 answers

### Answer by username_0 on 2017-01-30. Score: 2 | Accepted answer

Above question was also asked at [Github](https://github.com/KlausT/ccminer/issues/21)

> Sorry, but Bitcoin solo mining is no longer supported, because they
> removed the getwork command. Trying to mine Bitcoin is useless anyway,
> the difficulty is too high.


---

