on 2023 Oct 02 8:26 PM
Hi,
We are getting below exception with ODATA order sync. We have asked OKTA team any issue with connections from Hybris for OAuth requests , they confirmed nothing going wrong on their side with each request from Hybris.
Business process logs
ERROR [TaskExecutor-master-464695-ProcessTask [29563206861750]] 13:44:10.021 The OMM order [5024494558] has not been sent to the SAP backend through MuleSoft! Error requesting access token.
ERROR [TaskExecutor-master-464695-ProcessTask [29563206861750]] 13:44:10.023 Error executing
ERROR [TaskExecutor-master-464695-ProcessTask [29563206861750]] 13:44:10.036 Error executing ActionNode with ID [sendOrderToErp]: Error occurred when trying to propagate error to Observer.onError
The server console log with root cause :
{
"log": "Caused by: org.springframework.web.client.ResourceAccessException: I/O error on POST request for \"https://discounttire.oktapreview.com/oauth2/aussej9sjnUwNdzDu0h7/v1/token\": Timeout waiting for connection from pool; nested exception is org.apache.http.conn.ConnectionPoolTimeoutException: Timeout waiting for connection from pool\n",
"stream": "stdout"
}
{
"log": "\tat org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:785) ~[spring-web-5.3.7.jar:5.3.7]\n",
"stream": "stdout"
}
{
"log": "\tat org.springframework.web.client.RestTemplate.execute(RestTemplate.java:732) ~[spring-web-5.3.7.jar:5.3.7]\n",
"stream": "stdout"
}
{
"log": "\tat org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport.retrieveToken(OAuth2AccessTokenSupport.java:141) ~[spring-security-oauth2-2.5.0.RELEASE.jar:?]\n",
"stream": "stdout"
}
{
"log": "\tat org.springframework.security.oauth2.client.token.grant.client.ClientCredentialsAccessTokenProvider.obtainAccessToken(ClientCredentialsAccessTokenProvider.java:49) ~[spring-security-oauth2-2.5.0.RELEASE.jar:?]\n",
"stream": "stdout"
}
{
"log": "\tat org.springframework.security.oauth2.client.OAuth2RestTemplate.acquireAccessToken(OAuth2RestTemplate.java:239) ~[spring-security-oauth2-2.5.0.RELEASE.jar:?]\n",
"stream": "stdout"
}
{
"log": "\tat org.springframework.security.oauth2.client.OAuth2RestTemplate.getAccessToken(OAuth2RestTemplate.java:181) ~[spring-security-oauth2-2.5.0.RELEASE.jar:?]\n",
"stream": "stdout"
}
{
"log": "\tat de.hybris.platform.outboundservices.client.impl.DefaultIntegrationOAuth2RestTemplateCreator.createRestTemplate(DefaultIntegrationOAuth2RestTemplateCreator.java:48) ~[outboundservicesserver.jar:?]\n",
"stream": "stdout"
}
{
"log": "\tat de.hybris.platform.outboundservices.client.impl.DefaultIntegrationOAuth2RestTemplateCreator.createRestTemplate(DefaultIntegrationOAuth2RestTemplateCreator.java:1) ~[outboundservicesserver.jar:?]\n",
"stream": "stdout"
}
{
"log": "\tat de.hybris.platform.outboundservices.client.impl.AbstractRestTemplateCreator.create(AbstractRestTemplateCreator.java:60) ~[outboundservicesserver.jar:?]\n",
"stream": "stdout"
}
{
"log": "\tat de.hybris.platform.outboundservices.client.impl.DefaultIntegrationRestTemplateFactory.create(DefaultIntegrationRestTemplateFactory.java:41) ~[outboundservicesserver.jar:?]\n",
"stream": "stdout"
}
Request clarification before answering.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.