You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "jamesnetherton (via GitHub)" <gi...@apache.org> on 2023/07/04 12:10:27 UTC

[GitHub] [camel-quarkus] jamesnetherton opened a new issue, #4988: Intermittent failure of test `CxfWsTrustTest.programmaticStsNotSet`

jamesnetherton opened a new issue, #4988:
URL: https://github.com/apache/camel-quarkus/issues/4988

   ### Bug description
   
   ```
   2023-06-14T03:36:28.4259208Z Caused by: java.net.ConnectException: ConnectException invoking http://localhost:8081/jaxws-samples-wsse-policy-trust-sts/SecurityTokenService: Connection refused
   ```
   
   Note the URL has port `8081`. Which probably  comes from here:
   
   https://github.com/apache/camel-quarkus/blob/main/integration-test-groups/cxf-soap/cxf-soap-ws-trust/src/main/resources/AsymmetricSAML2Policy.xml#L50-L52
   
   The resulting exception is thrown from `AbstractSTSClient`:
   
   ```
   trust}sayHello has thrown exception, unwinding now: org.apache.cxf.ws.security.trust.TrustException: Exception when trying to retrieve/process a WSDL via WS-MEX
   2023-06-14T03:47:00.2152933Z 	at org.apache.cxf.ws.security.trust.AbstractSTSClient.configureViaEPR(AbstractSTSClient.java:612)
   2023-06-14T03:47:00.2153531Z 	at org.apache.cxf.ws.security.trust.STSUtils.getClientWithIssuer(STSUtils.java:166)
   2023-06-14T03:47:00.2154101Z 	at org.apache.cxf.ws.security.trust.STSTokenRetriever.getToken(STSTokenRetriever.java:68)
   2023-06-14T03:47:00.2155000Z 	at org.apache.cxf.ws.security.policy.interceptors.IssuedTokenInterceptorProvider$IssuedTokenOutInterceptor.handleMessage(IssuedTokenInterceptorProvider.java:147)
   2023-06-14T03:47:00.2155767Z 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:307)
   2023-06-14T03:47:00.2156286Z 	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:528)
   2023-06-14T03:47:00.2156730Z 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:439)
   2023-06-14T03:47:00.2157149Z 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:354)
   2023-06-14T03:47:00.2157580Z 	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:312)
   2023-06-14T03:47:00.2158031Z 	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:96)
   2023-06-14T03:47:00.2158506Z 	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:140)
   2023-06-14T03:47:00.2158915Z 	at jdk.proxy2/jdk.proxy2.$Proxy102.sayHello(Unknown Source)
   ```
   
   What's interesting is that test only fails some of the time. Meaning that the exception is probably being swallowed or ignored when the test passes.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] jamesnetherton commented on issue #4988: Intermittent failure of test `CxfWsTrustTest.programmaticStsNotSet`

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton commented on issue #4988:
URL: https://github.com/apache/camel-quarkus/issues/4988#issuecomment-1620132033

   Reopening as this appears to still not be fixed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-quarkus] jamesnetherton closed issue #4988: Intermittent failure of test `CxfWsTrustTest.programmaticStsNotSet`

Posted by "jamesnetherton (via GitHub)" <gi...@apache.org>.
jamesnetherton closed issue #4988: Intermittent failure of test `CxfWsTrustTest.programmaticStsNotSet`
URL: https://github.com/apache/camel-quarkus/issues/4988


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org