Please - help

Hi People,

I´m new here,

I have the following problem with Transport MSN, the user can´t connect to the MSN or he connect but can´t retrieve

him contact list, is this possible.

When a make a connection test in Plugin settings, he works ok, on my server telnet messenger.hotmail.com and works ok.

A Strange behavior: if i put a wrong password of my MSN account he tell´s me with a error.

I stay connect like 10 minutes and receive a message “you disconnected from MSN”

I Even disable buddy icons and don´t now what to do;

I Release 1863 on my iptables,.

Anyone can help ME?

Hi Thales,

If you’re Brazilian then I should really be answering this in Portuguese since I’m also Brazilian (from Recife) but been living here in the UK for quite a while now…

Anyway, If you’re using the smack api then do the following to connect to the MSN server or any publicly accessible gateway via Openfire:

// assuming you already have a connection i.e. xmppConnection

Registration reg = new Registration();

reg.setType(IQ.Type.SET);
Hashtable<String, String> map = new Hashtable<String, String>();
map.put(“username”, user); // this can be the email address
map.put(“password”, password);
reg.setAttributes(map);
reg.setTo(“msn.”+ serverName); // your server domain i.e. eagle.com

// send packet to jabber server - request registration
xmppConnection.sendPacket(reg);

You can launch a packet listener just before sending the packet to the jabber server to check if you get any error messages back from the MSN server:

xmppConnection.addPacketListener(yourListener, new MessageTypeFilter(Message.Type.error)); // yourPacketListener is an implementation of the PacketListener interface.

And if they are indeed authentication error messages, then you can manually delete the transport that Openfire creates anyway:

  • xmppConnection.getRoster().removeEntry(username);*

No roster will be mounted if authentication fails, this is probably why you’re not getting any contact list back

Hope that helps

Abraco

Tulio

Olá Tulio,

Realmente eu sou do Brasil, e fico feliz de ter um contato brasileiro também.

Não sei se ficou claro para você (graças ao meu péssimo ingles) qual o meu problema?

A princípio é algo relacionado com o Proxy que usso na rede, contudo ele consegue chegar ao

MSN (já que da erro de login) porém não traz a lista de usuários e após algum tempo

apresenta o erro, “Você Foi desconectado do Serviço do MSN”

Atenciosamente,

Thales P. Horta

Desenvolvimento

Apache Tecnologia

www.apachetecnologia.com.brhttp://www.apachetecnologia.com.br

thales@apachetecnologia.com.br<mailto:thales@apachetecnologia.com.br

Ola Thales,

Vou fazer uma tentativa de resposta em portugues entao porfavor ignore qualquer erro de gramatica…

Acho que agora deu p entender melhor o voce quis dizer…recentemente tive alguns problemas com o MSN gateway mas nada parecido com o seu. A unica coisa q eu posso sujerir e p tentar connectar com o MSN server diretamente sem usar o Openfire. se o resultado falhar tambem significa q o problema nao esta no servidor jabber (Openfire) e entao talvez no seu proxy.

Mas se for bom entao nesse caso, tenta fazer um update do IM gateway plugin. Na realidade acho q esse plugin nao ta numa versao muito stable…

Em caso de authentication failure no password (Error de login ) - O servidor MSN envia a seguine menssagem p o servidor jabber:

The password you registered with is incorrect. Please re-register with the correct password.

Essa menssagem ou qquer outra da p ser capturada ousando o PacketListener.

Uma library boa p connectar com o MSN diretamente eh o JML, eh bem leve e facil de usar:

http://www.ohloh.net/projects/5689

Boa sorte

Tulio

Tulio,

Obrigado pela atenção.

Realmente está muito estranho, o Gtalk Por exemplo funciona corretamente.

Todas as Estações Windows, por enquanto, estão usando o Client MSN e funciona

perfeitamente.

Vou continuar estudando, qualquer informação que me possa ser útil, favor me informar ok?

Atenciosamente,

Thales P. Horta

Desenvolvimento

Apache Tecnologia

www.apachetecnologia.com.brhttp://www.apachetecnologia.com.br

thales@apachetecnologia.com.br<mailto:thales@apachetecnologia.com.br