Menu ▾ ▴

#1391 org.teiid.jdbc.TeiidSQLException: TEIID20020 **Error establishing socket to host and port: 168.128.30.240:443. **Reason: Unsupported version: 47

SQuirreL
open
nobody
None
high
2019-04-11
2019-04-11
jagpublic
No

Hi,

I am using Eclipse to connect to a TEIID_VDB hosted outside of my network. I am able to connect to the VDB using the DriverManager.getConnection(url, "userid", "password") method when I am not using VPN. The moment I connect from office network/VPN, I get the below error messga

%% Cached client session: [Session-1, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA]
main, READ: TLSv1 Application Data, length = 32
main, READ: TLSv1 Application Data, length = 144
main, called close()
main, called closeInternal(true)
main, SEND TLSv1 ALERT: warning, description = close_notify
main, WRITE: TLSv1 Alert, length = 32
main, called closeSocket(true)
main, called close()
main, called closeInternal(true)
main, called close()
main, called closeInternal(true)
main, called close()
main, called closeInternal(true)
main, called close()
main, called closeInternal(true)

Caused by: org.teiid.jdbc.TeiidSQLException: TEIID20020 Error establishing socket to host and port: 168.128.30.240:443. Reason: Unsupported version: 47
at org.teiid.jdbc.TeiidSQLException.create(TeiidSQLException.java:131)

at org.teiid.net.socket.SocketServerConnection.selectServerInstance(SocketServerConnection.java:162)
at org.teiid.net.socket.SocketServerConnection.<init>(SocketServerConnection.java:92)
at org.teiid.net.socket.SocketServerConnectionFactory.getConnection(SocketServerConnectionFactory.java:302)
at org.teiid.jdbc.SocketProfile.connect(SocketProfile.java:60)
... 5 more
**Caused by: java.io.StreamCorruptedException: Unsupported version: 47
at org.teiid.netty.handler.codec.serialization.CompactObjectInputStream.readStreamHeader(CompactObjectInputStream.java:57) **</init>

Here is my SQuirrel Client Execution Environment Information:
JAVA Version :jdk1.8.0_162 (64 Bit)
jdbc:teiid:TEIID_VDB@mms://168.128.30.240:443
SSL Mode: Enabled for anonymous access

teiid-client-settings.properties file
org.teiid.ssl.trustAll=true
org.teiid.ssl.allowAnon=true
org.teiid.ssl.protocol=TLSv1
org.teiid.ssl.keyStoreType=JKS
org.teiid.sockets.maxObjectSize=1213486160
org.teiid.sockets.soTimeout=120000
org.teiid.sockets.synchronousttl=240000
org.teiid.sockets.conserveBandwidth=false

Thanks,
Jag

Discussion


Log in to post a comment.