Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Prakhar1
Creator III
Creator III

tS3Connection Error

Hi I am facing below error in tS3Connection, anyone know how to resolve this: 

 

Starting job AWS_test at 13:44 23/04/2020.

[statistics] connecting to socket on port 3871
[statistics] connected
[FATAL]: aws_test_0_1.AWS_test - tS3Connection_1 Unable to execute HTTP request: Connection reset
com.amazonaws.AmazonClientException: Unable to execute HTTP request: Connection reset
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:642)
at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:400)
at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:362)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:311)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3673)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3626)
at com.amazonaws.services.s3.AmazonS3Client.getBucketLoggingConfiguration(AmazonS3Client.java:2306)
at com.amazonaws.services.s3.AmazonS3Client.getBucketLoggingConfiguration(AmazonS3Client.java:2292)
at bi_ms_bv_ahch.aws_test_0_1.AWS_test.tS3Connection_1Process(AWS_test.java:392)
at bi_ms_bv_ahch.aws_test_0_1.AWS_test.runJobInTOS(AWS_test.java:697)
at bi_ms_bv_ahch.aws_test_0_1.AWS_test.main(AWS_test.java:517)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:543)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:409)
at com.amazonaws.http.conn.ssl.SdkTLSSocketFactory.connectSocket(SdkTLSSocketFactory.java:134)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:860)
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:631)
... 10 more
Exception in component tS3Connection_1 (AWS_test)
com.amazonaws.AmazonClientException: Unable to execute HTTP request: Connection reset
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:642)
at com.amazonaws.http.AmazonHttpClient.doExecute(AmazonHttpClient.java:400)
at com.amazonaws.http.AmazonHttpClient.executeWithTimer(AmazonHttpClient.java:362)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:311)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3673)
at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3626)
at com.amazonaws.services.s3.AmazonS3Client.getBucketLoggingConfiguration(AmazonS3Client.java:2306)
at com.amazonaws.services.s3.AmazonS3Client.getBucketLoggingConfiguration(AmazonS3Client.java:2292)
at bi_ms_bv_ahch.aws_test_0_1.AWS_test.tS3Connection_1Process(AWS_test.java:392)
at bi_ms_bv_ahch.aws_test_0_1.AWS_test.runJobInTOS(AWS_test.java:697)
at bi_ms_bv_ahch.aws_test_0_1.AWS_test.main(AWS_test.java:517)
[statistics] disconnected
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
at sun.security.ssl.InputRecord.read(InputRecord.java:503)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:543)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:409)
at com.amazonaws.http.conn.ssl.SdkTLSSocketFactory.connectSocket(SdkTLSSocketFactory.java:134)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:882)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:860)
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:631)
... 10 more
Picked up _JAVA_OPTIONS: -Djavax.net.ssl.trustStore=C:\Windows\Sun\Java\Deployment\trusted.cacerts
Job AWS_test ended at 13:45 23/04/2020. [exit code=1]

Labels (2)
6 Replies
Anonymous
Not applicable

Hi
Have you tried to use S3 client such as S3 browser to access S3? Does it work? If you need to configure proxy in your network, go to Windows -> preferences-> talend->proxy setup  and configure proxy or check if it is correct. If you still have the same error then pls check region and bucket you are connecting.

Regards
Shong

Prakhar1
Creator III
Creator III
Author

Hi @shong ,

Some strange thing happened, the above error I was getting from my citrix VDI having 6.4 Talend version, but on using the same access key in my local desktop having 7.2.1 Talend studio, it worked fine.

Is there some version issue or in my citrix VDI ?

Do you know any thing about this?

Anonymous
Not applicable

@Prakhar, I have never installed studio citrix VDI. To me, it is a network issue or something block the connectivity from citrix VDI.

Regards
Shong
Prakhar1
Creator III
Creator III
Author

okay, thankyou

MartaSnie
Contributor
Contributor

Hello @prakhar dubey​ ,

 

 

Were you able to find solution for your problem? I am facing the same one.

 

Best regards

Marta

Prakhar1
Creator III
Creator III
Author

Hi @Marta Snietura​ , sorry for very later response, I get it solved using the proxy connection and better is doing the IP whitelisting