Having trouble setting up downloading BOG from the pilot site
Jeff_Laun
Member
I am trying to setup my downloads for BOG from the new pilot site. I am wondering if I need a new client.jks file since you moved from qa to pilot.
TIA,
Jeff Laun
My Job file:
<job url="https://pilot.admin.openccc.net:8443/ccctransferbog"; misCode="771" xmlns="http://xmlns.cccnext.org/xfer">;
<file directory="downloads" formatId="prod_main_BOG" prefix="OpenCCC_BOG" suffix=".txt"/>
</job>
My Command line:
/usr/java/jdk1.6.0_34/bin/java -jar transfer-client.jar jobs/PCC_BOG_jobfile.xml >> logs/$LOG
Download process terminated abnormally: Received fatal alert: handshake_failure
The error log: (I have highlighted where I think the connection fails.)
2015-12-03 11:45:29.089 INFO o.s.c.s.FileSystemXmlApplicationContext - Refreshing org.[email protected]596e1fb1: startup date [Thu Dec 03 11:45:29 PST 2015]; root of context hierarchy2015-12-03 11:45:29.180 INFO o.s.b.f.x.XmlBeanDefinitionReader - Loading XML bean definitions from file [/home/jelaun/CCCApply/transfer-client/conf/application-context.xml]
2015-12-03 11:45:29.335 INFO o.s.b.f.x.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [cccxfer-api-context.xml]
2015-12-03 11:45:29.527 INFO o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from URL [file:conf/ccctransfer.properties]
2015-12-03 11:45:29.544 INFO o.s.b.f.s.DefaultListableBeanFactory - Pre-instantiating singletons in org.s[email protected]33589e56: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,jobRunner,jobDefService,formatDefService,transferClient,org.cccnext.xfer.api.FieldInfoConfiguration#0,mutableAppTypeContext,fieldInfoService,xferXML,stringTypeInfo,dateTypeInfo,booleanTypeInfo,intTypeInfo,longTypeInfo,applyFields,bogFields,intlFields]; root of factory hierarchy
2015-12-03 11:45:29.695 ERROR o.c.x.a.service.FieldInfoService - Download field response is invalid.
2015-12-03 11:45:29.768 INFO o.c.xfer.client.tool.JobRunner - ** Starting download of submitted applications from server https://pilot.admin.openccc.net:8443/ccctransferbog, jobfile jobs/PCC_BOG_jobfile.xml
2015-12-03 11:45:29.770 DEBUG o.c.xfer.client.tool.JobRunner - Starting download session with server
2015-12-03 11:45:29.774 DEBUG o.c.x.client.HttpsTransferClient - sending start request https://pilot.admin.openccc.net:8443/ccctransferbog/start
2015-12-03 11:45:29.802 DEBUG o.c.x.client.HttpsClientFactory - Loading keystore from conf/client.jks
2015-12-03 11:45:30.638 ERROR o.c.x.client.HttpsTransferClient - Caught IOException while trying to connect to server. Error: Received fatal alert: handshake_failure
2015-12-03 11:45:30.648 ERROR o.c.xfer.client.tool.JobRunner - Received fatal alert: handshake_failure
org.cccnext.xfer.client.TransferClientException: Received fatal alert: handshake_failure
at org.cccnext.xfer.client.HttpsTransferClient.startSession(HttpsTransferClient.java:88) ~[transfer-client.jar:na]
at org.cccnext.xfer.client.tool.JobRunner.process(JobRunner.java:71) ~[transfer-client.jar:na]
at org.cccnext.xfer.client.tool.JobRunnerMain.main(JobRunnerMain.java:75) [transfer-client.jar:na]
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1839) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1019) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1203) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1230) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1214) ~[na:1.6]
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:533) ~[transfer-client.jar:na]
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:401) ~[transfer-client.jar:na]
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177) ~[transfer-client.jar:na]
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) ~[transfer-client.jar:na]
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) ~[transfer-client.jar:na]
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) ~[transfer-client.jar:na]
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) ~[transfer-client.jar:na]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) ~[transfer-client.jar:na]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) ~[transfer-client.jar:na]
at org.cccnext.xfer.client.HttpsTransferClient.startSession(HttpsTransferClient.java:68) ~[transfer-client.jar:na]
... 2 common frames omitted
TIA,
Jeff Laun
My Job file:
<job url="https://pilot.admin.openccc.net:8443/ccctransferbog"; misCode="771" xmlns="http://xmlns.cccnext.org/xfer">;
<file directory="downloads" formatId="prod_main_BOG" prefix="OpenCCC_BOG" suffix=".txt"/>
</job>
My Command line:
/usr/java/jdk1.6.0_34/bin/java -jar transfer-client.jar jobs/PCC_BOG_jobfile.xml >> logs/$LOG
Download process terminated abnormally: Received fatal alert: handshake_failure
The error log: (I have highlighted where I think the connection fails.)
2015-12-03 11:45:29.089 INFO o.s.c.s.FileSystemXmlApplicationContext - Refreshing org.[email protected]596e1fb1: startup date [Thu Dec 03 11:45:29 PST 2015]; root of context hierarchy2015-12-03 11:45:29.180 INFO o.s.b.f.x.XmlBeanDefinitionReader - Loading XML bean definitions from file [/home/jelaun/CCCApply/transfer-client/conf/application-context.xml]
2015-12-03 11:45:29.335 INFO o.s.b.f.x.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [cccxfer-api-context.xml]
2015-12-03 11:45:29.527 INFO o.s.b.f.c.PropertyPlaceholderConfigurer - Loading properties file from URL [file:conf/ccctransfer.properties]
2015-12-03 11:45:29.544 INFO o.s.b.f.s.DefaultListableBeanFactory - Pre-instantiating singletons in org.s[email protected]33589e56: defining beans [org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,jobRunner,jobDefService,formatDefService,transferClient,org.cccnext.xfer.api.FieldInfoConfiguration#0,mutableAppTypeContext,fieldInfoService,xferXML,stringTypeInfo,dateTypeInfo,booleanTypeInfo,intTypeInfo,longTypeInfo,applyFields,bogFields,intlFields]; root of factory hierarchy
2015-12-03 11:45:29.695 ERROR o.c.x.a.service.FieldInfoService - Download field response is invalid.
2015-12-03 11:45:29.768 INFO o.c.xfer.client.tool.JobRunner - ** Starting download of submitted applications from server https://pilot.admin.openccc.net:8443/ccctransferbog, jobfile jobs/PCC_BOG_jobfile.xml
2015-12-03 11:45:29.770 DEBUG o.c.xfer.client.tool.JobRunner - Starting download session with server
2015-12-03 11:45:29.774 DEBUG o.c.x.client.HttpsTransferClient - sending start request https://pilot.admin.openccc.net:8443/ccctransferbog/start
2015-12-03 11:45:29.802 DEBUG o.c.x.client.HttpsClientFactory - Loading keystore from conf/client.jks
2015-12-03 11:45:30.638 ERROR o.c.x.client.HttpsTransferClient - Caught IOException while trying to connect to server. Error: Received fatal alert: handshake_failure
2015-12-03 11:45:30.648 ERROR o.c.xfer.client.tool.JobRunner - Received fatal alert: handshake_failure
org.cccnext.xfer.client.TransferClientException: Received fatal alert: handshake_failure
at org.cccnext.xfer.client.HttpsTransferClient.startSession(HttpsTransferClient.java:88) ~[transfer-client.jar:na]
at org.cccnext.xfer.client.tool.JobRunner.process(JobRunner.java:71) ~[transfer-client.jar:na]
at org.cccnext.xfer.client.tool.JobRunnerMain.main(JobRunnerMain.java:75) [transfer-client.jar:na]
Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:174) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.Alerts.getSSLException(Alerts.java:136) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1839) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1019) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1203) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1230) ~[na:1.6]
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1214) ~[na:1.6]
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:533) ~[transfer-client.jar:na]
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:401) ~[transfer-client.jar:na]
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177) ~[transfer-client.jar:na]
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304) ~[transfer-client.jar:na]
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611) ~[transfer-client.jar:na]
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446) ~[transfer-client.jar:na]
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863) ~[transfer-client.jar:na]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) ~[transfer-client.jar:na]
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106) ~[transfer-client.jar:na]
at org.cccnext.xfer.client.HttpsTransferClient.startSession(HttpsTransferClient.java:68) ~[transfer-client.jar:na]
... 2 common frames omitted
0
Comments
-
Jeff, The change to Pilot from QA did not generate any new .jar files. However it is always the best practice to have the latest files when working to implement a new download. You can find all the documentation and links to upgrade your files at the following link:https://cccnext.jira.com/wiki/display/PD/User+Guides0
-
I was more wondering if the client.jks needed to be changed.
Assuming that I don't need a new client.jks file, is there any idea on why my download is failing? What should my next step be to resolve this issue?
Jeff Laun0 -
I believe that the errors you are experiencing may be occuring before the jks file access, 2015-12-03 11:45:29.695 ERROR o.c.x.a.service.FieldInfoService - Download field response is invalid Jeff we are tracking this issue in your ZEN desk helpdesk ticket, please look there for responses.0
-
Sorry, I don't know what a ZEN desk helpdesk is.0
-
Patricia said this was the place to submit trouble calls
0 -
Thanks. I found the ZEN ticket. I will work from there.
0
Categories
- 1.5K All Categories
- 196 CCCTC System Alerts
- 784 CCCApply
- 129 CCCApply Report Center
- 7 CCCApply Administrator
- 12 CCC Data Warehouse
- 8 CCC Glue: College Adaptor
- 75 CCC MyPath
- 18 OpenCCC Student Account
- 29 CCC Promise Grant Application
- 37 CCCApply International Application
- 63 CCC Accessibility Center
- 2 Enabling Services
- Implementation Project Managers (IPM)
- 1 College Relationship Managers (CRM)
- 47 Multiple Measures Initiative
- 46 Library Services Platform
- 11 Career Coach
- eTranscript California
- 4 C-ID
- 17 COCI
- 9 CCC ConferZoom
- 5 Best Practices for ccctechnology.info