OpenBazaar / OpenBazaar-Server

(Deprecated) OpenBazaar 1.0 Server daemon for communication with OpenBazaar-Client
MIT License
608 stars 173 forks source link

Client don't connect to local server #401

Open Bezpol opened 8 years ago

Bezpol commented 8 years ago

Brief Description: Client don't connect with local server ( default ).

Operating System (OS and version): Ubuntu 14.04 (64 bit) OpenBazaar version: 1.1.5 Hardware:

Reproducible (Always / Almost Always / Sometimes / Rarely / Couldn't Reproduce): Always

Steps to reproduce:

  1. Open client
  2. Connect with default
  3. No connection ( Connection failed to default— too many failed authentication attempts )

Observed Behavior: [STR] stdout "2016-05-13 09:48:46+0200 [HeartbeatProtocol (WebSocketProtocol),44,127.0.0.1] Closing connection: 'No reason given' (1000) " [STR] stdout "2016-05-13 09:48:46+0200 [HeartbeatProtocol (WebSocketProtocol),45,127.0.0.1] Starting RFC 6455 conversation

Expected Behavior:

Additional info (links, images, etc go here):

PanosChtz commented 8 years ago

Same here. First time installing on windows x64. After installation I get "Connection failed to default" message. Tried reinstalling, didn't work. Tried manually starting server, but:

C:\Users\user\AppData\Local\OpenBazaar\app-1.1.5\resources\OpenBazaar-Server>openbazaard start
________                      __________
\_____  \ ______   ____   ____\______   \_____  _____________  _____ _______
 /   |   \\____ \_/ __ \ /    \|    |  _/\__  \ \___   /\__  \ \__  \\_  __ \
/    |    \  |_> >  ___/|   |  \    |   \ / __ \_/    /  / __ \_/ __ \|  | \/
\_______  /   __/ \___  >___|  /______  /(____  /_____ \(____  (____  /__|
        \/|__|        \/     \/       \/      \/      \/     \/     \/

OpenBazaar Server v0.1 starting...
Traceback (most recent call last):
  File "<string>", line 308, in <module>
  File "<string>", line 232, in __init__
  File "<string>", line 270, in start
  File "<string>", line 194, in run
  File "site-packages\twisted\internet\posixbase.py", line 478, in listenTCP
  File "site-packages\twisted\internet\tcp.py", line 984, in startListening
twisted.internet.error.CannotListenError: Couldn't listen on 127.0.0.1:18470: [Errno 10048] ╠ⁿΊΎ Ή▀ά ≈±▐≤ύ Ϊύ≥ ϊώί²ϋΫΊ≤ύ≥ ΫΏΎϊΎ≈▐≥ (Ώ±∙ΪⁿΆΎΈΈΎ/ϊ▀ΆΪΫΎ ϊώί²ϋΫΊ≤ύ/ϋ²±ά).
openbazaard returned -1
Bezpol commented 8 years ago

restart computer. Old Server still give port. I have this connection problem only with openbazaar installed by installer from website. When I use github files and instalation procedures all works fine.

rmisio commented 8 years ago

@Bezpol If you had been using the installer installed app and switching between connecting to the bundled server and a stand-alone github server, it's possible your installer is trying to connect to its bundled server with the credentials of your stand-alone server.

Anyhow, it does look like the credentials to your bundled server are not correct. To fix that you have a couple options.

1.) The easiest is to wipe your db (delete the OB-*.db files in ~/.openbazaar). Be warned that this will wipe all your data, so only do this option if you're OK with starting fresh.

2.) Set the credentials in the config file. Find ob.cfg in your installer installed app directory and set the USERNAME & PASSWORD lines (be sure to remove the leading #). Then back in the app, in the 'Your Server Configurations' screen, create a New configuration with the credentials you set.

rmisio commented 8 years ago

@bomberb17 hmmm... not sure why you're not able to connect on a fresh install. Connecting to the manual server seems to be failing because your installer installed server is running on the same port.

Can you post your debug log from the installer installed app?

image

Also, can you post anything of note from the JS console?

image

image

PanosChtz commented 8 years ago

Here's debug log

________                      __________
\_____  \ ______   ____   ____\______   \_____  _____________  _____ _______
 /   |   \\____ \_/ __ \ /    \|    |  _/\__  \ \___   /\__  \ \__  \\_  __ \ 
/    |    \  |_> >  ___/|   |  \    |   \ / __ \_/    /  / __ \_/ __ \|  | \/
\_______  /   __/ \___  >___|  /______  /(____  /_____ \(____  (____  /__|
        \/|__|        \/     \/       \/      \/      \/     \/     \/

OpenBazaar Server v0.1 starting...
Exception : No UPnP device discovered
2016-05-13 21:09:05+0300 [OpenBazaard] [INFO] Finding NAT Type...
2016-05-13 21:09:13+0300 [OpenBazaard] [INFO] Restric NAT on 46.177.143.248:38515
2016-05-13 21:09:13+0300 [Server] [WARNING] no known neighbors, so not writing to cache.
2016-05-13 21:09:13+0300 [-] OpenBazaarProtocol starting on 38515
2016-05-13 21:09:13+0300 [-] Starting protocol <net.wireprotocol.OpenBazaarProtocol object at 0x000000000534D278>
2016-05-13 21:09:13+0300 [-] WSFactory (AuthenticatedWebSocketFactory) starting on 18466
2016-05-13 21:09:13+0300 [-] Starting factory <api.ws.WSFactory instance at 0x00000000053FC808>
2016-05-13 21:09:13+0300 [-] Starting factory <api.ws.AuthenticatedWebSocketFactory instance at 0x00000000053FC948>
2016-05-13 21:09:13+0300 [-] RestAPI starting on 18469
2016-05-13 21:09:13+0300 [-] Starting factory <api.restapi.RestAPI instance at 0x00000000053FC708>
2016-05-13 21:09:13+0300 [OpenBazaard] [INFO] startup took 17.35 seconds
2016-05-13 21:09:13+0300 [HeartbeatProtocol (WebSocketProtocol),0,127.0.0.1] Starting RFC 6455 conversation
2016-05-13 21:09:14+0300 [HeartbeatProtocol (WebSocketProtocol),0,127.0.0.1] Closing connection: 'Invalid reserved bit' (1002)
2016-05-13 21:09:14+0300 [Server] [INFO] bootstrapping with 20 addresses, finding neighbors...
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'198.27.81.64', 11002) (msgid NmT887xs8gnNKhB9ytytPqiqzeY=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'75.156.3.43', 32309) (msgid j24Pyzi24UJrtczW9GHpPDpuBaw=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'68.96.235.162', 37362) (msgid Kv2ODFbGaF/8je24YqAazme8S5U=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'198.27.81.64', 11042) (msgid Ga+4vwC82HJqDNBNEFLwP4CCs1I=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'85.171.205.17', 18467) (msgid Cus14EGWwZu0pk5YLdAjV0ENCok=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'162.243.139.104', 18467) (msgid I+mcuqX6264+mIOKcDPUdoQs080=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'37.120.161.145', 18467) (msgid bIqD+sjqvI1JHGsLJ8c16U+FQFQ=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'24.56.200.221', 18467) (msgid 1E1FZEmZQTB8VSwo1hkmV4FjsQI=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'108.61.184.194', 18467) (msgid hhXC3H5XOvItBKKNsYK5ZhF0Xro=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'76.74.170.17', 18467) (msgid ZMaBwqotRMbyaihDZmfjTDHZ4Lw=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'77.167.220.170', 35182) (msgid gFdzaGMHTHao4RbwHzqb+Bbo3dM=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'78.193.96.155', 32480) (msgid ZWsXwmWtQW8TCWTV9iXidoAcofI=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'45.55.137.42', 18467) (msgid OmoBWnez0ALgPlH/ThOKqiIce0U=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'95.183.52.159', 18467) (msgid 7V3InrkNdSmP2z04W4lwn6lV994=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'71.19.155.44', 18467) (msgid 5WJ1VqjSCsPVFZBunedhhoTy8Fw=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'104.220.69.185', 37049) (msgid ZBzmbOh/j+yRTH+fEwRystamymo=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'149.56.89.140', 19067) (msgid wz/cq5grf1B/fwYi4dVDseoR9Vg=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'91.41.211.228', 38237) (msgid KUYVobb5u3bY+IpHrVi7jDhtyTs=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'205.250.203.205', 37313) (msgid +ShicUkouXeugE+v4WfzGnu3BPc=)
2016-05-13 21:09:14+0300 [KademliaProtocol] [DEBUG] calling remote function ping on (u'94.23.252.118', 18467) (msgid 7CP17N2sWeX38l8GYZDupJTt3yY=)
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 198.27.81.64:11002
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 198.27.81.64:11042
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 85.171.205.17:18467
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 37.120.161.145:18467
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id bIqD+sjqvI1JHGsLJ8c16U+FQFQ= from 37.120.161.145:18467
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 78.193.96.155:32480
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 95.183.52.159:18467
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 45.55.137.42:18467
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id Cus14EGWwZu0pk5YLdAjV0ENCok= from 85.171.205.17:18467
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 91.41.211.228:38237
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 94.23.252.118:18467
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id 7CP17N2sWeX38l8GYZDupJTt3yY= from 94.23.252.118:18467
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id 7V3InrkNdSmP2z04W4lwn6lV994= from 95.183.52.159:18467
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id KUYVobb5u3bY+IpHrVi7jDhtyTs= from 91.41.211.228:38237
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 75.156.3.43:32309
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 68.96.235.162:37362
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 162.243.139.104:18467
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 24.56.200.221:18467
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 71.19.155.44:18467
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 149.56.89.140:19067
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 205.250.203.205:37313
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id ZWsXwmWtQW8TCWTV9iXidoAcofI= from 78.193.96.155:32480
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id NmT887xs8gnNKhB9ytytPqiqzeY= from 198.27.81.64:11002
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id Ga+4vwC82HJqDNBNEFLwP4CCs1I= from 198.27.81.64:11042
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id OmoBWnez0ALgPlH/ThOKqiIce0U= from 45.55.137.42:18467
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id wz/cq5grf1B/fwYi4dVDseoR9Vg= from 149.56.89.140:19067
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id j24Pyzi24UJrtczW9GHpPDpuBaw= from 75.156.3.43:32309
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id 5WJ1VqjSCsPVFZBunedhhoTy8Fw= from 71.19.155.44:18467
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id Kv2ODFbGaF/8je24YqAazme8S5U= from 68.96.235.162:37362
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 108.61.184.194:18467
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 104.220.69.185:37049
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id I+mcuqX6264+mIOKcDPUdoQs080= from 162.243.139.104:18467
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id 1E1FZEmZQTB8VSwo1hkmV4FjsQI= from 24.56.200.221:18467
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id +ShicUkouXeugE+v4WfzGnu3BPc= from 205.250.203.205:37313
2016-05-13 21:09:15+0300 [ConnHandler] [INFO] connected to 76.74.170.17:18467
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id ZBzmbOh/j+yRTH+fEwRystamymo= from 104.220.69.185:37049
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id ZMaBwqotRMbyaihDZmfjTDHZ4Lw= from 76.74.170.17:18467
2016-05-13 21:09:15+0300 [KademliaProtocol] [DEBUG] received response for message id hhXC3H5XOvItBKKNsYK5ZhF0Xro= from 108.61.184.194:18467
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] received request from 78.193.96.155:32480, command INV
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] found a new node, transferring key/values
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] sending response for msg id eIHVIzzXK7SArOFfk9tTvdquy3g= to 78.193.96.155:32480
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] received request from 198.27.81.64:11002, command INV
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] found a new node, transferring key/values
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] sending response for msg id 0G9JHTjhnPty0B/T6AKvfLvr48w= to 198.27.81.64:11002
2016-05-13 21:09:16+0300 [-] [INFO] Libbitcoin server online at tcp://libbitcoin1.openbazaar.org:9091
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] received request from 78.193.96.155:32480, command VALUES
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] sending response for msg id 9aTljzupfsIopC2f0JyKVS3tA2k= to 78.193.96.155:32480
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] received request from 91.41.211.228:38237, command INV
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] found a new node, transferring key/values
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] sending response for msg id wXMR8auBbP/ayUDchdrLjgLjbkI= to 91.41.211.228:38237
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] received request from 45.55.137.42:18467, command INV
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] found a new node, transferring key/values
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] sending response for msg id AIFo8ZR+10Cistx5xlLcPP/IHGg= to 45.55.137.42:18467
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] received request from 205.250.203.205:37313, command INV
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] found a new node, transferring key/values
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] sending response for msg id ks0oHWjmpknugiBFtS1JIIUtyzg= to 205.250.203.205:37313
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] received request from 104.220.69.185:37049, command INV
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] found a new node, transferring key/values
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] sending response for msg id dO9jz2oBbzHZEisDE15z0plEqLw= to 104.220.69.185:37049
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] received request from 91.41.211.228:38237, command VALUES
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] sending response for msg id DbbN0HgOKvDrSrrACxKu7jsTyHc= to 91.41.211.228:38237
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] received request from 24.56.200.221:18467, command INV
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] found a new node, transferring key/values
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] sending response for msg id 0g/D6sjwO3p8ywCacVDbJ9pFyHg= to 24.56.200.221:18467
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] received request from 198.27.81.64:11002, command VALUES
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] sending response for msg id z9GywUtYvvi/EGLNV6xjEmkgI5I= to 198.27.81.64:11002
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] received request from 162.243.139.104:18467, command INV
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] found a new node, transferring key/values
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] sending response for msg id QuIVolYaqLbz+GTzephynuLTynw= to 162.243.139.104:18467
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] received request from 75.156.3.43:32309, command INV
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] found a new node, transferring key/values
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] sending response for msg id PjHR5gAJxVYzRYTCULGnTkrI95w= to 75.156.3.43:32309
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] received request from 71.19.155.44:18467, command INV
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] found a new node, transferring key/values
2016-05-13 21:09:16+0300 [KademliaProtocol] [DEBUG] sending response for msg id ut/i3p1E4+c1k+aHFG5fKGQ0ppY= to 71.19.155.44:18467
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] received request from 45.55.137.42:18467, command VALUES
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] sending response for msg id kmMAPc9fJd048XJodiaU/zoxedQ= to 45.55.137.42:18467
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] received request from 149.56.89.140:19067, command INV
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] found a new node, transferring key/values
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] sending response for msg id 2eZ1OHH/vK7Hs+0GexrwFiHGhk8= to 149.56.89.140:19067
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] received request from 205.250.203.205:37313, command VALUES
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] sending response for msg id xm90rBG9yx/3iJZO+7TG/24lJU4= to 205.250.203.205:37313
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] received request from 24.56.200.221:18467, command VALUES
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] sending response for msg id /3haAsYazFppmxGQ2YENYkHF6Mc= to 24.56.200.221:18467
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] received request from 104.220.69.185:37049, command VALUES
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] sending response for msg id 1A9rHRCtlI1nMRK5jxZoOoxvwQY= to 104.220.69.185:37049
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] received request from 75.156.3.43:32309, command VALUES
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] sending response for msg id mMsJVc8Bj0yRoQqn9syet/OCkhw= to 75.156.3.43:32309
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] received request from 162.243.139.104:18467, command VALUES
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] sending response for msg id WNUYt2YWrAzqL7o0yNR64w2khlE= to 162.243.139.104:18467
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] received request from 71.19.155.44:18467, command VALUES
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] sending response for msg id k5/55JmXhvdx2UuShuTWGlycAkQ= to 71.19.155.44:18467
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] received request from 149.56.89.140:19067, command VALUES
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] sending response for msg id 1HxeAqQxtP8R7vmK0UXc/5AXvss= to 149.56.89.140:19067
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] received request from 68.96.235.162:37362, command INV
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] found a new node, transferring key/values
2016-05-13 21:09:17+0300 [KademliaProtocol] [DEBUG] sending response for msg id /OB+e9Fhz6fUVFA6JNHz96Zw0uE= to 68.96.235.162:37362
2016-05-13 21:09:19+0300 [OpenBazaard] [INFO] bootstrap complete
2016-05-13 21:09:19+0300 [ValueSpiderCrawl] [DEBUG] creating spider with peers: [[1221607386694267767252831786222736133174848076285L, u'37.120.161.145', 18467], [1221536664735370184579932666570377998854816405734L, u'24.56.200.221', 18467], [1214435335727348596800990992918396361848534840184L, u'108.61.184.194', 18467], [1199255866210212538642474867219918129631624470719L, u'162.243.139.104', 18467], [1270743867440443265689016803244468119999732868577L, u'198.27.81.64', 11042], [1271875496533317724552750396774582718294899258525L, u'85.171.205.17', 18467], [1128785260543813711552749294016674084028815184533L, u'76.74.170.17', 18467], [860098912394685401903562187274197188367307664648L, u'198.27.81.64', 11002], [754817292749719435979319588128261632143081288519L, u'75.156.3.43', 32309], [759162740471833359496376867236976586413834676588L, u'68.96.235.162', 37362], [38363101261168527547524529182800150531195915529L, u'94.23.252.118', 18467], [9298904809211521172276833531117290475371678720L, u'104.220.69.185', 37049], [22620138499980249373938352890798914181100745943L, u'149.56.89.140', 19067], [11679678215379598102338379630555219038474015135L, u'91.41.211.228', 38237], [13951001999122508471867261424060811954923748132L, u'205.250.203.205', 37313], [70435585831421595536146523415109402113500685314L, u'45.55.137.42', 18467], [73681901152661122491035124560572744928661320668L, u'95.183.52.159', 18467], [83232195070740883560095665507535716829641636628L, u'71.19.155.44', 18467], [60272155607152579968446134222207403561105751843L, u'78.193.96.155', 32480]]
2016-05-13 21:09:19+0300 [ValueSpiderCrawl] [DEBUG] crawling with nearest: ([1221607386694267767252831786222736133174848076285L, u'37.120.161.145', 18467], [1221536664735370184579932666570377998854816405734L, u'24.56.200.221', 18467], [1214435335727348596800990992918396361848534840184L, u'108.61.184.194', 18467], [1199255866210212538642474867219918129631624470719L, u'162.243.139.104', 18467], [1270743867440443265689016803244468119999732868577L, u'198.27.81.64', 11042], [1271875496533317724552750396774582718294899258525L, u'85.171.205.17', 18467], [1128785260543813711552749294016674084028815184533L, u'76.74.170.17', 18467], [860098912394685401903562187274197188367307664648L, u'198.27.81.64', 11002], [754817292749719435979319588128261632143081288519L, u'75.156.3.43', 32309], [759162740471833359496376867236976586413834676588L, u'68.96.235.162', 37362], [38363101261168527547524529182800150531195915529L, u'94.23.252.118', 18467], [9298904809211521172276833531117290475371678720L, u'104.220.69.185', 37049], [22620138499980249373938352890798914181100745943L, u'149.56.89.140', 19067], [11679678215379598102338379630555219038474015135L, u'91.41.211.228', 38237], [13951001999122508471867261424060811954923748132L, u'205.250.203.205', 37313], [70435585831421595536146523415109402113500685314L, u'45.55.137.42', 18467], [73681901152661122491035124560572744928661320668L, u'95.183.52.159', 18467], [83232195070740883560095665507535716829641636628L, u'71.19.155.44', 18467], [60272155607152579968446134222207403561105751843L, u'78.193.96.155', 32480])
2016-05-13 21:09:19+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'37.120.161.145', 18467) (msgid BWa3GW/FaTvDGr/iDhd3OCNrKsE=)
2016-05-13 21:09:19+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'24.56.200.221', 18467) (msgid hokQbP1wvtM9WKAUzps1kGh2sNY=)
2016-05-13 21:09:19+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'108.61.184.194', 18467) (msgid 706xcEhjID/1RcmDIYFsL6nUlDQ=)
2016-05-13 21:09:19+0300 [KademliaProtocol] [DEBUG] received response for message id BWa3GW/FaTvDGr/iDhd3OCNrKsE= from 37.120.161.145:18467
2016-05-13 21:09:19+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:20+0300 [KademliaProtocol] [DEBUG] received response for message id hokQbP1wvtM9WKAUzps1kGh2sNY= from 24.56.200.221:18467
2016-05-13 21:09:20+0300 [KademliaProtocol] [DEBUG] received response for message id 706xcEhjID/1RcmDIYFsL6nUlDQ= from 108.61.184.194:18467
2016-05-13 21:09:20+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:20+0300 [ValueSpiderCrawl] [DEBUG] crawling with nearest: ([1216438230954300954691379042251608816776158511911L, u'14.202.120.178', 31397], [1219876325053384583504756081400341691326026391212L, u'76.175.101.95', 37727], [1221607386694267767252831786222736133174848076285L, u'37.120.161.145', 18467], [1221536664735370184579932666570377998854816405734L, u'24.56.200.221', 18467], [1221091594140416741942432313808395664248220010210L, u'46.101.128.77', 18467], [1214435335727348596800990992918396361848534840184L, u'108.61.184.194', 18467], [1214038259622836685845716244676430642531066445591L, u'198.27.81.64', 11007], [1199255866210212538642474867219918129631624470719L, u'162.243.139.104', 18467], [1261933540057858105438016322320262224777669704053L, u'198.27.81.70', 11000], [1257620971432196165825074610529699472849657799604L, u'167.114.226.60', 18467], [1260255423184352622591737023906155900847329306211L, u'188.120.235.237', 18467], [1270743867440443265689016803244468119999732868577L, u'198.27.81.64', 11042], [1271875496533317724552750396774582718294899258525L, u'85.171.205.17', 18467], [1128785260543813711552749294016674084028815184533L, u'76.74.170.17', 18467], [1119621643916310770039143950299168771132835467657L, u'5.13.198.110', 39313], [1120962178628585063558607700998933695341024445225L, u'104.236.110.140', 18467], [1141190583311615696122426340723884548513445633759L, u'79.131.212.89', 35175], [1133610237718051753020926991283153304970543606022L, u'74.101.145.74', 64848], [1102581948878025117702908476158374241365638220299L, u'167.114.236.90', 18467], [1107780220856961707230092473813960170396010545394L, u'131.191.69.164', 36291])
2016-05-13 21:09:20+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'14.202.120.178', 31397) (msgid zUSHG2tGbcwND1drUTawjaL2ILM=)
2016-05-13 21:09:20+0300 [KademliaProtocol] [DEBUG] sending hole punch message to 14.202.120.178:31397
2016-05-13 21:09:20+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'76.175.101.95', 37727) (msgid QeCOhmvx/I0spxgmwWlVGV630B4=)
2016-05-13 21:09:20+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'46.101.128.77', 18467) (msgid IUVIjoxy7qD1a14NCYBupOB8VZc=)
2016-05-13 21:09:20+0300 [ConnHandler] [INFO] connected to 46.101.128.77:18467
2016-05-13 21:09:20+0300 [KademliaProtocol] [DEBUG] received response for message id IUVIjoxy7qD1a14NCYBupOB8VZc= from 46.101.128.77:18467
2016-05-13 21:09:20+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:20+0300 [ConnHandler] [INFO] connected to 108.2.129.164:38362
2016-05-13 21:09:21+0300 [ConnHandler] [INFO] connected to 76.175.101.95:37727
2016-05-13 21:09:21+0300 [KademliaProtocol] [DEBUG] received response for message id QeCOhmvx/I0spxgmwWlVGV630B4= from 76.175.101.95:37727
2016-05-13 21:09:21+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:24+0300 [ConnHandler] [INFO] connected to 14.202.120.178:31397
2016-05-13 21:09:24+0300 [KademliaProtocol] [DEBUG] received response for message id zUSHG2tGbcwND1drUTawjaL2ILM= from 14.202.120.178:31397
2016-05-13 21:09:24+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:24+0300 [ValueSpiderCrawl] [DEBUG] crawling with nearest: ([1216438230954300954691379042251608816776158511911L, u'14.202.120.178', 31397], [1219876325053384583504756081400341691326026391212L, u'76.175.101.95', 37727], [1221607386694267767252831786222736133174848076285L, u'37.120.161.145', 18467], [1221536664735370184579932666570377998854816405734L, u'24.56.200.221', 18467], [1221091594140416741942432313808395664248220010210L, u'46.101.128.77', 18467], [1214435335727348596800990992918396361848534840184L, u'108.61.184.194', 18467], [1214038259622836685845716244676430642531066445591L, u'198.27.81.64', 11007], [1232039467601030217467144694530057405311850372091L, u'149.56.89.140', 19867], [1198441143764193357685064837764730589880504470126L, u'75.69.202.109', 30748], [1205590420622285787738980100536662220311033362712L, u'62.103.29.140', 33044], [1199255866210212538642474867219918129631624470719L, u'162.243.139.104', 18467], [1261933540057858105438016322320262224777669704053L, u'198.27.81.70', 11000], [1257620971432196165825074610529699472849657799604L, u'167.114.226.60', 18467], [1260255423184352622591737023906155900847329306211L, u'188.120.235.237', 18467], [1260637024082995467822082103573523284742544813665L, u'107.142.8.22', 35611], [1270743867440443265689016803244468119999732868577L, u'198.27.81.64', 11042], [1271875496533317724552750396774582718294899258525L, u'85.171.205.17', 18467], [1252455393835305427985907172960035370114910407449L, u'89.173.204.237', 36439], [1246538592348008044537398510530887706760667022104L, u'95.31.16.38', 31354], [1249299618901145192017397244227804541510275781481L, u'95.183.53.195', 31007])
2016-05-13 21:09:24+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'198.27.81.64', 11007) (msgid Gnc3PHH0+B7aRCYFWKvVJXTl15I=)
2016-05-13 21:09:24+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'149.56.89.140', 19867) (msgid q7rr9ikbI0IvOXNpIvNU8Fb1PPM=)
2016-05-13 21:09:24+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'75.69.202.109', 30748) (msgid /3Nvn8fGgBx/qbd0xKVrJ3fs44o=)
2016-05-13 21:09:24+0300 [ConnHandler] [INFO] connected to 198.27.81.64:11007
2016-05-13 21:09:24+0300 [ConnHandler] [INFO] connected to 149.56.89.140:19867
2016-05-13 21:09:24+0300 [ConnHandler] [INFO] connected to 75.69.202.109:30748
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] received response for message id Gnc3PHH0+B7aRCYFWKvVJXTl15I= from 198.27.81.64:11007
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] received response for message id q7rr9ikbI0IvOXNpIvNU8Fb1PPM= from 149.56.89.140:19867
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] received response for message id /3Nvn8fGgBx/qbd0xKVrJ3fs44o= from 75.69.202.109:30748
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:25+0300 [ValueSpiderCrawl] [DEBUG] crawling with nearest: ([1216438230954300954691379042251608816776158511911L, u'14.202.120.178', 31397], [1219876325053384583504756081400341691326026391212L, u'76.175.101.95', 37727], [1221607386694267767252831786222736133174848076285L, u'37.120.161.145', 18467], [1221536664735370184579932666570377998854816405734L, u'24.56.200.221', 18467], [1221091594140416741942432313808395664248220010210L, u'46.101.128.77', 18467], [1214435335727348596800990992918396361848534840184L, u'108.61.184.194', 18467], [1214038259622836685845716244676430642531066445591L, u'198.27.81.64', 11007], [1232039467601030217467144694530057405311850372091L, u'149.56.89.140', 19867], [1198441143764193357685064837764730589880504470126L, u'75.69.202.109', 30748], [1205590420622285787738980100536662220311033362712L, u'62.103.29.140', 33044], [1199255866210212538642474867219918129631624470719L, u'162.243.139.104', 18467], [1261933540057858105438016322320262224777669704053L, u'198.27.81.70', 11000], [1257620971432196165825074610529699472849657799604L, u'167.114.226.60', 18467], [1260255423184352622591737023906155900847329306211L, u'188.120.235.237', 18467], [1260637024082995467822082103573523284742544813665L, u'107.142.8.22', 35611], [1270743867440443265689016803244468119999732868577L, u'198.27.81.64', 11042], [1271875496533317724552750396774582718294899258525L, u'85.171.205.17', 18467], [1252455393835305427985907172960035370114910407449L, u'89.173.204.237', 36439], [1246538592348008044537398510530887706760667022104L, u'95.31.16.38', 31354], [1249299618901145192017397244227804541510275781481L, u'95.183.53.195', 31007])
2016-05-13 21:09:25+0300 [ValueSpiderCrawl] [DEBUG] last iteration same as current - checking all in list now
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'62.103.29.140', 33044) (msgid OcQZT0FX+8o17WSrYiBsMTRmhJg=)
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] sending hole punch message to 62.103.29.140:33044
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'162.243.139.104', 18467) (msgid QFsUSg/fvq2ngIZg+YUbmrUgma4=)
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'198.27.81.70', 11000) (msgid CeyatgjRbZS314NEv2Og/z9sbWY=)
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'167.114.226.60', 18467) (msgid ox+Ho9TN+PRTmrqQLs+uhMM+F+I=)
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'188.120.235.237', 18467) (msgid hq/aSnV2gni8dYERBhozvLeyGWQ=)
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'107.142.8.22', 35611) (msgid /BDIwRW3ftpBhsNJRuaLpANe1EE=)
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] sending hole punch message to 107.142.8.22:35611
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'198.27.81.64', 11042) (msgid 3UxY28DlLkGpyjCcIr3i84Us3i8=)
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'85.171.205.17', 18467) (msgid Rga0jC6Sar75jXatgh2aK++5NrA=)
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'89.173.204.237', 36439) (msgid DKRCJBXxukVJh+K+hb090FH+QgU=)
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'95.31.16.38', 31354) (msgid wICUQcmtp85L0dfIjuGY3jk+n24=)
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] calling remote function find_value on (u'95.183.53.195', 31007) (msgid OV1IZhk7YPUnCXENbfJT58VCbTM=)
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] received response for message id Rga0jC6Sar75jXatgh2aK++5NrA= from 85.171.205.17:18467
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] received response for message id 3UxY28DlLkGpyjCcIr3i84Us3i8= from 198.27.81.64:11042
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:25+0300 [ConnHandler] [INFO] connected to 89.163.132.73:18467
2016-05-13 21:09:25+0300 [ConnHandler] [INFO] connected to 198.27.81.70:11000
2016-05-13 21:09:25+0300 [ConnHandler] [INFO] connected to 167.114.226.60:18467
2016-05-13 21:09:25+0300 [ConnHandler] [INFO] connected to 188.120.235.237:18467
2016-05-13 21:09:25+0300 [ConnHandler] [INFO] connected to 89.173.204.237:36439
2016-05-13 21:09:25+0300 [ConnHandler] [INFO] connected to 95.31.16.38:31354
2016-05-13 21:09:25+0300 [ConnHandler] [INFO] connected to 95.183.53.195:31007
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] received response for message id ox+Ho9TN+PRTmrqQLs+uhMM+F+I= from 167.114.226.60:18467
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] received response for message id OV1IZhk7YPUnCXENbfJT58VCbTM= from 95.183.53.195:31007
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] received response for message id QFsUSg/fvq2ngIZg+YUbmrUgma4= from 162.243.139.104:18467
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] received response for message id hq/aSnV2gni8dYERBhozvLeyGWQ= from 188.120.235.237:18467
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] received response for message id wICUQcmtp85L0dfIjuGY3jk+n24= from 95.31.16.38:31354
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] received response for message id DKRCJBXxukVJh+K+hb090FH+QgU= from 89.173.204.237:36439
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] received response for message id CeyatgjRbZS314NEv2Og/z9sbWY= from 198.27.81.70:11000
2016-05-13 21:09:25+0300 [KademliaProtocol] [DEBUG] call response from new node, transferring key/values
Bezpol commented 8 years ago

@misio I discribe my problem with connection. I had verison 1.1.4 was working perfect ( without any password in ob.cfg and without any github file - I simple installed from website ). After upgrade to version 1.1.5 ( installer from website ) I start the first time upgraded version and this works perfect. I look at ob.cfg and have idea to start work with password. After that I cant connect to server so I return to old version of ob.cfg and # password and user. After this operetion I can't connect any more to server from client. So the solution was install server and client from github and this works fine.

HappyHead commented 8 years ago

I have 1.1.7, also a fresh install, and havnt been able to resolve the issue. I cant connect with the default server.

The dev tools say this on the console page: C:\Users[Username]\AppData\Local\OpenBazaar\app-1.1.7\resources\app.asar\js\utils\Socket.js:30 WebSocket connection to 'ws://localhost:18470/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED

The path listed above is highlighted as a link, clicking on it, im shown this: (function (exports, require, module, filename, dirname, process, global) { 'use strict';

var __ = require('underscore'), Backbone = require('backbone');

function Socket(url) { if (!url) { throw new Error('Please provide an url.'); }

__.extend(this, Backbone.Events);

this.url = url; this.connect(); }

Socket.prototype.connect = function(url) { var self = this;

this.url = url || this.url;

if (this._socket) { this._socket.onopen = null; this._socket.onclose = null; this._socket.onerror = null; this._socket.onmessage = null; this._socket.close(); }

this._socket = new WebSocket(this.url); this._proxyEvent('onopen'); this._proxyEvent('onclose'); this._proxyEvent('onerror');

this._socket.onmessage = function() { var args = Array.apply(null, arguments);

if (args[0] && args[0].data) {
  args[0].jsonData = JSON.parse(args[0].data);
}

self.trigger.apply(self, ['message'].concat(Array.apply(null, args)));

}; };

Socket.prototype._proxyEvent = function(event) { var self = this;

this._socket[event] = function() { self.trigger.apply(self, [event.slice(2)].concat(Array.apply(null, arguments))); }; };

Socket.prototype.close = function() { this._socket.close.apply(this._socket, arguments); };

Socket.prototype.send = function() { this._socket.send.apply(this._socket, arguments); };

Socket.prototype.getReadyState = function() { return this._socket.readyState; };

module.exports = Socket; });

I also cant seem to figure out how to get the debug mode up (maybe it changed with the new update? a little help?