srvconnector fails for xmpp-client service on OS X
|Reported by:||jack||Owned by:||ralphm|
|Cc:||jack, twonds, Jean-Paul Calderone, ralphm||Branch:||
branch-diff, diff-cov, branch-cov, buildbot
SRVConnector passes the name of the service to reactor.connectTCP instead of a port numbers. This causes the port to be looked up in /etc/services, which fails because OS X is still using the deprecated 'jabber-client' name instead of 'xmpp-client'.
This means that any connections to localhost done with twisted.words.protocols.jabber.client.* just fail.
Is there a clean way to fix this in Twisted? Or is my only option to create a custom XMPPConnector that just substitutes the port number?
Change History (23)
comment:4 Changed 8 years ago by
|Cc:||Jean-Paul Calderone added|
|Component:||names → words|
|Owner:||changed from Jean-Paul Calderone to ralphm|
comment:13 Changed 5 years ago by
|Status:||assigned → new|