Expand my Community achievements bar.

SOLVED

getting a very strange response from a sling servlet in our prod env: <div id="root" status="500"backend="bb78d8242935e149ab12d9d14ebbb908--F_Skyline_Origin_Ingress_Publish"

Avatar

Level 9

randomly, instead of some json, we get the following HTML back from one of our servlets:

 

We are looking in the logs, but wondered if anyone has seen this type of response before?

 

 

<!DOCTYPE html>
      <html lang="en">
        <head>
          <meta charset="utf-8">
          <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

          <meta name="description" content="AEM Cloud Service">
          <title>AEM Cloud Service</title>
          <link rel="icon" href="https://errors.adobeaemcloud.com/favicon.ico">
          
          <link rel="stylesheet" href="https://errors.adobeaemcloud.com/src.status.css">
        </head>
        <body>
          <noscript>AEM Cloud Service.</noscript>
          <div id="root" status="500"
                           backend="bb78d8242935e149ab12d9d14ebbb908--F_Skyline_Origin_Ingress_Publish"
                           healthy="1"
                           gen="0"
                           rid="d548c3db-dd02-49d3-bfdd-e96f2c1e4dd6"
                           xid="3481717772"
                           age="0.000"
                           ttl="0.000"
                           restarts="0"
                           nobranding=""
                           statusApi=""
          > </div>
          <script src="https://errors.adobeaemcloud.com/src.status.js"> </script>
        </body>
      </html>
      

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

This means that the publish has returned a statuscode 500 to your browser.

View solution in original post

5 Replies

Avatar

Correct answer by
Employee Advisor

This means that the publish has returned a statuscode 500 to your browser.

Avatar

Level 1

I'm seeing this same thing be returned by the cloud servlet whenever a 500 error is sent, regardless of what I send in the response.getWriter().write(...). Is this unique to 500 error responses, or would a different error code actually let you access the response text?

Avatar

Employee Advisor

Hm, good question, I don't know if the CDN configuration overwrites the body with the statuscode 5xx with its own version of an error page.

Avatar

Level 2

were you able to solve this? if yes then can you elaborate what and how you resolved this?

Avatar

Level 2

Even i am also facing the same issue. could you please help with the resolution??