Question
Pegasystems Inc.
AU
Last activity: 4 Jun 2016 13:19 EDT
Service SOAP - HTTPS ConnectionTimeout
Hello there,
I cannot generate Connect SOAP service when using https. Getting connection timeout > 15 seconds error.
NOTE: it is not the SSL error, CA is a well known CA.
I have set the JVM with -Dhttp.proxyHost and -Dhttp.proxyPort (same as what I have in IE which can get through). With PRPC, I cannot get through?
Why IE, SOAPUI, Chrome can get through with both https and http uisng the same internet proxy above.
With Pega given the proxy host/port above, I can only get through with http.
Will check if the gateway check the user agent...and drop connection when it come from PRPC? (wild guess here)
- PRPC 717 719 72
Seri
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 4 Jun 2016 1:32 EDT
Pegasystems Inc.
AU
Hi Jeff,
Yes, thank you very much for pointing this out, the
// create the scheme for connection
com.pega.apache.http.conn.scheme.SchemeRegistry sr = new com.pega.apache.http.conn.scheme.SchemeRegistry();
sr.register(new com.pega.apache.http.conn.scheme.Scheme("https", apacheSocketFactory, 443));
sr.register( new com.pega.apache.http.conn.scheme.Scheme("http",
80, com.pega.apache.http.conn.scheme.PlainSocketFactory.getSocketFactory()));
//---------------------------------------------------------
Test Connectivity For |
Rule-Connect-SOAP.Sco1-Int-DriverActi-DriverActivity.GetDriverStatus
Overall result
Status
Good
Steps performed
Step
Result
Create Axis Call object (using service URL)
Success
Create HTTP GET Object
Success
Set up HTTPS Context
Success
Create HTTPS Client
Success
Make HTTPS connection to Service Endpoint
Success
I tried to raise the SR but keep getting
- ContactPhone:This field may not be blank.
Regards
Seri
Pegasystems Inc.
US
what port (soap or soap12) did you choose when running the wizard?
Updated: 27 May 2016 9:05 EDT
Pegasystems Inc.
AU
Hi Kevin,
DriverActivitySoap (not DriverActivitySoap12) - when I ran the Integration -> Connectors -> Create SOAP Integration.
Regards
Seri
Pegasystems Inc.
US
do you get the same result with soap12 or is it different?
Updated: 29 May 2016 18:12 EDT
Pegasystems Inc.
AU
Hi Kevin,
I have put in proxy -Dhttp.proxyHost and -Dhttp.proxyPort at the JVM so PRPC can get through proxy..
I cannot get the https://uat.pinpointcomms.com.au/avmportal/DriverActivity.asmx?wsdl to go pass the first step of the Connet SOAP wizard. I keep getting 15 seconds SecketTimeoutException.
*** NO problem if I try this from my PRPC at home and it is not the CA issues, they are using Go Daddy CA which most Java's cacerts store alrady have this cert.
*** Could it be that we impose 15 sec timeout, too soon if so can we adjust ?
2016-05-28 15:18:24,087 [ http-apr-80-exec-3] [TABTHREAD1] [ ] [ AES:07.13] (ateURLSource._baseclass.Action) ERROR drsdevaes01.tmc.rta.nsw.gov.au| Proprietary information hidden aesdeveloper - Caught exception when connecting to https://uat.pinpointcomms.com.au/avmportal/DriverActivity.asmx?wsdl
java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
Hi Kevin,
I have put in proxy -Dhttp.proxyHost and -Dhttp.proxyPort at the JVM so PRPC can get through proxy..
I cannot get the https://uat.pinpointcomms.com.au/avmportal/DriverActivity.asmx?wsdl to go pass the first step of the Connet SOAP wizard. I keep getting 15 seconds SecketTimeoutException.
*** NO problem if I try this from my PRPC at home and it is not the CA issues, they are using Go Daddy CA which most Java's cacerts store alrady have this cert.
*** Could it be that we impose 15 sec timeout, too soon if so can we adjust ?
2016-05-28 15:18:24,087 [ http-apr-80-exec-3] [TABTHREAD1] [ ] [ AES:07.13] (ateURLSource._baseclass.Action) ERROR drsdevaes01.tmc.rta.nsw.gov.au| Proprietary information hidden aesdeveloper - Caught exception when connecting to https://uat.pinpointcomms.com.au/avmportal/DriverActivity.asmx?wsdl
java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
at com.pegarules.generated.activity.ra_action_pyvalidateurlsource_5d69ce472104ed2866c727488546be93.step8_circum0(ra_action_pyvalidateurlsource_5d69ce472104ed2866c727488546be93.java:853)
at com.pegarules.generated.activity.ra_action_pyvalidateurlsource_5d69ce472104ed2866c727488546be93.perform(ra_action_pyvalidateurlsource_5d69ce472104ed2866c727488546be93.java:188)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10450)
at com.pegarules.generated.activity.ra_action_pyvalidatesourcelocation_7fa494fc6601ece0219889995995c71c.step5_circum0(ra_action_pyvalidatesourcelocation_7fa494fc6601ece0219889995995c71c.java:547)
at com.pegarules.generated.activity.ra_action_pyvalidatesourcelocation_7fa494fc6601ece0219889995995c71c.perform(ra_action_pyvalidatesourcelocation_7fa494fc6601ece0219889995995c71c.java:140)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pegarules.generated.activity.ra_action_reloadsection_8d636d6ea3d6b9b680f77d0cd1f195dd.step5_circum0(ra_action_reloadsection_8d636d6ea3d6b9b680f77d0cd1f195dd.java:730)
at com.pegarules.generated.activity.ra_action_reloadsection_8d636d6ea3d6b9b680f77d0cd1f195dd.perform(ra_action_reloadsection_8d636d6ea3d6b9b680f77d0cd1f195dd.java:137)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:641)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:435)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3252)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:384)
at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1188)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:926)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:811)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:330)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:839)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:315)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:240)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:485)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:290)
at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:338)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:379)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:216)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:265)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:118)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2016-05-28 15:18:42,862 [ http-apr-80-exec-10] [TABTHREAD1] [ ] [ AES:07.13] (ateURLSource._baseclass.Action) ERROR drsdevaes01.tmc.rta.nsw.gov.au| Proprietary information hidden aesdeveloper - Caught exception when connecting to https://uat.pinpointcomms.com.au/avmportal/DriverActivity.asmx?wsdl
java.net.SocketTimeoutException: connect timed out
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:579)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:618)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)
at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:153)
at com.pegarules.generated.activity.ra_action_pyvalidateurlsource_5d69ce472104ed2866c727488546be93.step8_circum0(ra_action_pyvalidateurlsource_5d69ce472104ed2866c727488546be93.java:853)
at com.pegarules.generated.activity.ra_action_pyvalidateurlsource_5d69ce472104ed2866c727488546be93.perform(ra_action_pyvalidateurlsource_5d69ce472104ed2866c727488546be93.java:188)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10450)
at com.pegarules.generated.activity.ra_action_pyvalidatesourcelocation_7fa494fc6601ece0219889995995c71c.step5_circum0(ra_action_pyvalidatesourcelocation_7fa494fc6601ece0219889995995c71c.java:547)
at com.pegarules.generated.activity.ra_action_pyvalidatesourcelocation_7fa494fc6601ece0219889995995c71c.perform(ra_action_pyvalidatesourcelocation_7fa494fc6601ece0219889995995c71c.java:140)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10450)
at com.pegarules.generated.activity.ra_action_pxparsewsdl_4bcc4eca050843cb73c1da60eba279ef.step5_circum0(ra_action_pxparsewsdl_4bcc4eca050843cb73c1da60eba279ef.java:645)
at com.pegarules.generated.activity.ra_action_pxparsewsdl_4bcc4eca050843cb73c1da60eba279ef.perform(ra_action_pxparsewsdl_4bcc4eca050843cb73c1da60eba279ef.java:139)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pegarules.generated.callActivity_071001_KhcknoEKbSvWlpqH0tlTMw.callActivity07_10_01(callActivity_071001_KhcknoEKbSvWlpqH0tlTMw.java:122)
at com.pegarules.generated.callActivity_071001_KhcknoEKbSvWlpqH0tlTMw.invoke(callActivity_071001_KhcknoEKbSvWlpqH0tlTMw.java:82)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:133)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:110)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:8786)
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(LibrarySupport.java:181)
at com.pegarules.generated.pega_rules_utilities.callActivity(pega_rules_utilities.java:1432)
at com.pegarules.generated.flowaction.ra_action_pxloadwsdl_922cd4a8bba51c45c5eafbd84d093862.RunFlowActionActivity_circum0(ra_action_pxloadwsdl_922cd4a8bba51c45c5eafbd84d093862.java:339)
at com.pegarules.generated.flowaction.ra_action_pxloadwsdl_922cd4a8bba51c45c5eafbd84d093862.perform(ra_action_pxloadwsdl_922cd4a8bba51c45c5eafbd84d093862.java:72)
at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:3180)
at com.pegarules.generated.activity.ra_action_runflowactionactivity_58efc1b6f854c94714f657cadaebe7ff.step3_circum0(ra_action_runflowactionactivity_58efc1b6f854c94714f657cadaebe7ff.java:383)
at com.pegarules.generated.activity.ra_action_runflowactionactivity_58efc1b6f854c94714f657cadaebe7ff.perform(ra_action_runflowactionactivity_58efc1b6f854c94714f657cadaebe7ff.java:103)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10450)
at com.pegarules.generated.activity.ra_action_completeassignment_7c229c203839163ba035bdb1bc564749.step9_circum0(ra_action_completeassignment_7c229c203839163ba035bdb1bc564749.java:1339)
at com.pegarules.generated.activity.ra_action_completeassignment_7c229c203839163ba035bdb1bc564749.perform(ra_action_completeassignment_7c229c203839163ba035bdb1bc564749.java:225)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pegarules.generated.callActivity_071001_KhcknoEKbSvWlpqH0tlTMw.callActivity07_10_01(callActivity_071001_KhcknoEKbSvWlpqH0tlTMw.java:122)
at com.pegarules.generated.callActivity_071001_KhcknoEKbSvWlpqH0tlTMw.invoke(callActivity_071001_KhcknoEKbSvWlpqH0tlTMw.java:82)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.resolveAndinvokeFunctionViaReflection(LibraryRuntime.java:133)
at com.pega.pegarules.generation.internal.library.LibraryRuntime.invokeLibraryRuntime(LibraryRuntime.java:110)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeLibraryRuntime(Executable.java:8786)
at com.pega.pegarules.priv.generator.LibrarySupport.resolveAndInvokeFunctionViaReflection(LibrarySupport.java:181)
at com.pegarules.generated.pega_rules_utilities.callActivity(pega_rules_utilities.java:1432)
at com.pegarules.generated.activity.ra_action_performflowaction_cc66ac9b214b3cec592f3634031988bc.step18_circum0(ra_action_performflowaction_cc66ac9b214b3cec592f3634031988bc.java:1754)
at com.pegarules.generated.activity.ra_action_performflowaction_cc66ac9b214b3cec592f3634031988bc.perform(ra_action_performflowaction_cc66ac9b214b3cec592f3634031988bc.java:382)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10450)
at com.pegarules.generated.activity.ra_action_finishassignment_d0045083e1b45f7e2330fe3464a87513.step10_circum0(ra_action_finishassignment_d0045083e1b45f7e2330fe3464a87513.java:1435)
at com.pegarules.generated.activity.ra_action_finishassignment_d0045083e1b45f7e2330fe3464a87513.perform(ra_action_finishassignment_d0045083e1b45f7e2330fe3464a87513.java:229)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:641)
at com.pega.pegarules.session.internal.mgmt.PRThreadImpl.runActivitiesAlt(PRThreadImpl.java:435)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.runActivities(HttpAPI.java:3252)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequestInner(EngineAPI.java:384)
at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.performTargetActionWithLock(PRSessionProviderImpl.java:1188)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:926)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.doWithRequestorLocked(PRSessionProviderImpl.java:811)
at com.pega.pegarules.session.external.engineinterface.service.EngineAPI.processRequest(EngineAPI.java:330)
at com.pega.pegarules.session.internal.engineinterface.service.HttpAPI.invoke(HttpAPI.java:839)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._invokeEngine_privact(EngineImpl.java:315)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:263)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.invokeEngine(EngineImpl.java:240)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngineInner(JNDIEnvironment.java:278)
at com.pega.pegarules.priv.context.JNDIEnvironment.invokeEngine(JNDIEnvironment.java:223)
at com.pega.pegarules.web.impl.WebStandardImpl.makeEtierRequest(WebStandardImpl.java:485)
at com.pega.pegarules.web.impl.WebStandardImpl.doPost(WebStandardImpl.java:290)
at sun.reflect.GeneratedMethodAccessor69.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:338)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:379)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethodPropagatingThrowable(AppServerBridgeToPega.java:216)
at com.pega.pegarules.boot.internal.extbridge.AppServerBridgeToPega.invokeMethod(AppServerBridgeToPega.java:265)
at com.pega.pegarules.internal.web.servlet.WebStandardBoot.doPost(WebStandardBoot.java:118)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2441)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
//------------------------------------------------------
NOTE: below works with the client's proxy server
SOAPUI works with proxy serve,
cURL works with the proxy server.
C:\Users\chanroes\AppData\Local\Apps\cURL\bin>curl -x proxy.rta.nsw.gov.au:80 https://uat.pinpointcomms.com.au/avmportal/DriverActivity.asmx?wsdl -v > c:/temp/httpsuatpp.txt
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0*
Trying Proprietary information hidden...
* Connected to proxy.rta.nsw.gov.au ( Proprietary information hidden) port 80 (#0)
* Establish HTTP proxy tunnel to uat.pinpointcomms.com.au:443
> CONNECT uat.pinpointcomms.com.au:443 HTTP/1.1
> Host: uat.pinpointcomms.com.au:443
> User-Agent: curl/7.46.0
> Proxy-Connection: Keep-Alive
>
< HTTP/1.1 200 OK
< Server: Oracle-iPlanet-Web-Proxy-Server/4.0
< Date: Fri, 27 May 2016 10:48:33 GMT
< Connection: close
<
* Proxy replied OK to CONNECT request
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: C:\Users\chanroes\AppData\Local\Apps\cURL\bin\curl-ca-bundle.crt
CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [512 bytes data]
* TLSv1.0 (IN), TLS handshake, Server hello (2):
{ [81 bytes data]
* TLSv1.0 (IN), TLS handshake, Certificate (11):
{ [2604 bytes data]
* TLSv1.0 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.0 (OUT), TLS handshake, Client key exchange (16):
} [262 bytes data]
* TLSv1.0 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
* TLSv1.0 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.0 (IN), TLS change cipher, Client hello (1):
{ [1 bytes data]
* TLSv1.0 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.0 / AES128-SHA
* ALPN, server did not agree to a protocol
* Server certificate:
* subject: OU=Domain Control Validated; CN=uat.pinpointcomms.com.au
* start date: Sep 11 02:19:16 2014 GMT
* expire date: Sep 11 02:19:16 2017 GMT
* subjectAltName: uat.pinpointcomms.com.au matched
* issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://
certs.godaddy.com/repository/; CN=Go Daddy Secure Certificate Authority - G2
* SSL certificate verify ok.
} [5 bytes data]
> GET /avmportal/DriverActivity.asmx?wsdl HTTP/1.1
> Host: uat.pinpointcomms.com.au
> User-Agent: curl/7.46.0
> Accept: */*
>
{ [5 bytes data]
< HTTP/1.1 200 OK
< Cache-Control: private, max-age=0
< Content-Type: text/xml; charset=utf-8
< Server: Microsoft-IIS/7.5
< X-AspNet-Version: 4.0.30319
< X-Powered-By: ASP.NET
< Date: Fri, 27 May 2016 10:48:32 GMT
< Content-Length: 13043
<
{ [13043 bytes data]
100 13043 100 13043 0 0 17413 0 --:--:-- --:--:-- --:--:-- 17413
* Connection #0 to host proxy.rta.nsw.gov.au left intact
Seri
Pegasystems Inc.
US
you are asking another completely different question now, probably should spin off another thread: check this article, should help: https://community.pega.com/support-articles/how-configure-proxy-setting-soap-connector
Updated: 29 May 2016 18:13 EDT
Pegasystems Inc.
AU
OK thanks Kevin,
I have set the JVM with -Dhttp.proxyHost and -Dhttp.proxyPort (same as what I have in IE which can get through). With PRPC, I cannot get through? The article is about set up or change proxy server on the fly.
Why IE, SOAPUI, Chrome can get through with both https and http uisng the same internet proxy above.
With Pega given the proxy host/port above, I can only get through with http.
Will check with the network team if the gateway drop the connection when it come from PRPC? (wild guess here)
Regards
Seri
Pegasystems Inc.
CA
I believe it's a limitation with the SOAP wizard that it doesn't honor proxy settings. We have proxy support at runtime, but not for the wizard. Could you please raise an enhancement request for the same.
Pegasystems Inc.
AU
I have put the JVM Settings below and it allows me to get through the Connect SOAP wizard generation.
-Dhttp.proxySet=true
-Dhttp.proxyHost=xxxxxx
-Dhttp.proxyPort=xx
-Dhttps.proxyHost=xxx
-Dhttps.proxyPort=xx
HOWEVER, the connectivity test fails (via ValidateInfrastructure ) with HTTPS.
Error is Uncaught unexpected Throwable during SOAP Connectivity Test: java.lang.IllegalStateException: Scheme 'http' not registered.
//---------------------
// now start to actually connect
pStepHTTPConnect.putString("pyStepStatus", STATUSFAIL);
com.pega.apache.http.HttpResponse httpResponse = client.execute((com.pega.apache.http.client.methods.HttpUriRequest) httpRequest);
} finally
{
if (steps != null)
{
steps.add(pStepCreateGETObject);
steps.add(pStepSetupSSL);
steps.add(pStepCreateHTTPSClient);
}
}
} // end of if HTTPS connection
pStepHTTPConnect.putString("pyStepStatus", STATUSSUCCESS);
} finally
{
I have put the JVM Settings below and it allows me to get through the Connect SOAP wizard generation.
-Dhttp.proxySet=true
-Dhttp.proxyHost=xxxxxx
-Dhttp.proxyPort=xx
-Dhttps.proxyHost=xxx
-Dhttps.proxyPort=xx
HOWEVER, the connectivity test fails (via ValidateInfrastructure ) with HTTPS.
Error is Uncaught unexpected Throwable during SOAP Connectivity Test: java.lang.IllegalStateException: Scheme 'http' not registered.
//---------------------
// now start to actually connect
pStepHTTPConnect.putString("pyStepStatus", STATUSFAIL);
com.pega.apache.http.HttpResponse httpResponse = client.execute((com.pega.apache.http.client.methods.HttpUriRequest) httpRequest);
} finally
{
if (steps != null)
{
steps.add(pStepCreateGETObject);
steps.add(pStepSetupSSL);
steps.add(pStepCreateHTTPSClient);
}
}
} // end of if HTTPS connection
pStepHTTPConnect.putString("pyStepStatus", STATUSSUCCESS);
} finally
{
// we want HTTP(s) connection to be the last step on the list, after any required steps we ran into in the process.
if (steps != null)
{
steps.add(pStepHTTPConnect);
}
}
}
statusVal = "Good";
statusMsg = "";
statusPage.putString("pyStatusVal", statusVal);
statusPage.putString("pyStatusMsg", statusWarn + statusMsg);
} catch(Throwable t) {
statusMsg = "Caught unexpected Throwable during SOAP Connectivity Test: " + t.toString();
statusPage.putString("pyStatusMsg", statusWarn + statusMsg);
}
//---------------------
Updated: 3 Jun 2016 22:52 EDT
Pegasystems Inc.
US
I think this could be a known issue. Your post says "- PRPC 717 719 72." Are you getting these results on the 7.2 system?
I see this code in step 5 of the ValidateInfrastructure Activity for Rule-Connect-SOAP in Pega-IntegrationArchitect 07-10-23 which seems like it is fixing the issue:
// create the scheme for connection
com.pega.apache.http.conn.scheme.SchemeRegistry sr = new com.pega.apache.http.conn.scheme.SchemeRegistry();
sr.register(new com.pega.apache.http.conn.scheme.Scheme("https", apacheSocketFactory, 443));
sr.register( new com.pega.apache.http.conn.scheme.Scheme("http",
80, com.pega.apache.http.conn.scheme.PlainSocketFactory.getSocketFactory()));
But the code is not present in the earlier versions of the rules, in Pega 7.1.x.
If you do have access to a Pega 7.2 system, you should try it there.
Accepted Solution
Updated: 4 Jun 2016 1:32 EDT
Pegasystems Inc.
AU
Hi Jeff,
Yes, thank you very much for pointing this out, the
// create the scheme for connection
com.pega.apache.http.conn.scheme.SchemeRegistry sr = new com.pega.apache.http.conn.scheme.SchemeRegistry();
sr.register(new com.pega.apache.http.conn.scheme.Scheme("https", apacheSocketFactory, 443));
sr.register( new com.pega.apache.http.conn.scheme.Scheme("http",
80, com.pega.apache.http.conn.scheme.PlainSocketFactory.getSocketFactory()));
//---------------------------------------------------------
Test Connectivity For |
Rule-Connect-SOAP.Sco1-Int-DriverActi-DriverActivity.GetDriverStatus
Overall result
Status
Good
Steps performed
Step
Result
Create Axis Call object (using service URL)
Success
Create HTTP GET Object
Success
Set up HTTPS Context
Success
Create HTTPS Client
Success
Make HTTPS connection to Service Endpoint
Success
I tried to raise the SR but keep getting
- ContactPhone:This field may not be blank.
Regards
Seri
Updated: 4 Jun 2016 13:19 EDT
Pegasystems Inc.
US
HI Seri,
I am unfamiliar with the SR process, but someone from that department (Kevin Zheng ?) should be able to help you through this.
I think you may have marked this post as "answered," which may get confusing for people, as you seem to still need assistance. For instance, the SOAP Connector Invoke activity may also need modification in order to make the runtime work, if it does not have the "fixed" code in it.
- Jeff