19 Replies Last post: Jul 18, 2007 1:35 PM by jadestorm  
Click to view lioka's profile   9 posts since
Jul 17, 2007

Jul 17, 2007 2:28 PM

XMPP transport [beta3]

Hi there.
Seems ./lib/smack.jar contains some strange code, which results in fake resource cepteki.net shown
for my external (accessed by xmpp transport) roster members, simultaneously with my usual resource.
I''m using svn rev.8746.
Click to view jadestorm's profile Jiver 2,605 posts since
Aug 10, 2005
Jul 17, 2007 2:42 PM in response to: lioka
Re: XMPP transport [beta3]
What''s the significance of cepteki.net? Is that your site?
Click to view jadestorm's profile Jiver 2,605 posts since
Aug 10, 2005
Jul 17, 2007 2:58 PM in response to: lioka
Re: XMPP transport [beta3]
raise eyebrow What the..

./src/org/jivesoftware/smack/XMPPConnection.java: login(userName, passWord, "Cepteki.net");

Well thank you for pointing that out! I''ll get it fixed!
Click to view jadestorm's profile Jiver 2,605 posts since
Aug 10, 2005
Jul 17, 2007 2:59 PM in response to: jadestorm
Re: XMPP transport [beta3]
Click to view jadestorm's profile Jiver 2,605 posts since
Aug 10, 2005
Jul 17, 2007 3:08 PM in response to: lioka
Re: XMPP transport [beta3]
Oh no no it''s just a resource. It''s not a server to connect to. It''s no different than /Home or /Work or whatever other resource you might need. I think the dev just threw it in there before he could figure out how to get the real resource. =)
Click to view jadestorm's profile Jiver 2,605 posts since
Aug 10, 2005
Jul 17, 2007 3:07 PM in response to: jadestorm
Re: XMPP transport [beta3]
Tell you what, try the attached version.
Attachments:
Click to view jadestorm's profile Jiver 2,605 posts since
Aug 10, 2005
Jul 17, 2007 4:02 PM in response to: lioka
Re: XMPP transport [beta3]
chuckle I haven''t scanned any of the XMPP stuff for strings that need to be translated. =)

Well I can''t tell you why it wouldn''t be working to log in at the moment. All that''s changed is what resource would be coming up. =/ Anything in your logs?
Click to view jadestorm's profile Jiver 2,605 posts since
Aug 10, 2005
Jul 17, 2007 4:23 PM in response to: lioka
Re: XMPP transport [beta3]
Dooh! Fixed. (the password incorrect)

Do you have debug logs enabled?
Click to view jadestorm's profile Jiver 2,605 posts since
Aug 10, 2005
Jul 17, 2007 4:30 PM in response to: lioka
Re: XMPP transport [beta3]
Well... unfortunately I can verify that it -does- work for me. =/ I tested it with a new account I just created on jabber.org. Have you tried restarting your server? (if that''s possible) I wonder if it''s confused somehow.
Click to view jadestorm's profile Jiver 2,605 posts since
Aug 10, 2005
Jul 17, 2007 6:10 PM in response to: lioka
Re: XMPP transport [beta3]
Crud. =/ It''s because there''s no resource being sent. (then why the crap did it work for me? unclear. might be a different server that is tolerant of different things) Either way, I thinnk I know what to do but it is not going to be easy as it turns out. GATE-280
Click to view movieboy's profile Bronze 11 posts since
Jul 17, 2007
Jul 17, 2007 6:23 PM in response to: lioka
Re: XMPP transport [beta3]
It also appears that the port information is not being saved correctly. After changing the port and getting a "Connected" returned in the test, I get an error that shows that it is attempting to connect to the default port instead.

-Joe
Click to view jadestorm's profile Jiver 2,605 posts since
Aug 10, 2005
Jul 18, 2007 1:35 PM in response to: lioka
Re: XMPP transport [beta3]
Good god. LOL Thanks! Fixed. Also attached is a newly patched version that should behave itself a lot better. Let me know how it goes.
Attachments: