Project

General

Profile

Redmine Messenger problems

Added by Terence Mill over 13 years ago

Although the RedmineMessenger + the Patch seems to be working, i get some alarming messages in log files. Maybe thats the reason the bor is connecting and disconecting all about 15 Minutes.

Help is very welcome!

RedmineMessenger: exception catched 'Server Disconnected!' (start); trying to reconnect ...
RedmineMessenger: exception catched 'SSL_write:: bad write retry' (sending); trying to reconnect ...
RedmineMessenger: exception catched 'Broken pipe' (sending); trying to reconnect ...
RedmineMessenger: exception catched 'Server Disconnected!' (start); trying to reconnect ...
/usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/lib/redmine_messenger/messengers/xmpp4r_messenger.rb:20:in `initialize': undefined method `message' for nil:NilClass (NoMethodError)
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:150:in `call'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:150:in `parser_end'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:147:in `initialize'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:147:in `new'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:147:in `parser_end'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/streamparser.rb:60:in `parse'
    from /usr/local/lib/ruby/1.8/rexml/parsers/sax2parser.rb:142:in `call'
    from /usr/local/lib/ruby/1.8/rexml/parsers/sax2parser.rb:142:in `parse'
    from /usr/local/lib/ruby/1.8/rexml/parsers/sax2parser.rb:142:in `each'
    from /usr/local/lib/ruby/1.8/rexml/parsers/sax2parser.rb:142:in `parse'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/streamparser.rb:79:in `parse'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:75:in `start'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:72:in `initialize'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:72:in `new'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:72:in `start'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/connection.rb:119:in `start'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/client.rb:87:in `start'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/client.rb:175:in `auth_sasl'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/client.rb:112:in `auth'
    from /usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/lib/redmine_messenger/messengers/xmpp4r_messenger.rb:77:in `connect'
    from /usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/lib/redmine_messenger/messengers/xmpp4r_messenger.rb:70:in `reconnect'
    from /usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/lib/redmine_messenger/messengers/xmpp4r_messenger.rb:22:in `initialize'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:90:in `call'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:90:in `start'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:87:in `initialize'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:87:in `new'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:87:in `start'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:72:in `initialize'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:72:in `new'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/stream.rb:72:in `start'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/connection.rb:119:in `start'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/client.rb:87:in `start'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/client.rb:175:in `auth_sasl'
    from /usr/local/lib/ruby/gems/1.8/gems/xmpp4r-0.5/lib/xmpp4r/client.rb:112:in `auth'
    from /usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/lib/redmine_messenger/messengers/xmpp4r_messenger.rb:77:in `connect'
    from /usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/lib/redmine_messenger/messengers/xmpp4r_messenger.rb:17:in `initialize'
    from /usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/lib/redmine_messenger/messenger.rb:81:in `new'
    from /usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/lib/redmine_messenger/messenger.rb:81:in `create_messenger'
    from /usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/lib/redmine_messenger/messenger.rb:61:in `method_missing'
    from /usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/lib/redmine_messenger/base.rb:76:in `register_handler'
    from /usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/app/messengers/timers_messenger.rb:7
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:158:in `require'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:265:in `require_or_load'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:224:in `depend_on'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:136:in `require_dependency'
    from /usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/init.rb:23:in `evaluate_init_rb'
    from /usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/init.rb:22:in `each'
    from /usr/local/lib/redmine-trunk/vendor/plugins/redmine_messenger/init.rb:22:in `evaluate_init_rb'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:158:in `evaluate_init_rb'
    from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/core_ext/kernel/reporting.rb:11:in `silence_warnings'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:154:in `evaluate_init_rb'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin.rb:48:in `load'
    from /usr/local/lib/redmine-trunk/config/../vendor/plugins/engines/lib/engines/plugin.rb:44:in `load'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb:38:in `load_plugins'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb:37:in `each'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/plugin/loader.rb:37:in `load_plugins'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:369:in `load_plugins'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:165:in `process'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `send'
    from /usr/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/initializer.rb:113:in `run'
    from /usr/local/lib/redmine-trunk/config/environment.rb:20
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/railz/application_spawner.rb:318:in `preload_application'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/railz/application_spawner.rb:267:in `initialize_server'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/utils.rb:323:in `report_app_init_status'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/railz/application_spawner.rb:246:in `initialize_server'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/abstract_server.rb:194:in `start_synchronously'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/abstract_server.rb:163:in `start'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/railz/application_spawner.rb:222:in `start'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/abstract_server.rb:352:in `__send__'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/abstract_server.rb:352:in `main_loop'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
    from /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.14/bin/passenger-spawn-server:61

Replies (1)

RE: Redmine Messenger problems - Added by Terence Mill over 13 years ago

Terence Mill wrote:

Although the RedmineMessenger + the Patch seems to be working, i get some alarming messages in log files. Maybe thats the reason the bor is connecting and disconecting all about 15 Minutes.

Help is very welcome!

[...]

Thats my cfg and redmine is running on https.

development: &development
  type: xmpp4r
  jid: XXXXX@xxx.de
  password: xxxxxxxx
  host: xxxxxxxx
  port: 5222
  status: Free To Chat
  ssl: true
  debug: true

test:
  type: mock

production:
  <<: *development

    (1-1/1)