OpenBazaar / openbazaar-go

OpenBazaar 2.0 Server Daemon in Go
MIT License
994 stars 284 forks source link

Error pushing data to peer QmPPg2qeF3n2KvTRXRZLaTwHCw8JxzF4uZK93RfMoDvf2o: failed to find any peer in tabl #862

Open ghost opened 6 years ago

ghost commented 6 years ago

Brief Description: Can't connect to peers Operating System: Ubuntu 16.04 OpenBazaar version: client 2.1.0, server 0.11.0 Hardware: Laptop Reproducible: Always

Steps to reproduce:

  1. Open terminal
  2. type in openbazaar2
  3. press enter

Observed Behavior: First issue, the tab ob://connected-peers shows 0 peers. Second issue, when navigating to a random shop e.g., ob://QmV2xo6De168QB9nkrYYuj6FVJeeczz9KEn1M2YTARLoNb/store/testing-search-albatros, the page is stuck indefinitely in loading state Third issue, after creating a listing I get a message in the bottom of the window publishing failed

Expected Behavior: Everything should be working

Additional info (links, images, etc go here): My PC is behind a NAT device (WIFI router)

Any advice?

cpacia commented 6 years ago

This sounds like a network connectivity issue. Do you have problems with any other apps that use the internet or just OB?

Error pushing data to peer QmPPg2qeF3n2KvTRXRZLaTwHCw8JxzF4uZK93RfMoD

We do see this one sometimes as I think the node isn't fully bootstrapped on startup for some reason. Though it doesn't really affect anything. The attempted data push is really just for redundancy.

Second issue, when navigating to a random shop e.g., ob://QmV2xo6De168QB9nkrYYuj6FVJeeczz9KEn1M2YTARLoNb/store/testing-search-albatros, the page is stuck indefinitely in loading state

This can happen if the peer has not been online for > one week and his data has dropped out of the DHT. Unfortunately the mapping between peers does not persist forever and we're currently exploring ways to improve this that doesn't open us up to a DoS.