Skip to content
This repository has been archived by the owner on Nov 1, 2018. It is now read-only.

Need a more meaningful 502 error page for process start failure #200

Closed
pan-wang opened this issue Jun 3, 2016 · 3 comments
Closed

Need a more meaningful 502 error page for process start failure #200

pan-wang opened this issue Jun 3, 2016 · 3 comments

Comments

@pan-wang
Copy link
Contributor

pan-wang commented Jun 3, 2016

In case ANCM cannot start backend process for whatever reason(e.g., wrong processPath value), a 502 error page was returned to client without any debugging/actionable hint. We may need to improve this error page for ANCM only to help debugging experience.

@Tratcher
Copy link
Member

Reminder: Set the charset. Right now Chrome guesses the wrong encoding and the page renders full of replacement characters.

@Tratcher
Copy link
Member

<�!DOCTYPE html> <�html><�head><�title> IIS 502.5 Error <�/title> <�style type="text/css"><�/style><�/head><�body> <�div id = "content"> <�div class = "content-container"><�h3> HTTP Error 502.5 - Process Failure <�/h3><�/div> <�div class = "content-container"> <�fieldset> <�h4> Most likely causes : <�/h4> <�ul><�li> Failed to start the backend process.<�/li> <�li> The process got started but crashed.<�/li> <�li> The process failed to listen on given port.<�/li><�/ul><�/fieldset> <�/div> <�div class = "content-container"> <�fieldset><�h4>Things you can try : <�/h4> <�ul><�li>Look at windows event log for details.<�/li> <�li>Use DebugDiag to troubleshoot the Asp.Net Core application.<�/li><�/ul><�/fieldset> <�/div> <�/div><�/body><�/html>

@muratg
Copy link
Contributor

muratg commented Jun 21, 2016

I believe this is done.

@muratg muratg closed this as completed Jun 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants