Impossibility to connect movim with name@ipadress

Asked by Mickael

Hello.
In order to study movim system, i tried to launch movim on my own virtual server withou domain name, just IP adress.
On the front login page, the user is mickael@192.168.1.65

I'm on Movim 0.6.1

The server is ubuntu 13.04 with ejabberd and own bosh server.
I allowed connexion by disabling email format check :

/*if(filter_var($element['login'], FILTER_VALIDATE_EMAIL))
            $warning = 'invalidjid';

        $this->displayWarning($warning);*/

But can't success connecting "mecerror" because moxl connect on port 80 and not on 5222 or 5280.
The $xmle is empty and "$mec = (array)$xmle->streamfeatures->mechanisms;" too.

I added CURL "curl_setopt($ch, CURLOPT_PORT" to send on 5222 and the xml information pass into $xml['content'] :

<?xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4173862646' from='localhost' version='1.0'><stream:error><xml-not-well-formed xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error></stream:stream>

But $xmle is still empty and $mec still empty too.

Can you help me ?

Mickael

Question information

Language:
English Edit question
Status:
Solved
For:
Movim Edit question
Assignee:
No assignee Edit question
Solved by:
Mickael
Solved:
Last query:
Last reply:
Revision history for this message
Mickael (pepe308-admin-laposte) said :
#1

Ok, i passed successfully the login just by disabling email format check :
/*if(filter_var($element['login'], FILTER_VALIDATE_EMAIL))
            $warning = 'invalidjid';

        $this->displayWarning($warning);*/

My mistake : a bad Bosh server adress.
I put 192.168.1.65 and the good one is : http://192.168.1.65:5280/http-bind

Everythings working now !