xively issues

2 replies [Last post]
allanayr
Offline
Ayr, United Kingdom
Joined: 25 Sep 2011

Don't know if anyone else has had problems recently with xively postings but I've had a couple of instances recently of the xively posting just stopping.

This is the output from my xap-xively.log this evening:

# cat /var/log/xap-xively.log

Xively Connector for xAP v12
Copyright (C) DBzoo 2009-2013

[err][pachulib.c:101:resolve_host] errno 22 (Invalid argument)
[err][pachulib.c:101:resolve_host] Err!! gethostbyname
[err][pachulib.c:101:resolve_host] errno 22 (Invalid argument)
[err][pachulib#

I don't know if this is a problem with the system of with my inputs.

Any pointers would be welcome.

 

Allan

 

 

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Alan that is a DNS lookup

Alan that is a DNS lookup issue on your livebox. 

The host name being resolved here is "api.xively.com"

pachulib.h:#define HOST  "api.xively.com"
pachulib.c:     if (!resolve_host(HOST,ip))

Do this on your livebox if it does not work you have a livebox configuration problem.

# nslookup api.xively.com
Server:    192.168.1.20
Address 1: 192.168.1.20 cheese.local

Name:      api.xively.com
Address 1: 216.52.233.120
#

Your /etc/resolv.conf should point to your DNS server, nominally this is your router IP address, unless you run your own DNS (like I do).

# cat /etc/resolv.conf
search local
nameserver 192.168.1.20
#

allanayr
Offline
Ayr, United Kingdom
Joined: 25 Sep 2011
 Not really sure how to

https://api.xively.com/v2/feeds/461052594/datastreams/0.png?detailed_grid=true&width=740&height=340&duration=24hours&b=true&t=CCtemp&interval=0&limit=1000&s=1&scale=auto

 

Not really sure how to resolve this at the moment. Above is the output from my box. It stopped about 7 yesterday evening and I restarted xap-xively around 10 but it only worked for an hour or so.

 

This is the out put from the command line on the box:

# cat resolv.conf
nameserver 192.168.0.1
# nslookup api.xively.com
Server: 192.168.0.1
Address 1: 192.168.0.1

Name: api.xively.com
Address 1: 216.52.233.120

which seems to be as expected.

I'm beginning to suspect that my internet connection may be at fault. I'll keep and eye on it over the next few days.

Thanks for you pointers on this Brett.

 

 

Hardware Info