Hi, I am trying to run python cartridge agent in openstack with Stratos. Agent is not able to connect to MB and fails with following error. I have attached agent.screen.log and agent.conf here. I can telnet to ip address and port in the agent.conf.
Any idea why this is happening ? *2015-04-29 06:12:58,251:INFO:Cartridge agent topology receiver thread started* *Exception in thread Thread-8:* *Traceback (most recent call last):* * File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner* * self.run()* * File "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/subscriber/eventsubscriber.py", line 46, in run* * self.__mb_client = mqtt.Client()* * File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 410, in __init__* * self._sockpairR, self._sockpairW = _socketpair_compat()* * File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line 255, in _socketpair_compat* * listensock.bind(("localhost", 0))* * File "/usr/lib/python2.7/socket.py", line 224, in meth* * return getattr(self._sock,name)(*args)* *gaierror: [Errno -2] Name or service not known* -- *Thanks and Regards,* Anuruddha Lanka Liyanarachchi Software Engineer - WSO2 Mobile : +94 (0) 712762611 Tel : +94 112 145 345 a <thili...@wso2.com>nurudd...@wso2.com
agent.conf
Description: Binary data
agent.screen.log
Description: Binary data
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev