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

Yet another one that can't connect but with the latest versions. Checked everything I could think of.

Open Rocks333 opened this issue 9 years ago • 14 comments

I installed it just few days ago from source so I should be with the latest version.

OpenBazaar Server is v0.1 and is hosted on ubuntu 14.04 vps.

The OpenBazaar-client say just can't connect. No error message. Hey I can't even find logs in the dir with proper reason? It runs from Debian

server firewall is disabled
checked with host provider that they do NOT block any ports
ssl is off
im starting ob-server with "python openbazaard.py start -da 0.0.0.0" to eliminate my local PC changing IP as potential reason
double checked username and pass from ob.cfg are matching and # removed
double checked ob-server is actually running on the server (with "top" command)

Since I don't know what else to check I'm posting this hoping someone will help me. I know many people had this problem with previous version but I'm with the last one.

Rocks333 avatar May 26 '16 14:05 Rocks333

Which Server Configuration are you trying to connect to? If you're setting a custom password in ob.cfg, make sure you're not using the 'default' server configuration, since it might not have the correct creds stored. Your best bet is to create a new configuration, filling in the details (including creds) to match your server.

rmisio avatar May 26 '16 17:05 rmisio

Of course I created new. I had to enter the IP of the server (it's separate) and username and password that I set in the ob.cfg

i left the default ports though

Rocks333 avatar May 30 '16 19:05 Rocks333

What else I could check as a potential reason?

Rocks333 avatar Jun 06 '16 11:06 Rocks333

I'm not really sure. If you run a basic web server on your server, are you able to connect to it?

python -m SimpleHTTPServer 8000

Then from a browser on your client machine, try accessing <your-server-ip>:8000. If you connect successfully, it should return a directory listing.

rmisio avatar Jun 06 '16 17:06 rmisio

Nope, OB is the only thing I have there. All I know is I can ssh just fine.

How come OB doesn't even give the reason for not connecting?

Is there a way to access my store from outside to see if it's even visible? Is there a way to get the guid without being able to connect to it with the client?

Rocks333 avatar Jun 07 '16 12:06 Rocks333

On the server machine can you see if the ports are listening?

netstat -an

See if the 18467 and 18466 and other OB ports are even listening.

hoffmabc avatar Jun 07 '16 12:06 hoffmabc

here it is

udp 0 0 0.0.0.0:18467 0.0.0.0:* tcp 0 0 0.0.0.0:18466 0.0.0.0:* LISTEN

Rocks333 avatar Jun 07 '16 12:06 Rocks333

If you do his what do you get?

telnet localhost 18467

hoffmabc avatar Jun 07 '16 12:06 hoffmabc

ob-server and ob-client are on different computers i ssh@ip to it since i'm on linux on both ends

ssh works just fine

it's only the ob-client that keeps haning on "connecting...." forever without saying anything

Rocks333 avatar Jun 07 '16 12:06 Rocks333

I'm saying make sure those ports are even listening on your ssh machine.

hoffmabc avatar Jun 07 '16 12:06 hoffmabc

well looks like they are: udp 0 0 0.0.0.0:18467 0.0.0.0:* tcp 0 0 0.0.0.0:18466 0.0.0.0:* LISTEN

Rocks333 avatar Jun 07 '16 16:06 Rocks333

A little more info

If the server at the VPS is stopped, it denies the connection right away and says can't connect if it's started it hangs on "connecting.." forever

so it's seeing the server somehow.....

edit: here is what netstat says tcp 476 0 VPSIP:18470 CLIENTIP:29499 ESTABLISHED tcp6 0 0 :::22 :::* LISTEN
udp 214656 0 0.0.0.0:18467 0.0.0.0:*

so they are connected but the client hangs on "connecting...."

Rocks333 avatar Jun 08 '16 08:06 Rocks333

well I'll be trying on new server then since seems like nobody has ideas what else to check :)

Rocks333 avatar Jun 10 '16 09:06 Rocks333

Ok i just changed the host and all worked right away

and the previous host was confident there are no blocked ports

go figure lol

Rocks333 avatar Jun 14 '16 15:06 Rocks333