DEBUG Event triggered: socket_error
ERROR Could not connect to ***.***.**.**:5222. Socket Error #10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
try:
xmpp = Billbot(IMUSER, IPASS, emailhash)
print(IMUSER, IPASS, emailhash)
if xmpp.connect(address=(IHOST, IPORT)):
xmpp.send_presence(pstatus="Welcome to IRBOT", pshow='chat')
print("xmpp start")
xmpp.process(block=True)
xmpp.process(timeout=0.1)
print("Done")
else:
print("unable to connected")
except (KeyboardInterrupt, SystemExit):
xmpp.disconnect()
print("Done")
******************************************
class Billbot(ClientXMPP):
def __init__(self, jid, password, dfh):
ClientXMPP.__init__(self,jid,password)
Not able to understand why socket error is getting thrown