OpenBazaar-Installer icon indicating copy to clipboard operation
OpenBazaar-Installer copied to clipboard

Doesn't connect to localhost server

Open Kaden14 opened this issue 8 years ago • 34 comments

I installed version 1.1.7 on Windows 10 and it booted up but wont connect to local server... consisting problem from 1.1.6

Kaden14 avatar Jun 29 '16 15:06 Kaden14

Can you show us here what you get if you click the Tent icon in the task bar and choose View Python Error Log?

hoffmabc avatar Jun 29 '16 15:06 hoffmabc

Sure... just give me a minute...

Kaden14 avatar Jun 29 '16 15:06 Kaden14

problem

Kaden14 avatar Jun 29 '16 15:06 Kaden14

name that shows up

This is the name that shows up when I right click the tent in taskbar I cant find the Python Error Log though....

Kaden14 avatar Jun 29 '16 15:06 Kaden14

Where can I find this Python Error Log???

Kaden14 avatar Jun 29 '16 17:06 Kaden14

image

hoffmabc avatar Jun 29 '16 17:06 hoffmabc

pythonerrorlog

Kaden14 avatar Jun 29 '16 17:06 Kaden14

I see you are also on steam, lol.

Kaden14 avatar Jun 29 '16 17:06 Kaden14

From the command line go to: %APPDATALOCAL%\OpenBazaar\app-1.1.7\resources\OpenBazaar-Server

and run openbazaard.exe

What do you get when you do that?

hoffmabc avatar Jun 29 '16 17:06 hoffmabc

thishappens

I had to screenshot very fast because it lasts for about 1 second then disappears... i managed to get a clear shot of the command prompt window and then I just cropped it.. again, it was fast..

Kaden14 avatar Jun 29 '16 17:06 Kaden14

When you start the app will it load if you just hit retry? Do you see openbazaard.exe running in your Task Manager?

hoffmabc avatar Jun 29 '16 17:06 hoffmabc

connecting

Kaden14 avatar Jun 29 '16 17:06 Kaden14

and then it just never goes past that?

hoffmabc avatar Jun 29 '16 17:06 hoffmabc

it shows this -> then this

Kaden14 avatar Jun 29 '16 17:06 Kaden14

then this This is my taskbar... I have pinned the app to my taskbar and it just opens in that same tab..

Kaden14 avatar Jun 29 '16 17:06 Kaden14

Note: it only says 'connecting' for a few seconds..

Kaden14 avatar Jun 29 '16 17:06 Kaden14

Oh, and it is not openbazaar.exe - it is Electron -> not an exe

Kaden14 avatar Jun 29 '16 17:06 Kaden14

close out OpenBazaar and run OpenBazaar.exe in %APPDATALOCAL%\OpenBazaar\app-1.1.7\

does it still say Electron?

hoffmabc avatar Jun 29 '16 17:06 hoffmabc

running this file I am going to run it...

Kaden14 avatar Jun 29 '16 17:06 Kaden14

it just popped up the command prompt page.. nothing happened.

Kaden14 avatar Jun 29 '16 17:06 Kaden14

I uninstalled it and reinstalled it and it now says OpenBazaar in the taskbar.

Kaden14 avatar Jun 29 '16 17:06 Kaden14

but still no connection

Kaden14 avatar Jun 29 '16 17:06 Kaden14

When will this issue with openbazaar be fixed? It seems as if a lot of people are having trouble

Kaden14 avatar Jul 07 '16 17:07 Kaden14

I also have such issue..

From the command line go to: %APPDATALOCAL%\OpenBazaar\app-1.1.7\resources\OpenBazaar-Server

and run openbazaard.exe

What do you get when you do that?

`C:\Users\Андрей\AppData\Local\OpenBazaar\app-1.1.7\resources\OpenBazaar-Server>openbazaard.exe start ________ [94m [0m _____ \ ______ ____ [94m _____ _____________ _____ [0m / | _ / __ \ / \[94m| | / \ ___ / \ __ _ __ \ [0m / | \ |> > /| | \ [94m| \ / __ / / / __ / __ | | /[0m _______ / / _ >**| /[94m** /( / (____ (____ /|[0m /|| / / [94m / / / / /[0m

OpenBazaar Server v0.2.1 starting... Traceback (most recent call last): File "", line 308, in File "", line 232, in init File "", line 270, in start File "", line 180, in run File "db\datastore.py", line 44, in init File "db\datastore.py", line 57, in _initialize_database File "db\datastore.py", line 118, in _create_database sqlite3.OperationalError: unable to open database file openbazaard returned -1

C:\Users\Андрей\AppData\Local\OpenBazaar\app-1.1.7\resources\OpenBazaar-Server>`

I have the latest OpenBazaar-1.1.7_Setup_x64.exe and Windows 10

AndreyAtGitHub avatar Aug 29 '16 08:08 AndreyAtGitHub

Okay. So, this is what i did and it worked; however, you might have a different issue, but it is worth the work.

Uninstall OpenBazaar -

then go to: file explorer > view (it should be on the top by home, share, etc] > select 'show hidden files'; then go to : C:/users/[your user]/appData/local find open bazaar folder and delete it. Then reinstall.

This should work, at least it did with me.

Kaden14 avatar Aug 29 '16 15:08 Kaden14

You might also want to go to to: C:/users/[your user]/appData/roaming and delete OB folder there.

Kaden14 avatar Aug 29 '16 15:08 Kaden14

Thank you Kaden14! But nothing help. Possibly because of Russian characters in the path. Reinstalling several times. Also tried to install with Administrator rights - this was even worse.

AndreyAtGitHub avatar Aug 29 '16 16:08 AndreyAtGitHub

Hi folks, There are new errors in new version 1.1.10. And sever does not connect anyway. `C:\Users\Андрей>C:\Users\Андрей\AppData\Local\OpenBazaar\app-1.1.10\resources\OpenBazaar-Server\openbazaard.exe Traceback (most recent call last): File "", line 11, in File "c:\users\brian\appdata\local\temp\pip-build-nvw4ux\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module File "api\ws.py", line 16, in File "c:\users\brian\appdata\local\temp\pip-build-nvw4ux\pyinstaller\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module File "config.py", line 23, in IndexError: list index out of range openbazaard returned -1

C:\Users\Андрей>`

AndreyAtGitHub avatar Jan 06 '17 19:01 AndreyAtGitHub

I can confirm that I have this issue (Connection failed to default) after installation on Win 10 x64 Pro. My username (in the OS) also has a non-ASCII character in it. Deleting AppData dirs and reinstalling did not (obviously) work. Openbazaard start output:

OpenBazaar Server 0.2.5 starting... Traceback (most recent call last): File "openbazaard.py", line 320, in File "openbazaard.py", line 243, in init File "openbazaard.py", line 282, in start File "openbazaard.py", line 186, in run File "db\datastore.py", line 44, in init File "db\datastore.py", line 57, in _initialize_database File "db\datastore.py", line 118, in _create_database sqlite3.OperationalError: unable to open database file Failed to execute script openbazaard

Is it supposed to work with non-ASCII usernames? What else can I try (I would prefer not to dig into the source right now)?

OpenBazaar 1.11

comodoro avatar Feb 20 '17 18:02 comodoro

In OB 1.1.11, you shouldn't need a username or password for the local server at all. Are you using the default connection, @comodoro ?

Try commenting out the username and password in the config file for your local server.

jjeffryes avatar Feb 21 '17 03:02 jjeffryes