OpenBazaar / OpenBazaar-Server

(Deprecated) OpenBazaar 1.0 Server daemon for communication with OpenBazaar-Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

bladedoyle opened this issue · comments

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):

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