OpenBazaar / OpenBazaar-Server

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

server reports "Error loading loadbitcoinaverage url <urlopen error timed out>" #533

Open bladedoyle opened 7 years ago

bladedoyle commented 7 years ago

Brief Description:

When the server starts it reports:

Error loading loadbitcoinaverage url

Operating System (OS and version): linux OpenBazaar version: master Hardware: intel

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

Steps to reproduce:

  1. run the server

Observed Behavior:

... OpenBazaar Server 0.2.6 starting... Error loading loadbitcoinaverage url <urlopen error timed out> ...

Expected Behavior:

no timeout error

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

bladedoyle commented 7 years ago

market/btcprice.py def loadbitcoinaverage(self): for currency, info in self.dictForUrl('https://api.bitcoinaverage.com/ticker/global/all').iteritems():

but, that url seems down: curl: (7) Failed to connect to api.bitcoinaverage.com port 443: Connection timed out

Ah... they changed the URL to "apiv2":

https://apiv2.bitcoinaverage.com/ticker/global/all