xively issues
17 November, 2014 - 22:04
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
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
#