Forum: Ruby on Rails XMPP4R and Openfire

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8c639c73cd3f657683b05bc2da9fc7ea?d=identicon&s=25 Juan José Vidal (Guest)
on 2009-01-26 14:01
(Received via mailing list)
My app sends IM with XMPP4R with Jabber accounts perfectly with this
code, but when I want to use an Openfire problem I get an error of
authorization

    jid = Jabber::JID.new('myuser@example.com')
    @client = Jabber::Client.new(jid)
    @client.connect
    @client.auth('xxxxxx')

The error:
/Library/Ruby/Gems/1.8/gems/xmpp4r-0.4/lib/xmpp4r/client.rb:116:in
`auth': not-authorized (Jabber::ClientAuthenticationFailure)
...

I didn't find any solution searching in Google, yet.
Where can I find a tutorial, howto????
You know what is the problem?

Thanks in advance!
This topic is locked and can not be replied to.