Jabber xmpp4r i Not Acceptable podczas logowania

Za pomocą biblioteki xmpp4r chcę stworzyć powiadamianie w serwisie jednak podczas logowania pokazuje mi się błąd: Not Acceptable. Próbowałem konto na jabber.aster.pl i chrome.pl. Jednak mogę podłączyć się do konta na jabberpl.org. Oto log z konsoli:

=> Booting Mongrel (use 'script/server webrick' to force WEBrick) => Rails application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment... 15:58:02 Debugging mode enabled. 15:58:02 RESOLVING: _xmpp-client._tcp.jabber.aster.pl (SRV) 15:58:02 CONNECTING: jabber.aster.pl:5222 15:58:02 SENDING: <stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='jabber.aster.pl' xml:lang='en' version='1.0' > 15:58:02 RECEIVED: <stream:stream from='jabber.aster.pl' xmlns:stream='http://etherx.jabber.org/streams' id='4800BFEA' version='1.0' xmlns='jabber:client'/> 15:58:03 FEATURES: waiting... 15:58:03 RECEIVED: <stream:features><register xmlns='http://jabber.org/features/iq-register'/><auth xmlns='http://jabber.org/features/iq-auth'/></stream:features> 15:58:03 FEATURES: received 15:58:03 PROCESSING: <stream:features xmlns='jabber:client'><register xmlns='http://jabber.org/features/iq-register'/><auth xmlns='http://jabber.org/features/iq-auth'/></stream:features> (REXML::Element) 15:58:03 FEATURES: waiting finished 15:58:03 SENDING: <iq type='set' id='1826' xmlns='jabber:client'><query xmlns='jabber:iq:auth'><username>dozrobienia</username><digest>2f8e9e261e3eed8dd9768819642c32f24c42b338</digest></query></iq> 15:58:03 RECEIVED: <iq type='error' id='1826'><query xmlns='jabber:iq:auth'><username>dozrobienia</username><digest sid='4800BFEA'>2f8e9e261e3eed8dd9768819642c32f24c42b338</digest></query><error code='406' type='modify'><not-acceptable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/><text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'>Not Acceptable</text></error></iq> 15:58:03 Jabber::ErrorException: not-acceptable: Not Acceptable /Users/Berus/Sites/do_zrobienia/lib/xmpp4r/stream.rb:394:in `send_with_id' /Users/Berus/Sites/do_zrobienia/lib/xmpp4r/client.rb:217:in `auth_nonsasl' /Users/Berus/Sites/do_zrobienia/lib/xmpp4r/client.rb:113:in `auth' /Users/Berus/Sites/do_zrobienia/lib/xmpp4r-simple.rb:372:in `connect!' /Users/Berus/Sites/do_zrobienia/lib/xmpp4r-simple.rb:309:in `client' /Users/Berus/Sites/do_zrobienia/lib/xmpp4r-simple.rb:318:in `send!' /Users/Berus/Sites/do_zrobienia/lib/xmpp4r-simple.rb:134:in `status' /Users/Berus/Sites/do_zrobienia/lib/xmpp4r-simple.rb:85:in `initialize' /Users/Berus/Sites/do_zrobienia/lib/bot.rb:197:in `new' /Users/Berus/Sites/do_zrobienia/lib/bot.rb:197:in `connect' /Users/Berus/Sites/do_zrobienia/config/initializers/jabber.rb:18 /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:342:in `load_application_initializers' /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:341:in `each' /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:341:in `load_application_initializers' /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:116:in `process' /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:49:in `send' /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb:49:in `run' /Users/Berus/Sites/do_zrobienia/config/environment.rb:13 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/rails.rb:155:in `rails' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:112:in `cloaker_' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:138:in `call' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:138:in `listener' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:98:in `cloaker_' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:51:in `call' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:51:in `initialize' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:83:in `new' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:83:in `run' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/command.rb:211:in `run' /usr/local/lib/ruby/gems/1.8/gems/mongrel-1.0.1/bin/mongrel_rails:243 /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:489:in `load' /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/servers/mongrel.rb:64 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in' /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require' /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' ./script/server:3 Exiting /Users/Berus/Sites/do_zrobienia/lib/xmpp4r/client.rb:117:in `auth': not-acceptable: Not Acceptable (Jabber::AuthenticationFailure) from /Users/Berus/Sites/do_zrobienia/lib/xmpp4r-simple.rb:372:in `connect!' from /Users/Berus/Sites/do_zrobienia/lib/xmpp4r-simple.rb:309:in `client' from /Users/Berus/Sites/do_zrobienia/lib/xmpp4r-simple.rb:318:in `send!' from /Users/Berus/Sites/do_zrobienia/lib/xmpp4r-simple.rb:134:in `status' from /Users/Berus/Sites/do_zrobienia/lib/xmpp4r-simple.rb:85:in `initialize' from /Users/Berus/Sites/do_zrobienia/lib/bot.rb:197:in `new' from /Users/Berus/Sites/do_zrobienia/lib/bot.rb:197:in `connect' from /Users/Berus/Sites/do_zrobienia/config/initializers/jabber.rb:18 ... 37 levels... from /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/commands/server.rb:39 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' from ./script/server:3

Może brakuje Ci jakiegoś liba do obsłużenia zaszyfrowanego hasła? A może tylko serwer odpowiedział czymś niezgodnym z RFC? Czy pewien jesteś, że wpisałeś dobre hasło? Polecam też zajrzeć na forum.jabberpl.org jest tam dział specjalnie dla bibliotek współpracujących z XMPP.

Hasło jest poprawne

Sprawdź Action Messagera. Pisali o nim ostatnio na RubyFlow. Ponoć dead simple :stuck_out_tongue:

W tym sęk że Action Messagera bazuje też na xmpp4r. I to jest chyba wina biblioteki.