No I was not able to use MXIT transport at all. what would be the example configuration for non SASL authentication,, right now i can use my openfire server with spark .
On Aug 17, 9:12 am, Brandon Dixon <[email protected]> wrote: > Looking at the error it looks like it is not a SASL issue, but more of a bad > namespace somewhere in your configuration. Are you able to connect and use > the Jabber server without SASL (standard authentication)? > > On Mon, Aug 17, 2009 at 12:00 AM, daljeet <[email protected]>wrote: > > > > > > > What should be my SASL username ? > > !-- SASL username used to bind to Jabber server. --> > > <!-- secret, above, is used for sasl password --> > > <saslUsername>username-for-jabberd2-connection</saslUsername> > > > <!-- Allow users to register with this transport --> > > <allowRegister/> > > > this was my error . > > Traceback (most recent call last): > > File "C:\Users\Daljeet\mxit\mxit.py", line 1001, in <module> > > if not transport.xmpp_connect(): > > File "C:\Users\Daljeet\mxit\mxit.py", line 919, in xmpp_connect > > connected = self.jabber.connect((config.mainServer,config.port)) > > File "C:\Python26\Lib\site-packages\xmpp\client.py", line 284, in > > connect > > CommonClient.connect(self,server=server,proxy=proxy) > > File "C:\Python26\Lib\site-packages\xmpp\client.py", line 184, in > > connect > > if not self.Process(1): return > > File "C:\Python26\Lib\site-packages\xmpp\dispatcher.py", line 303, > > in dispatch > > handler['func'](session,stanza) > > File "C:\Python26\Lib\site-packages\xmpp\dispatcher.py", line 215, > > in streamErrorHandler > > raise exc((name,text)) > > BadNamespacePrefix: (u'bad-namespace-prefix', '') > > > Please help , thank you in advance . > > > On Aug 17, 12:30 am, Brandon A Dixon <[email protected]> > > wrote: > > > I have always used localhost in testing and it works fine. Openfire > > > tells you your server name too so you should be able to go there. > > > > Brandon Dixon > > > G2 - ISSEwww.dueyesterday.net > > > > On Aug 16, 2009, at 3:13 PM, Norman Rasmussen <[email protected]> > > > wrote: > > > > > If I remember correctly mainServerJID isn't critical to get > > > > perfectly right. You should be able to use localhost without a > > > > problem. > > > > > On Sun, Aug 16, 2009 at 6:37 PM, daljeet > > > > <[email protected]> wrote: > > > > > I am running openfire server . > > > > Can anyone tell me how to get JID of my main jabber server. > > > > how to get SASL username for my openfire server running on my local > > > > host. > > > > Here is my config.xml that i am trying to use. > > > > > <!-- The JID of the main Jabber server --> > > > > <mainServerJID>localhost</mainServerJID> <!- please hlp me with > > > > this -> > > > > > -- > > > > - Norman Rasmussen > > > > - Email: [email protected] > > > > - Home page:http://norman.rasmussen.co.za/ > > -- > Brandon Dixon - CCNA, OSCP, WebSphere DataPower Solution Developer > Information Systems Security Engineerwww.dueyesterday.net- Documentation for > the masses --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "py-transports" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/py-transports?hl=en -~----------~----~----~----~------~----~------~--~---
