I installed it from the Tor repository and got it working. I was able to run bitcoin-qt with Tor since it has the P on the GUI and im only connecting to .onion addresses in the Peers window. However, some things still not fully working it seems.
1) The RPC does not work when I use Tor for some reason. I try
./bitcoin-cli -datadir=path getnetworkinfo and it says:
error: timeout on transient error: Could not connect to the server 127.0.0.1:18332
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
There is no cookie so maybe I have the wrong settings on bitcoin.conf
TOR should not affect your connection to the RPC unless there a bug present. Can you please clarify whether you are trying to do this on testnet or mainnet? Just to make sure that there is no basic error or confusion here.
18332 is the RPC port for testnet. The mainnet port is 8332. A small reminder about .conf and CLI, do not update the .conf while the daemon is running. This may give you issues relating to configuration changes and may cause unnecessary confusion.
I will try to reproduce everything that you are doing. Can you please post complete configuration files (omit the passwords and such obviously)?