Hi,
My stream is having issues updating Xively and I'm hoping someone more experienced can point out a fix.
https://xively.com/feeds/30643/workbench
I'm getting:
Xively error: class requests.exceptions.ConnectionError
Xively error: class requests.exceptions.HTTPError
It does update from time to time so it's not a permissions issue as far as I can tell:
200 PUT feed 10:56:33 -0600
200 PUT feed 10:55:33 -0600
200 PUT feed 10:54:33 -0600
200 PUT feed 10:53:32 -0600
The relevant code from https://github.com/rinchen/radmon/blob/master/twitpachrad.py is:
x_api = xively.XivelyAPIClient(X_API_KEY)
x_feed = x_api.feeds.get(X_FEED_ID)
try:
x_feed.datastreams = [
xively.Datastream(id='CPM',
current_value=message[0]),
xively.Datastream(id='USV',
current_value=message[1]),
xively.Datastream(id='USVAVG',
current_value=message[2]),
xively.Datastream(id='X',
current_value=message[3]),
]
x_feed.update()
except:
print "Xively error: %s" % (sys.exc_info()[0])
Hoping that someone can spot something obvious. I'm running on the latest github code. I'm very happy to put in debugging of any sort.
Thanks!