srvconnector fails for xmpp-client service on OS X
|Reported by:||jack||Owned by:||ralphm|
|Cc:||jack, twonds, exarkun, ralphm||Branch:||
(diff, github, buildbot, log)
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 6 years ago by exarkun
- Cc exarkun added
- Component changed from names to words
- Owner changed from exarkun to ralphm
comment:9 in reply to: ↑ 7 Changed 3 years ago by ralphm
- Owner set to ralphm
- Status changed from new to assigned
comment:13 Changed 3 years ago by ralphm
- Keywords review added
- Owner ralphm deleted
- Status changed from assigned to new