[sip-comm-dev] XMPP connect fails as of build 3216


#1

Connect to XMPP server fails as of build 3216. Of my three Jabber accounts - only the Facebook still works - but this one doesn't have TLS encrytiopn configured. The two other ones fail to connect with a dialog "connection failed" and the following log:

java.net.SocketException: Socket closed
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220)
    at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:290)
    at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:294)
    at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140)
    at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
    at java.io.BufferedWriter.flush(BufferedWriter.java:253)
    at org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:208)
    at org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:40)
    at org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:76)
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:837)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1158)
    at warning: The VAD has been replaced by a hack pending a complete rewrite
java.net.SocketException: Socket closed
    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220)
    at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:290)
    at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:294)
    at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140)
    at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229)
    at java.io.BufferedWriter.flush(BufferedWriter.java:253)
    at org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:208)
    at org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:40)
    at org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:76)
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:837)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1158)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1185)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1169)
    at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:860)
    at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:267)
    at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
    at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
    at sun.security.ssl.InputRecord.read(InputRecord.java:352)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818)
    ... 7 more
18:38:04.678 SCHWERWIEGEND: impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectionClosedOnError().1424 connectionClosedOnError Remote host closed connection during handshake
java.lang.IllegalStateException: Not connected to server.
    at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)
    at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)
    at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:352)
    at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)
    at net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)
18:38:28.168 SCHWERWIEGEND: impl.gui.main.login.LoginManager.run().412 Failed to register protocol provider.
java.lang.IllegalStateException: Not connected to server.
    at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)
    at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)
    at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:362)
    at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)
    at net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)
ollen
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1185)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1169)
    at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:860)
    at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:267)
    at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
    at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
Caused by: java.io.EOFException: SSL peer shut down incorrectly
    at sun.security.ssl.InputRecord.read(InputRecord.java:352)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818)
    ... 7 more
18:38:04.678 SCHWERWIEGEND: impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectionClosedOnError().1424 connectionClosedOnError Remote host closed connection during handshake
java.lang.IllegalStateException: Not connected to server.
    at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)
    at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)
    at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:352)
    at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)
    at net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)
18:38:28.168 SCHWERWIEGEND: impl.gui.main.login.LoginManager.run().412 Failed to register protocol provider.
java.lang.IllegalStateException: Not connected to server.
    at org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)
    at org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)
    at org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:362)
    at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)
    at net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)
    at net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)
ollen

It worked before - no changes made to the configuration. Servers available with other clients.

What's wrong?

Conrad

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Hey Conrad,

На 10.01.11 19:25, conrad_videokonferenz@gmx.de написа:

Connect to XMPP server fails as of build 3216. Of my three Jabber
accounts - only the Facebook still works - but this one doesn't have
TLS encrytiopn configured. The two other ones fail to connect with a
dialog "connection failed" and the following log:

Can't seem to reproduce this and successfully log to jabber.org, a local
openfire install and google apps. Could it be a server issue?

Emil

java.net.SocketException: Socket closed at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at
sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220) at
sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:290) at
sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:294) at
sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140) at
java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229) at
java.io.BufferedWriter.flush(BufferedWriter.java:253) at
org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:208)

at org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:40)

at org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:76)
javax.net.ssl.SSLHandshakeException: Remote host closed connection
during handshake at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:837) at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1158)

at warning: The VAD has been replaced by a hack pending a complete rewrite

java.net.SocketException: Socket closed at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at
sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220) at
sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:290) at
sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:294) at
sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140) at
java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229) at
java.io.BufferedWriter.flush(BufferedWriter.java:253) at
org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:208)

at org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:40)

at org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:76)
javax.net.ssl.SSLHandshakeException: Remote host closed connection
during handshake at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:837) at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1158)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1185)

at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1169)

at
org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:860)

at
org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:267)

at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)

at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
Caused by: java.io.EOFException: SSL peer shut down incorrectly at
sun.security.ssl.InputRecord.read(InputRecord.java:352) at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) ...
7 more 18:38:04.678 SCHWERWIEGEND:
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectionClosedOnError().1424
connectionClosedOnError Remote host closed connection during
handshake java.lang.IllegalStateException: Not connected to server.
at
org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)

at
org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)

at
org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:352)

at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)

at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)

18:38:28.168 SCHWERWIEGEND:
impl.gui.main.login.LoginManager.run().412 Failed to register
protocol provider. java.lang.IllegalStateException: Not connected to
server. at
org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)

at
org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)

at
org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:362)

at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)

at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)

ollen
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1185)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1169)

at
org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:860)

at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:267)

at
org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
Caused by: java.io.EOFException: SSL peer shut down incorrectly at
sun.security.ssl.InputRecord.read(InputRecord.java:352) at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) ...
7 more 18:38:04.678 SCHWERWIEGEND:
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectionClosedOnError().1424
connectionClosedOnError Remote host closed connection during
handshake java.lang.IllegalStateException: Not connected to server.
at
org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)

at
org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)

at
org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:352)

at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)

at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)

18:38:28.168 SCHWERWIEGEND:
impl.gui.main.login.LoginManager.run().412 Failed to register
protocol provider. java.lang.IllegalStateException: Not connected to
server. at
org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)

at
org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)

at
org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:362)

at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)

at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)

ollen

It worked before - no changes made to the configuration. Servers
available with other clients.

What's wrong?

Conrad

---------------------------------------------------------------------

To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net

···

For additional commands, e-mail:
dev-help@sip-communicator.dev.java.net

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#3

Hi Emil,

Could it be a server issue?

well: it worked before with the same server setup - and Empathy connects immediately to the same servers. So I suspect something in SC. Does SC use any components which Empathy doesn't? The SSL is the suspect as that strange Facebook xmpp works. It could be a certifcate issue too.

Greetings
Conrad

-------- Original-Nachricht --------

···

Datum: Mon, 10 Jan 2011 19:47:21 +0100
Von: Emil Ivov <emcho@sip-communicator.org>
An: dev@sip-communicator.dev.java.net
CC: conrad_videokonferenz@gmx.de
Betreff: Re: [sip-comm-dev] XMPP connect fails as of build 3216

Hey Conrad,

На 10.01.11 19:25, conrad_videokonferenz@gmx.de написа:
> Connect to XMPP server fails as of build 3216. Of my three Jabber
> accounts - only the Facebook still works - but this one doesn't have
> TLS encrytiopn configured. The two other ones fail to connect with a
> dialog "connection failed" and the following log:

Can't seem to reproduce this and successfully log to jabber.org, a local
openfire install and google apps. Could it be a server issue?

Emil

>
> java.net.SocketException: Socket closed at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
> at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at
> sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220) at
> sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:290) at
> sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:294) at
> sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140) at
> java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229) at
> java.io.BufferedWriter.flush(BufferedWriter.java:253) at
> org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:208)
>
>
at org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:40)
> at org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:76)
> javax.net.ssl.SSLHandshakeException: Remote host closed connection
> during handshake at
> sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:837) at
>
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1158)
>
>
at warning: The VAD has been replaced by a hack pending a complete rewrite
> java.net.SocketException: Socket closed at
> java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
> at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at
> sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220) at
> sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:290) at
> sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:294) at
> sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140) at
> java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229) at
> java.io.BufferedWriter.flush(BufferedWriter.java:253) at
> org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:208)
>
>
at org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:40)
> at org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:76)
> javax.net.ssl.SSLHandshakeException: Remote host closed connection
> during handshake at
> sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:837) at
>
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1158)
>
>
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1185)
> at
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1169)
>
>
at
org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:860)
> at
> org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:267)
>
>
at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
> at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
> Caused by: java.io.EOFException: SSL peer shut down incorrectly at
> sun.security.ssl.InputRecord.read(InputRecord.java:352) at
> sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) ...
> 7 more 18:38:04.678 SCHWERWIEGEND:
>
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectionClosedOnError().1424
> connectionClosedOnError Remote host closed connection during
> handshake java.lang.IllegalStateException: Not connected to server.
> at
>
org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)
>
>
at
org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)
> at
>
org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:352)
>
>
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)
> at
>
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)
>
>
at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)
> at
>
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)
>
>
at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)
> 18:38:28.168 SCHWERWIEGEND:
> impl.gui.main.login.LoginManager.run().412 Failed to register
> protocol provider. java.lang.IllegalStateException: Not connected to
> server. at
>
org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)
>
>
at
org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)
> at
>
org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:362)
>
>
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)
> at
>
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)
>
>
at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)
> at
>
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)
>
>
at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)
> ollen
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1185)
>
>
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1169)
> at
>
org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:860)
>
>
at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:267)
> at
> org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
> at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
> Caused by: java.io.EOFException: SSL peer shut down incorrectly at
> sun.security.ssl.InputRecord.read(InputRecord.java:352) at
> sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) ...
> 7 more 18:38:04.678 SCHWERWIEGEND:
>
impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectionClosedOnError().1424
> connectionClosedOnError Remote host closed connection during
> handshake java.lang.IllegalStateException: Not connected to server.
> at
>
org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)
>
>
at
org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)
> at
>
org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:352)
>
>
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)
> at
>
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)
>
>
at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)
> at
>
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)
>
>
at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)
> 18:38:28.168 SCHWERWIEGEND:
> impl.gui.main.login.LoginManager.run().412 Failed to register
> protocol provider. java.lang.IllegalStateException: Not connected to
> server. at
>
org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)
>
>
at
org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)
> at
>
org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:362)
>
>
at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)
> at
>
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)
>
>
at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)
> at
>
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)
>
>
at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)
> ollen
>
> It worked before - no changes made to the configuration. Servers
> available with other clients.
>
> What's wrong?
>
> Conrad
>
> ---------------------------------------------------------------------
>
>
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
> For additional commands, e-mail:
> dev-help@sip-communicator.dev.java.net
>
>

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#4

Strange. Could you please send some logs over?

На 10.01.11 20:42, Conrad Beckert написа:

···

Hi Emil,

Could it be a server issue?

well: it worked before with the same server setup - and Empathy connects immediately to the same servers. So I suspect something in SC. Does SC use any components which Empathy doesn't? The SSL is the suspect as that strange Facebook xmpp works. It could be a certifcate issue too.

Greetings
Conrad

-------- Original-Nachricht --------

Datum: Mon, 10 Jan 2011 19:47:21 +0100
Von: Emil Ivov <emcho@sip-communicator.org>
An: dev@sip-communicator.dev.java.net
CC: conrad_videokonferenz@gmx.de
Betreff: Re: [sip-comm-dev] XMPP connect fails as of build 3216

Hey Conrad,

На 10.01.11 19:25, conrad_videokonferenz@gmx.de написа:

Connect to XMPP server fails as of build 3216. Of my three Jabber
accounts - only the Facebook still works - but this one doesn't have
TLS encrytiopn configured. The two other ones fail to connect with a
dialog "connection failed" and the following log:

Can't seem to reproduce this and successfully log to jabber.org, a local
openfire install and google apps. Could it be a server issue?

Emil

java.net.SocketException: Socket closed at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at
sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220) at
sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:290) at
sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:294) at
sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140) at
java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229) at
java.io.BufferedWriter.flush(BufferedWriter.java:253) at
org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:208)

at org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:40)

at org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:76)
javax.net.ssl.SSLHandshakeException: Remote host closed connection
during handshake at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:837) at

sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1158)

at warning: The VAD has been replaced by a hack pending a complete rewrite

java.net.SocketException: Socket closed at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:116)
at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at
sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:220) at
sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:290) at
sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:294) at
sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:140) at
java.io.OutputStreamWriter.flush(OutputStreamWriter.java:229) at
java.io.BufferedWriter.flush(BufferedWriter.java:253) at
org.jivesoftware.smack.PacketWriter.writePackets(PacketWriter.java:208)

at org.jivesoftware.smack.PacketWriter.access$000(PacketWriter.java:40)

at org.jivesoftware.smack.PacketWriter$1.run(PacketWriter.java:76)
javax.net.ssl.SSLHandshakeException: Remote host closed connection
during handshake at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:837) at

sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1158)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1185)

at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1169)

at
org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:860)

at
org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:267)

at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)

at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
Caused by: java.io.EOFException: SSL peer shut down incorrectly at
sun.security.ssl.InputRecord.read(InputRecord.java:352) at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) ...
7 more 18:38:04.678 SCHWERWIEGEND:

impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectionClosedOnError().1424

connectionClosedOnError Remote host closed connection during
handshake java.lang.IllegalStateException: Not connected to server.
at

org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)

at
org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)

at

org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:352)

at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)

at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)

18:38:28.168 SCHWERWIEGEND:
impl.gui.main.login.LoginManager.run().412 Failed to register
protocol provider. java.lang.IllegalStateException: Not connected to
server. at

org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)

at
org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)

at

org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:362)

at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)

at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)

ollen
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1185)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1169)

at

org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:860)

at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:267)

at
org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:43)
at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:70)
Caused by: java.io.EOFException: SSL peer shut down incorrectly at
sun.security.ssl.InputRecord.read(InputRecord.java:352) at
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:818) ...
7 more 18:38:04.678 SCHWERWIEGEND:

impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectionClosedOnError().1424

connectionClosedOnError Remote host closed connection during
handshake java.lang.IllegalStateException: Not connected to server.
at

org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)

at
org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)

at

org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:352)

at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)

at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)

18:38:28.168 SCHWERWIEGEND:
impl.gui.main.login.LoginManager.run().412 Failed to register
protocol provider. java.lang.IllegalStateException: Not connected to
server. at

org.jivesoftware.smack.XMPPConnection.sendPacket(XMPPConnection.java:491)

at
org.jivesoftware.smack.NonSASLAuthentication.authenticate(NonSASLAuthentication.java:69)

at

org.jivesoftware.smack.SASLAuthentication.authenticate(SASLAuthentication.java:362)

at org.jivesoftware.smack.XMPPConnection.login(XMPPConnection.java:246)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:812)

at
net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.connectAndLogin(ProtocolProviderServiceJabberImpl.java:635)

at

net.java.sip.communicator.impl.protocol.jabber.ProtocolProviderServiceJabberImpl.register(ProtocolProviderServiceJabberImpl.java:318)

at
net.java.sip.communicator.impl.gui.main.login.LoginManager$RegisterProvider.run(LoginManager.java:404)

ollen

It worked before - no changes made to the configuration. Servers
available with other clients.

What's wrong?

Conrad

---------------------------------------------------------------------

To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net

For additional commands, e-mail:
dev-help@sip-communicator.dev.java.net

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net