<p>That will success when bitcoind download all blockchain.</p>

<p>Wait till bitcoind complete synchronization then try again.</p>

CC BY-SA 3.0
2016-10-29T16:14:55.563Z
But, i ran same code on VPS of my friend. It run ok? Why?
Vagabond
CC BY-SA 3.0
2016-10-31T03:52:03.710Z
Maybe your friend's node is synced and yours is not?
Pieter Wuille
CC BY-SA 3.0
2016-10-29T15:33:23.910Z
2016-10-29T15:33:23.910Z
Sh Sh
<p>I use VPS centos 7, and i install bitcoind follow: 
<a href="https://www.ringingliberty.com/bitcoin/" rel="nofollow">https://www.ringingliberty.com/bitcoin/</a></p>

<p>this is file bitcoin.conf:</p>

<pre><code>rpcuser=bitcoinrpc
rpcpassword=My_password
daemon=1
rpctimeout=30
rpcport=8332
gen=0
txindex=1
keypool=100
</code></pre>

<p>Then i ran: <code>bitcoind -reindex -deamon</code> then ran:<br>
<code>bitcoin-cli getrawtransaction string_txid</code></p>

<p>i get error: </p>

<pre><code>error code: -5
error message:
No information available about transaction
</code></pre>

<p>I use: Bitcoin Core Daemon version v0.13.0.0-ga402396</p>

<p>I don't know wrong? </p>

<bitcoind><bitcoin-core><json-rpc>
getrawtransaction is error bitcoin core
Vagabond
# getrawtransaction is error bitcoin core

(Asked by: username_0 on 2016-10-29)

I use VPS centos 7, and i install bitcoind follow:
<https://www.ringingliberty.com/bitcoin/>

this is file bitcoin.conf:

```
rpcuser=bitcoinrpc
rpcpassword=My_password
daemon=1
rpctimeout=30
rpcport=8332
gen=0
txindex=1
keypool=100

```

Then i ran: `bitcoind -reindex -deamon` then ran:  
`bitcoin-cli getrawtransaction string_txid`

i get error:

```
error code: -5
error message:
No information available about transaction

```

I use: Bitcoin Core Daemon version v0.13.0.0-ga402396

I don't know wrong?

**Tags:** bitcoind, bitcoin-core, json-rpc


---

## 1 answers

### Answer by username_1 on 2016-10-29. Score: 1

That will success when bitcoind download all blockchain.

Wait till bitcoind complete synchronization then try again.

> **Comments:**
> **username_0**: But, i ran same code on VPS of my friend. It run ok? Why?  
> **username_2**: Maybe your friend's node is synced and yours is not?  

---

