Skip to content
This repository was archived by the owner on Jun 30, 2022. It is now read-only.
This repository was archived by the owner on Jun 30, 2022. It is now read-only.

Disconnecting from HipChat #34

Open
@MattMencel

Description

@MattMencel

My Lita bot disconnects from HipChat fairly regularly. The debug looks like this for each of the rooms when the disconnect happens.

D, [2015-12-19T11:35:29.418177 #48133] DEBUG -- : SENDING:
    <presence to='[email protected]/Lita Bot' type='unavailable' xmlns='jabber:client'/>
W, [2015-12-19T11:35:29.418357 #48133]  WARN -- : EXCEPTION:
    IOError
    closed stream
    /opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/openssl/buffering.rb:326:in `syswrite'
    /opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/openssl/buffering.rb:326:in `do_write'
    /opt/rbenv/versions/2.1.5/lib/ruby/2.1.0/openssl/buffering.rb:391:in `<<'
    /opt/lita/vendor/ruby/2.1.0/gems/xmpp4r-0.5.6/lib/xmpp4r/stream.rb:346:in `block in send_data'
    /opt/lita/vendor/ruby/2.1.0/gems/xmpp4r-0.5.6/lib/xmpp4r/stream.rb:344:in `synchronize'
    /opt/lita/vendor/ruby/2.1.0/gems/xmpp4r-0.5.6/lib/xmpp4r/stream.rb:344:in `send_data'
    /opt/lita/vendor/ruby/2.1.0/gems/xmpp4r-0.5.6/lib/xmpp4r/stream.rb:375:in `send'
    /opt/lita/vendor/ruby/2.1.0/gems/xmpp4r-0.5.6/lib/xmpp4r/muc/helper/mucclient.rb:147:in `exit'
    /opt/lita/vendor/ruby/2.1.0/gems/lita-hipchat-3.0.1/lib/lita/adapters/hipchat/connector.rb:88:in `part'
    /opt/lita/vendor/ruby/2.1.0/gems/lita-hipchat-3.0.1/lib/lita/adapters/hipchat.rb:38:in `part'
    /opt/lita/vendor/ruby/2.1.0/gems/lita-hipchat-3.0.1/lib/lita/adapters/hipchat.rb:64:in `block in shut_down'
    /opt/lita/vendor/ruby/2.1.0/gems/lita-hipchat-3.0.1/lib/lita/adapters/hipchat.rb:64:in `each'
    /opt/lita/vendor/ruby/2.1.0/gems/lita-hipchat-3.0.1/lib/lita/adapters/hipchat.rb:64:in `shut_down'
    /opt/lita/vendor/ruby/2.1.0/gems/lita-4.6.1/lib/lita/robot.rb:169:in `shut_down'
    /opt/lita/vendor/ruby/2.1.0/gems/lita-hipchat-3.0.1/lib/lita/adapters/hipchat/connector.rb:121:in `block in register_exception_handler'
    /opt/lita/vendor/ruby/2.1.0/gems/xmpp4r-0.5.6/lib/xmpp4r/stream.rb:387:in `call'
    /opt/lita/vendor/ruby/2.1.0/gems/xmpp4r-0.5.6/lib/xmpp4r/stream.rb:387:in `block in send'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions