The OpenBazaar program is actually two programs in one.
- OpenBazaar server - The server is the back end application which allows OpenBazaar to function. Each user runs a server to connect them to the network.
- OpenBazaar client - The client is the front end application and allows the user to communicate and control the server. The client is the visual interface; it's what you're looking at when you run OpenBazaar.
If you open the client, and there is no server running (or the client cannot properly find the server) then you will see the screen below.
If you're seeing this error the first time you've started OpenBazaar, the solution may be simple.
First, make sure you have downloaded the full version of OpenBazaar available on the download page unless you are specifically setting up and running an OpenBazaar node/server on a remote server not located on your current machine.
Next, hit the "Retry connection" button. If you have the same error, hit "Restore defaults" button and then retry connection again.
If this doesn't work, then shut down the program. Open it up again, and this time press the "Retry connection" button as soon as you see the "Unable to connect to your server" message. If this doesn't work, try waiting a few seconds then pressing the button again, and repeat a few more tries.
Connection Failed to Default
The first time you start OpenBazaar, your local node and your client will sync their username and password. If this process fails, you will see an error message stating that the default server can't be connected to. This means your client does not have the correct username and/or password for your local node.
To correct this issue, follow the steps below to retrieve your local node's username and password, and create a new connection using them.
- Download a SQL lite browser if you don't already have one, like http://sqlitebrowser.org/
- Find the OB-Mainnet.db file and open it in the sql lite browser
- Find the settings table
- Find the column for username, and the column for password
- In the OpenBazaar client, create a new server connection in the server connection screen. Use the values from your database for the Username and Password fields & set the Server IP to "localhost"
For a more detailed breakout of these instructions please click here.
If you still haven't connected, and you don't already have a store set up, you can reinstall. This will remove an existing store.
Shut down the program again and uninstall OpenBazaar. You will need to delete the OpenBazaar data folder. The locations for each operating system are below.
After you've deleted the data folder, make sure that you have the most recent installer available. You can find them at openbazaar.org. Open the installer package again and start OpenBazaar, following the same steps as above.
If you still cannot connect to server, make sure that you have no existing installations of OpenBazaar from earlier versions of the software. If you don't, open up a support ticket on this help desk, and give us as much information about your situation as possible.
If your client successfully finds the server, but cannot authenticate, instead of seeing "Unable to connect to your server" you will see "Authentication failed." Read these instructions to fix this problem.
If you installed the client and server manually, make sure that you've started the server again. If you installed the server on another machine, such as a VPS, make sure the Server IP field has the correct IP address, you are using the -a command, and that you've followed the other instructions closely.