--- robots: noindex, nofollow --- # How To Restart Spotbit ###### tags: `how-to` ## Test Spotbit ### Is It Up? Spotbit is available on the WWW at: ``` https://spotbit.info/spotbit/ ``` That will tell you if the service is entirely up or down. You can similarly test Spotbit by using the [Tor Browser](https://www.torproject.org/download/) to visit the status page: ``` http://h6zwwkcivy2hjys6xpinlnz2f74dsmvltzsd4xb42vinhlcaoe7fdeqd.onion/status ``` It should return: ``` server is running ``` ### Is It Showing an Error or Slow? Often, the server can be running, but lookups can be very slow, or there can be a problem with the database. This can be diagnosed with: ``` http://h6zwwkcivy2hjys6xpinlnz2f74dsmvltzsd4xb42vinhlcaoe7fdeqd.onion/now/USD ``` And/or: ``` http://h6zwwkcivy2hjys6xpinlnz2f74dsmvltzsd4xb42vinhlcaoe7fdeqd.onion/now/USD/coinbasepro ``` The greatest latency usually shows up on the `/now/USD` command, without the exchange. If you wait a couple of seconds, that's pretty normative for the Tor connection. If you wait for more than 5, there's a latency problem that probably requires a restart. (You may also see errors such as `err "database locked"`, which also reuquire a restart) See the [Usage Instructions on GitHub](https://github.com/BlockchainCommons/spotbit#usage-instructions) for more options for looking at present or past prices and for selecting different exchanges than the example `coinbasepro`. ## Accessing Spotbit Spotbit is running on a 1GB Nanode node at Linode. It can be accessed at `45.56.94.96`. Password is on a LP note and/or can be requested from Shannon or Chris. ## Restarting Spotbit The simplest methdodology is to restart the Spotbit daemon: ``` # systemctl restart spotbit ``` If that doesn't work there may be a more in-depth methodology for taking down Spotbit and Tor in turn, but as of today's testing, I haven't developed it. The ultimate answer is to reboot the machine. This is best done from the Linode console, just click `Reboot` from the [main page](https://cloud.linode.com/linodes).