Can't connect to gtalk with python and xmpppy

2019-08-03 11:24发布

When try connect to gtalk I get this error:

An error occurred while looking up _xmpp-client._tcp.talk.google.com

The code is here: https://gist.github.com/1396074

1条回答
干净又极端
2楼-- · 2019-08-03 11:40

Do not pass the (incorrect) server name into cl.connect() on line 11. The SRV lookup will go to _xmpp-client._tcp.gmail.com then (taken from the JID), which should work. Passing in a server is only used for incorrectly configured XMPP servers.

查看更多
登录 后发表回答