Failed to execute CRISP command

Hello Experts,
I am trying to call the external api ‘products/{id}’ but the in log getting following error. Any Idea how can I detail error returned. in following log I just see “REST client response error”

[INFO] [talledLocalContainer] 19.04.2019 12:31:37 WARN http-nio-8080-exec-10 [CrispCommand.process:117] Failed to execute CRISP command on ‘products/123456’ (resourceSpace: commercetools). org.onehippo.cms7.crisp.api.resource.ResourceException: REST client response error.

Related document link will be helpful.

Hi,
In case of REST client response errors, you get more information by increasing log level using the logging servlet [1]. I would suggest to increse the org.apache.http.wire to DEBUG.

HTH,

Giacomo

[1] http://localhost:8080/cms/logging/

Thank you @giacomolm I did on the DEBUG for “org.apache.http.wire”, But most of the log look like this not found any request related to ‘products/123456’.

[0x86]fk[0xfa]B[0xb0][0xeb]f[0xb1][0xbf][0x15]IQ[0x17][0xd5][0xd2][0xb2][0xd8]b[0xef][0xb4][0xd6][0xda][0xb2]PYU[0x10]q5[0xe][0x16]Kc[0xfb][0xdf][0xf7]y[0xdd]#[0xf2]B[0x12][0x19][0x14]R[0xea][0x99][0xb1]1[0xeb][0x16]X@ [0x90]@[0xbe][0xe1][0xe7][0xeb][0xee][0xff][0xf1]h[0x99][0xaf][0x16][0xf3][0xd9]*[0xf4][0xe7][0xc1]<[0x9a]m[0xa6][0xaf][0xe6][0x9b][0xd9]5[0x1c][0x1e]=;<x[0xb4]Zg[0xcb]5[0x1e][0xf0][0xef][0xeb][0xf9]h[0xc5]?[0xff][0xfe][0x1f][0x8f]V[0xd9]$[0xff]

Then I did set DEBUG for “com.bloomreach.commercedxp.starterstore.commands.CrispCommand” and here I see “400 bad request” every time I hit the product page “http://localhost:8080/site/products/123456”.

[INFO] [talledLocalContainer] Caused by: org.springframework.security.oauth2.client.resource.OAuth2AccessDeniedException: Error requesting access token.
[INFO] [talledLocalContainer] at org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport.retrieveToken(OAuth2AccessTokenSupport.java:145) ~[spring-security-oauth2-2.3.5.RELEASE.jar:?]
[INFO] [talledLocalContainer] at org.springframework.security.oauth2.client.token.grant.password.ResourceOwnerPasswordAccessTokenProvider.obtainAccessToken(ResourceOwnerPasswordAccessTokenProvider.java:47) ~[spring-security-oauth2-2.3.5.RELEASE.jar:?]
[INFO] [talledLocalContainer] at org.springframework.security.oauth2.client.OAuth2RestTemplate.acquireAccessToken(OAuth2RestTemplate.java:221) ~[spring-security-oauth2-2.3.5.RELEASE.jar:?]
[INFO] [talledLocalContainer] at org.springframework.security.oauth2.client.OAuth2RestTemplate.getAccessToken(OAuth2RestTemplate.java:173) ~[spring-security-oauth2-2.3.5.RELEASE.jar:?]
[INFO] [talledLocalContainer] at org.springframework.security.oauth2.client.OAuth2RestTemplate.createRequest(OAuth2RestTemplate.java:105) ~[spring-security-oauth2-2.3.5.RELEASE.jar:?]
[INFO] [talledLocalContainer] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:731) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
[INFO] [talledLocalContainer] at org.springframework.security.oauth2.client.OAuth2RestTemplate.doExecute(OAuth2RestTemplate.java:128) ~[spring-security-oauth2-2.3.5.RELEASE.jar:?]
[INFO] [talledLocalContainer] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:691) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
[INFO] [talledLocalContainer] at org.springframework.web.client.RestTemplate.getForEntity(RestTemplate.java:347) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
[INFO] [talledLocalContainer] at org.onehippo.cms7.crisp.core.resource.jackson.SimpleJacksonRestTemplateResourceResolver.findResources(SimpleJacksonRestTemplateResourceResolver.java:105) ~[hippo-addon-crisp-core-13.1.0.jar:13.1.0]
[INFO] [talledLocalContainer] … 115 more
[INFO] [talledLocalContainer] Caused by: org.springframework.web.client.HttpClientErrorException$BadRequest: 400 Bad Request
[INFO] [talledLocalContainer] at org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:79) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
[INFO] [talledLocalContainer] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:122) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
[INFO] [talledLocalContainer] at org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:102) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
[INFO] [talledLocalContainer] at org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport$AccessTokenErrorHandler.handleError(OAuth2AccessTokenSupport.java:246) ~[spring-security-oauth2-2.3.5.RELEASE.jar:?]
[INFO] [talledLocalContainer] at org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
[INFO] [talledLocalContainer] at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:778) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
[INFO] [talledLocalContainer] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:736) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
[INFO] [talledLocalContainer] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:691) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
[INFO] [talledLocalContainer] at org.springframework.security.oauth2.client.token.OAuth2AccessTokenSupport.retrieveToken(OAuth2AccessTokenSupport.java:137) ~[spring-security-oauth2-2.3.5.RELEASE.jar:?]
[INFO] [talledLocalContainer] at org.springframework.security.oauth2.client.token.grant.password.ResourceOwnerPasswordAccessTokenProvider.obtainAccessToken(ResourceOwnerPasswordAccessTokenProvider.java:47) ~[spring-security-oauth2-2.3.5.RELEASE.jar:?]
[INFO] [talledLocalContainer] at org.springframework.security.oauth2.client.OAuth2RestTemplate.acquireAccessToken(OAuth2RestTemplate.java:221) ~[spring-security-oauth2-2.3.5.RELEASE.jar:?]
[INFO] [talledLocalContainer] at org.springframework.security.oauth2.client.OAuth2RestTemplate.getAccessToken(OAuth2RestTemplate.java:173) ~[spring-security-oauth2-2.3.5.RELEASE.jar:?]
[INFO] [talledLocalContainer] at org.springframework.security.oauth2.client.OAuth2RestTemplate.createRequest(OAuth2RestTemplate.java:105) ~[spring-security-oauth2-2.3.5.RELEASE.jar:?]
[INFO] [talledLocalContainer] at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:731) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
[INFO] [talledLocalContainer] at org.springframework.security.oauth2.client.OAuth2RestTemplate.doExecute(OAuth2RestTemplate.java:128) ~[spring-security-oauth2-2.3.5.RELEASE.jar:?]
[INFO] [talledLocalContainer] at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:691) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
[INFO] [talledLocalContainer] at org.springframework.web.client.RestTemplate.getForEntity(RestTemplate.java:347) ~[spring-web-5.1.5.RELEASE.jar:5.1.5.RELEASE]
[INFO] [talledLocalContainer] at org.onehippo.cms7.crisp.core.resource.jackson.SimpleJacksonRestTemplateResourceResolver.findResources(SimpleJacksonRestTemplateResourceResolver.java:105) ~[hippo-addon-crisp-core-13.1.0.jar:13.1.0]
[INFO] [talledLocalContainer] … 115 more
[INFO] [talledLocalContainer] 24.04.2019 12:14:26 DEBUG http-nio-8080-exec-3 [CrispCommand.process:104] CRISP call - resourceSpace: ‘productsResource’, sesrviceBaseUrl: ‘categories?account_id=6092&domain_key=homeoasis_bloomreach&realm=prod&auth_key=&ref_url=refurl&request_id=1556088266330&request_type={request_type}&search_type={search_type}&rows={rows}&start={start}&q={q}&fl={fl}&url=http://brm-core-0.brsrvr.com/api/v1/core/’, pathVars: {q=116715, request_type=search, fl=pid,title,brand,price,sale_price,promotions,thumb_image,sku_thumb_images,sku_swatch_images,sku_color_group,url,price_range,sale_price_range,description,is_live,score,sale_price, start=0, rows=200, search_type=category}
[INFO] [talledLocalContainer] 24.04.2019 12:14:26 DEBUG http-nio-8080-exec-3 [CrispCommand.process:104] CRISP call - resourceSpace: ‘commercetools’, sesrviceBaseUrl: ‘categories?limit=100’, pathVars: {}

I believe some thing is wrong with my “crisp:resourceresolver” but I tries possible configurations which are working fine from postman to get the accessToken but here I am getting 400.

here is a snippet of beandefination of “crisp:resourceresolver”

<bean class="org.springframework.security.oauth2.client.OAuth2RestTemplate">
        <constructor-arg>
          <bean class="org.springframework.security.oauth2.client.token.grant.password.ResourceOwnerPasswordResourceDetails">
            <property name="clientAuthenticationScheme" value="query" />           
            <property name="grantType" value="client_credentials" />
            <property name="accessTokenUri" value="${accessTokenUri}" />
            <property name="clientId" value="${clientId}" />
            <property name="clientSecret" value="${clientSecret}" />
          </bean>

Hi,
It looks to me you have some issues with the authentication:

Caused by: org.springframework.security.oauth2.client.resource.OAuth2AccessDeniedException: Error requesting access token

From my understanding you are trying to use the blooomreach Search&Merch connector [1]: in that specific case you don’t need to setup the OAuth2RestTemplate

If you are trying to connect to bloomreach Search&Merch, please restore the original CRISP resource shipped with the StarterStore boot

HTH

[1] https://documentation.bloomreach.com/library/solutions/commerce-starterstore/commerce-backend-configuration/bloomreach-search–merchandise.html

Hello @giacomolm,
I am just trying to get product details from backend and not looking to connect bloomreach Search&Merch. You are seeing the “http://brm-core-0.brsrvr.com/api/v1/core/” request just because I am doing changes in starterStore 2.0.0. Basically I copied existing commercetools crisp:resourceresolver and provided other backend details to connect. Reused the same beanDefination as I did not find commercetools specific content in it.

NOTE: I have also created connector document which contains “products/${externalReferenceId}” request similar to commercetools connector document.

I referred this bean defination https://documentation.bloomreach.com/library/concepts/crisp-api/configuration/example-with-marketo-rest-api.html and added change

<property name="clientAuthenticationScheme" value="query" />

Now I see no errors in log seems it is able to fetch some data but I want to see exact what response it is returning. Any Idea which loggging need to set on DEBUG?

Ok, thanks for adding more information. I have couple of points:

  1. Please be sure that the resourceSpace property in your new connector document matches your new CRISP resource name. From the log I see productsResource, but this is the CRISP resource defined for Search&Merch, so probably your using the wrong one.

  2. Setting org.apache.http.wire to DEBUG should be enough: if can help, you can disable the cache in the hst.properties for your new resource. You can also increase the org.onehippo.cms7.crisp to DEBUG

Moreover, please be sure that you have defined the right values in your hst.properties for your new connector. Those properties then need to be re-used in your new CRISP resource definition.

So your hst.properties should contain something like this:


<new_connector>.cache.enabled = false
<new_connector>.baseUrl = <your_server>
<new_connector>.accessTokenUri = <your_server>/oauth/token?
grant_type= client_credentials
<new_connector>.clientId = your_clientId
<new_connector>.clientSecret = your_client_secret
<new_connector>.username = your_username
<new_connector>.password = your_password

The authentication type depends on your backend, so please follow CRISP documentation (as you already did)

1 Like

Hello @giacomolm,
1.Yes, my connector name and resourcespace name is same. productsResource is getting called with my connector request (don’t know how).
2. For debug on org.apache.http.wire I see font like this
“@[0xa1][0x1b][0x1a]4[0xd0][0xc2]1[0xcd][0xb6]B[0x11]~[0x87][0xfd][0xe5]G[0xd8][0xe7][0xd8]7[0xf1][0x93][0xec][0x97]U@[0x1f][0xd3][0xdd]3Mr[0xc2]&[0xe5][0xb5]hj[0x6]([0xd4][0x91][0x99][0x95][0xf9][0xe5]Q[0xa5][0x1f][0xaf][0xaa]rY[0xf6]W3[0xee]y[0xd7]WMQt[0x1a][0xbf][0xe0][0xc7][0xac][0x19]j[0xfc][0xe4]’[0xd7]W}[0xd3][0xab][0xca][0xfe][0xd8][0xea]n[0xa8][0xfa][0xee]j[0xf6]?^[0x95][0xf9][0xd5][0xec][0xca]Si"[0xa2]B[0xb2][0xd0][0xf][0x14][0x93][0xb9][0xf6]X[0xc2][0xb3][0x8c][0xa5]9[0xcf][0xd3]"[0x88][0xb][0x99]%W[0xd7]W[0xb7][0xba][0xed][0xca][0xa6]F’[0xd7]W[0x95][0xea][0xfa][0x17][0xba][0xeb][0xd4][0xbf][0xd4]?[0xc][0xba][0xce][0xf4]o[0x87]e[0xaa][0xdb][0xab][0x99][0xc0][0xb8][0xad]V[0xbd][0xce]?[0xc5][0xd8]W[0xc2][0xe3]![0xe3][0x1e][0xfe][0xbc][0xe2][0xde]LF3[0xc1]]?[0x89][0xfe]p5v[0xd2][0xe4]eQ[0xde]i+[0x82]W[0xdc][0x9f][0xc9]d[0xe6][0x5]n[0x92]x[0xd4][0xb6]VK}5[0xfb][0xf1]Jc[0xfc][0xab]W[0xb]U[0xdf]t[0xf3][0xf2][0xb6][0xac][0xe7]W?]u[0xd5]0[0xdf][0xbe][0xec][0xef][0xbc][0xcc]u[0x97][0xb5][0xe5][0xaa]7S?[0xd3][0x81][0xc2][0xfc][0xbb][0xbe]i[0x89]([0x2][0x9][0xdb][0xb7][0x97]D[0xbb]+[0xcf][0xf5][0xf0]?.[0xa3][0xd0]KB)9[0xe6][0xee]s.[0xb9][0xc][0xc2][0x10][0xf3]R[0x1d][0x88]m>[0xfb][0xe9]z$g[0xa4][0xd2]8[0xca]|[0xcd][0x8a]0M[0x98][0xf4][0x82][0x82][0xa5]2VL$[0xdc][0x8f][0x82]\z"Q[0xfb][0xe4][0x14]oKN>[0x13][0xe1][0xcc][0xf7][0xcc][0xe8][0x12]r[0xc6]3[0xb8]R[0xc6]G[0xe4]”

how to get it in human readable format??

Hi, probably if you scroll a little bit up in you log you should be able to see the plain request made by the http client. You should be able to see both the request and the response in a readable format.

Let us you know if you are not able to find those entries.

Hello @giacomolm ,
here is log snippet which shows 2 requests. first is through my connector and second is out of the box.
[INFO] [talledLocalContainer] 25.04.2019 10:44:36 DEBUG http-nio-8080-exec-1 [CrispCommand.process:104] CRISP call - resourceSpace: ‘occ’, sesrviceBaseUrl: ‘products/PA0008000314’, pathVars: {}
[INFO] [talledLocalContainer] 25.04.2019 10:44:36 DEBUG http-nio-8080-exec-1 [CrispCommand.process:104] CRISP call - resourceSpace: ‘productsResource’, sesrviceBaseUrl: ‘categories?account_id=6092&domain_key=homeoasis_bloomreach&realm=prod&auth_key=&ref_url=refurl&request_id=1556169276934&request_type={request_type}&search_type={search_type}&rows={rows}&start={start}&q={q}&fl={fl}&url=http://brm-core-0.brsrvr.com/api/v1/core/’, pathVars: {q=116715, request_type=search, fl=pid,title,brand,price,sale_price,promotions,thumb_image,sku_thumb_images,sku_swatch_images,sku_color_group,url,price_range,sale_price_range,description,is_live,score,sale_price, start=0, rows=200, search_type=category}
[INFO] [talledLocalContainer] 25.04.2019 10:44:36 DEBUG http-nio-8080-exec-1 [CrispCommand.process:104] CRISP call - resourceSpace: ‘commercetools’, sesrviceBaseUrl: ‘categories?limit=100’, pathVars: {}

when I on the DEBUG for “org.apache.http.wire” it shows me the GET request with header information. but I don’t see response for the bost request in human readable form. I see “[0x93][0xec][0x97]U@[0x1f][0xd3][0xdd]3Mr[0xc2]&[0xe5][0xb5]hj[0x6]([” in rest of the log.

It looks something like this

[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 >> “GET /SOMETHING/v1/products/PA0008000314 HTTP/1.1[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 >> “Authorization: Bearer eyJhbGciOiJSUzI1NiIsImprdSI6InR6NjRhMGMwIiwia2lkIjpudWxsLCJ4NWMiOm51bGwsIng1dSI6Imh0dHBzQ==[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 >> “Accept: text/plain, application/json, application/*+json, /[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 >> “Host: SOMETHING.com[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 >> “Connection: Keep-Alive[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 >> “User-Agent: Apache-HttpClient/4.5.6 (Java/1.8.0_201)[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 >> “Accept-Encoding: gzip,deflate[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 >> “[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “HTTP/1.1 200 OK[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “Cache-Control: must-revalidate,proxy-revalidate[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “Cache-Control: private[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “Date: Thu, 25 Apr 2019 04:53:29 GMT[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “Content-Length: 2712[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “Content-Type: application/json; charset=UTF-8[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “SOMETHING==[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “X-OCStateData: ey9hdGcvdXNlcnByb2ZpbGluZy9TaG9wcGVyQ29udGV4dExo=[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “X-Content-Type-Options: nosniff[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “CommercePlatform-Version: version=MTkuMi4yIEJ1aWxkOiBqZW5raW5zLUFzc2VtYmxlX0Nsb3VkX0NvbW1lcmNlX0VBUnNfLW1hc3Rlci0xOQ==[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “SOMETHING-Version: 19.2.2[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “ETag: “eyJ2ZXJzaW9uIjo0NlByQ3dGdz09In0=”[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “X-XSS-Protection: 1; mode=block[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “X-Frame-Options: SAMEORIGIN[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “Set-Cookie: JSESSIONID=Bm1S12aA2W8k886; path=/; HttpOnly[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “Set-Cookie: SOMETHING Secure[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “Vary: Accept-Encoding[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “Content-Encoding: gzip[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “Connection: Keep-Alive[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << “[\r][\n]”
[INFO] [talledLocalContainer] 25.04.2019 10:23:29 DEBUG http-nio-8080-exec-7 [Wire.wire:73] http-outgoing-0 << "[0x10x8][0x0][0x0][0x0][0x0][0x0][0d1]Q[0xca][0xc9],.[0x9][0xcb][0xcf])[0xcd]M[\r]([0xca]L[0x86][0xb]g[0xa7]V[0x96][0xe7][0x17][0xa5][0x14]+YE[0xc7][0xea]([0x1]Y[0xa9]E[0x89]I9p[0xe9][0xd4][0x8a][0xe4][0x9c][0xd2][0x94]T[0xb7][0x[0xc4][0x92][0xd4][0x94][0x80][0xa2][0xfc][0x94][0xd2][0xe4][0x92]b[0x88][0xc][0x4]u>[0x99][0xb9][0x99]%p[0x91][0xbc][0xc][0xcc][0xbc]T[0xff][0xbc][0x9c]J[0xb8][0xb3]@[0xfe][0x4][0xfb][0x10][0xa8][0xad]Z[0xa9][0xa0](3[0xf][0xc8],v,-[0xc9]wIMK,[0xcd][0x81]H[0xba][0x17][0xe5][0x97][0x2][0xbd]b[0xa0]gP[0xab][0xa3]TRY[0x0][0xf4][0xb0]Rzj^*PN[0x9][0xec][0xb5][0xc4][0xb2][0xc4][0xcc][0x9c][0xc4][0xa4][0xcc][0x9c][0xcc][0x92]J[0xe7][0xfc][0x94]T[0x98][0x8d]

Hi @sagar,
from my understanding the request was processed successfully (200), that’s great!
The response body is probably compressed, for this reason it’s not readable. In any case, CRISP will take care of of decoding, nothing to worry about it.

The plain response (JSON representation of your product) will be available to the StarterStore, and it will be “passed to” the starterstore-productdetail.ftl

If you have issues during the rendering phase, please be sure that the product representation “reaches” one of the StarterStore commands. Is your commerce connector based on v1 (Mapping models [1]) or v2 (SDK [2]) ?

[1] https://documentation.bloomreach.com/library/solutions/commerce-starterstore/boot-application-details/mapping-model-bundles.html
[2] https://documentation.bloomreach.com/library/solutions/commerce-starterstore/connector-sdk/how-to-develop-connector.html