Skip to content

[node-xmpp-bosh] no XHR info. #21

Open
@ghost

Description

Hi

I'm trying to make it work but i can't.
I can connect my account with pidgin with my bosh server.

I configured converse but nothing happen with roundcube 0.9.5.It ask me to connect myself but when i click on log in it reload the page.

I don't have any XHR return.
There is my config :

$rcmail_config['converse_xmpp_bosh_prebind_url']= function($args) {
        return 'http://mail.myserver.com:5280/http-bind';
        # return sprintf('http://%s/http-bind', $_SERVER['HTTP_HOST']);
        # return sprintf('http://%s/http-bind', $args['host']);
};

// Hostname of BOSH endpoint, used by web browsers (called by Javascript code),
// this can be a relative URL
$rcmail_config['converse_xmpp_bosh_url']= function($args) {
        return 'http://mail.myserver.com:5280/http-bind';
};

// Hostname portion of XMPP username (bare JID), example: "example.net"
$rcmail_config['converse_xmpp_hostname']= function($args) {
        return 'mail.myserver.com';
        # return preg_replace('/^.*@/', '', $args['user']);
        # return $args['host'];
};

// Username portion of XMPP username (bare JID), example: "user"
// if this contains @, this will only take the part before @,
// and the part after @ will replace the hostname definition above.
$rcmail_config['converse_xmpp_username']= function($args) {
        return $args['user'];
        # return preg_replace('/@.*$/', '', $args['user']);
};

// XMPP password
$rcmail_config['converse_xmpp_password']= function($args) {
        return $args['pass'];
};

Any ideas ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions