Six Stars

ts3put gives an error connection timeout for encryption KMS

If I use tssh component ti put file on s3 bucket with kms encryption as -sse aws:kms it works  , but when i configurd ts3put component with encrypt ticked and KMS-managed customer master key as selected and entered correct key it gives me an connection timeout error.

2 REPLIES
Moderator

Re: ts3put gives an error connection timeout for encryption KMS

Hello,

Could you please indicate on which build version you got this issue? Have you tried to check out "Die on error" option in Bascis settings of tS3Put component to see if there is any error message printed on console?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Six Stars

Re: ts3put gives an error connection timeout for encryption KMS

I am getting this issue on V 6.3.1 and yes "Die on Error" option is marked.
Getting following error
[DEBUG]: org.apache.http.impl.conn.PoolingClientConnectionManager - Connection leased: [id: 0][route: {s}->https://kms.eu-west-1.amazonaws.com][total kept alive: 0; route allocated: 1 of 50; total allocated: 1 of 50]
[DEBUG]: com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - socket.getSupportedProtocols(): [SSLv2Hello, SSLv3, TLSv1, TLSv1.1, TLSv1.2], socket.getEnabledProtocols(): [TLSv1, TLSv1.1, TLSv1.2]
[DEBUG]: com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - TLS protocol enabled for SSL handshake: [TLSv1.2, TLSv1.1, TLSv1]
[DEBUG]: org.apache.http.impl.conn.DefaultClientConnectionOperator - Connecting to kms.eu-west-1.amazonaws.com:443
[DEBUG]: com.amazonaws.http.conn.ssl.SdkTLSSocketFactory - connecting to kms.eu-west-1.amazonaws.com/54.239.32.132:443
[DEBUG]: org.apache.http.impl.conn.DefaultClientConnection - Connection org.apache.http.impl.conn.DefaultClientConnection@4dbad37 closed
[DEBUG]: org.apache.http.impl.conn.DefaultClientConnection - Connection org.apache.http.impl.conn.DefaultClientConnection@4dbad37 shut down
[DEBUG]: org.apache.http.impl.conn.DefaultClientConnection - Connection org.apache.http.impl.conn.DefaultClientConnection@4dbad37 closed
[DEBUG]: org.apache.http.impl.conn.PoolingClientConnectionManager - Connection released: [id: 0][route: {s}->https://kms.eu-west-1.amazonaws.com][total kept alive: 0; route allocated: 0 of 50; total allocated: 0 of 50]
[INFO ]: com.amazonaws.http.AmazonHttpClient - Unable to execute HTTP request: connect timed out
java.net.SocketTimeoutException: connect timed out
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSoc