Tor service is not working
I have installed Tor on a command-line only environment (without the browser), so I can't type in check.torproject.org
with a browser. Tor is used by a script to request data from clearnet.
I am using a RHEL-compatible Linux OS, and have Nyx (formerly ARM) installed. Tor is set in client-only mode, and Nyx does not show any issues whatsoever. The tor service is used by Privoxy proxy forwarding in order to relay data to my script. It's been working perfectly for months now, but a problem has just occurred in the setup which is preventing my script to access Tor.
Checking for issues from command line
Please guide me on how to check the Tor status from the command line, and where to look for errors to get my connection working again.
I used to use torify/torsocks to see if tor is working, but sadly it appears to be glitchy and torify curl http://....
doesn't seem work anymore. I know that The tor process is listening, but I have no way to see if it's working and troubleshoot the problem.
Additionally, is there a way I determine if Tor is blocked by my ISP and whether if I need to use bridges? How can I set up bridges on torrc
using command-line?
UPDATE: I noticed my server's time had gone out of sync. If you have a similar problem, make sure your machine's time is correct. Here's what I did.
ntpdate pool.ntp.org
and now it works like a charm. No bridges required.