Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P python-nbxmpp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gajim
  • python-nbxmpp
  • Issues
  • #10

Closed
Open
Created Nov 29, 2013 by fedor.brunner@fedor.brunner

BOSH connection error

bug description

The same problem as described in [https://trac.gajim.org/ticket/7567] . BOSH connection is not working.

bug analysis

This bug was caused by Changeset 65:a7f633ee2fc2

The call for NonBlockingHTTPBOSH in NonBlockingBOSH.get_new_http_socket is missing the cipher_list parameter.

fix recommendation

Add the missing parameter.

diff -r a7f633ee2fc2 nbxmpp/bosh.py

    --- a/nbxmpp/bosh.py	Sun Nov 03 17:55:20 2013 +0100
    +++ b/nbxmpp/bosh.py	Fri Nov 29 13:07:26 2013 +0000
    @@ -68,6 +68,7 @@
                 self.bosh_secure = 'true'
             else:
                 self.bosh_secure = 'false'
    +        self.cipher_list = cipher_list
             self.use_proxy_auth = bosh_dict['useauth']
             self.proxy_creds = proxy_creds
             self.wait_cb_time = None
    @@ -450,6 +451,7 @@
                     on_disconnect=self.disconnect,
                     idlequeue = self.idlequeue,
                     estabilish_tls = self.estabilish_tls,
    +                cipher_list = self.cipher_list,
                     certs = self.certs,
                     on_http_request_possible = self.on_http_request_possible,
                     http_dict = http_dict,
Assignee
Assign to
Time tracking