add dsn sentry logging to cs html gateway error pages
parent
588a649d32
commit
c1560ba3a2
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Library of Code</title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
</head>
|
||||
<body bgcolor="white">
|
||||
<center><h1>404 NOT FOUND</h1></center>
|
||||
<p>The location you requested has not been found on this gateway.</p>
|
||||
<h2>User</h2>
|
||||
<p>If you're just visiting the site, here are the steps you can take.</p>
|
||||
<ol type=1>
|
||||
<li>You may have entered the wrong address, please check the URL and try again.</li>
|
||||
<li>Check with the person who gave you the URL to ensure it's correct.</li>
|
||||
</ol>
|
||||
<h2>Site Operator</h2>
|
||||
<p>If you're the operator of this site, here are the steps you can take.</p>
|
||||
<ol type=1>
|
||||
<li>This domain isn't registered with our systems. Please contact Engineering to bind this domain.</li>
|
||||
<li>If none of these solved your issue, please contact the Department of Engineering at <strong>engineering@libraryofcode.org</strong></li>
|
||||
</ol>
|
||||
<hr><center><a href="https://www.libraryofcode.org/">Library of Code sp-us</a></center>
|
||||
</body>
|
||||
<!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT ---><table width=125 border=0 cellspacing=0 cellpadding=0 title="Verified by: GlobalSign nv-sa" ><tr><td><span id="ss_img_wrapper_gmogs_image_110-45_en_dblue"><a href="https://www.globalsign.com/" target=_blank title="GlobalSign nv-sa" rel="nofollow"><img alt="GlobalSign nv-sa" border=0 id="ss_img" src="//seal.globalsign.com/SiteSeal/images/gs_noscript_110-45_en.gif"></a></span><script type="text/javascript" src="//seal.globalsign.com/SiteSeal/gmogs_image_110-45_en_dblue.js"></script></td></tr></table><!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT --->
|
||||
</html>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Library of Code</title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
</head>
|
||||
<body bgcolor="white">
|
||||
<center><h1>429 TOO MANY REQUESTS</h1></center>
|
||||
<p>You are sending too many requests, slow down.</p>
|
||||
<h2>User</h2>
|
||||
<p>If you're just visiting the site, here are the steps you can take.</p>
|
||||
<ol type=1>
|
||||
<li>Refrain from requesting the same resource or multiple resources on the same domain multiple times.</li>
|
||||
<li>Try refreshing the page.</li>
|
||||
<li>Try again in 5 minutes.</li>
|
||||
</ol>
|
||||
<h2>Site Operator</h2>
|
||||
<p>If you're the operator of this site, here are the steps you can take.</p>
|
||||
<ol type=1>
|
||||
<li>CWG is receiving too many requests from your IP address to this upstream server link, slow down.</li>
|
||||
<li>Make sure you're not requesting your domain multiple times in your frontend.</li>
|
||||
<li>If none of these solved your issue, please contact the Department of Engineering at <strong>engineering@libraryofcode.org</strong></li>
|
||||
</ol>
|
||||
<hr><center><a href="https://www.libraryofcode.org/">Library of Code sp-us</a></center>
|
||||
</body>
|
||||
<!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT ---><table width=125 border=0 cellspacing=0 cellpadding=0 title="Verified by: GlobalSign nv-sa" ><tr><td><span id="ss_img_wrapper_gmogs_image_110-45_en_dblue"><a href="https://www.globalsign.com/" target=_blank title="GlobalSign nv-sa" rel="nofollow"><img alt="GlobalSign nv-sa" border=0 id="ss_img" src="//seal.globalsign.com/SiteSeal/images/gs_noscript_110-45_en.gif"></a></span><script type="text/javascript" src="//seal.globalsign.com/SiteSeal/gmogs_image_110-45_en_dblue.js"></script></td></tr></table><!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT --->
|
||||
</html>
|
|
@ -0,0 +1,42 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Library of Code</title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<script
|
||||
src="https://browser.sentry-cdn.com/6.19.1/bundle.min.js"
|
||||
integrity="sha384-GRagWAKYasaEEyhq5NqRz9Hs7zZOXt+DwzY/WGbWZBkpvt5+lZxITNyU3bD7SFk5"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script>
|
||||
Sentry.init({
|
||||
dsn: "https://5e09616da86344c5b5e2629d85914857@sentry.libraryofcode.org/4",
|
||||
});
|
||||
Sentry.setTag('hostname', window.location.hostname);
|
||||
Sentry.captureException(new Error('500 INTERNAL SERVER ERROR'));
|
||||
function showDialog() {
|
||||
Sentry.showReportDialog();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body bgcolor="white">
|
||||
<center><h1>500 Internal Server Error</h1></center>
|
||||
<p>Something went wrong while trying to process the request.</p>
|
||||
<p><i><a onclick="javascript:showDialog()" href="#">Click here to report this problem to the Department of Engineering</a></i></p>
|
||||
<h2>User</h2>
|
||||
<p>If you're just visiting the site, here are the steps you can take.</p>
|
||||
<ol type=1>
|
||||
<li>Try refreshing the page.</li>
|
||||
<li>Try again in 5 minutes.</li>
|
||||
</ol>
|
||||
<h2>Site Operator</h2>
|
||||
<p>If you're the operator of this site, here are the steps you can take.</p>
|
||||
<ol type=1>
|
||||
<li>An unknown error has occurred while attempting to process the request, there may be an issue with the gateway itself.</li>
|
||||
<li>Make sure there's no announcement, issue, or maintenance posts. If there aren't, please contact us.</li>
|
||||
<li>If none of these solved your issue, please contact the Department of Engineering at <strong>engineering@libraryofcode.org</strong></li>
|
||||
</ol>
|
||||
<hr><center><a href="https://www.libraryofcode.org/">Library of Code sp-us</a></center>
|
||||
</body>
|
||||
<!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT ---><table width=125 border=0 cellspacing=0 cellpadding=0 title="Verified by: GlobalSign nv-sa" ><tr><td><span id="ss_img_wrapper_gmogs_image_110-45_en_dblue"><a href="https://www.globalsign.com/" target=_blank title="GlobalSign nv-sa" rel="nofollow"><img alt="GlobalSign nv-sa" border=0 id="ss_img" src="//seal.globalsign.com/SiteSeal/images/gs_noscript_110-45_en.gif"></a></span><script type="text/javascript" src="//seal.globalsign.com/SiteSeal/gmogs_image_110-45_en_dblue.js"></script></td></tr></table><!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT --->
|
||||
</html>
|
|
@ -0,0 +1,42 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Library of Code</title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<script
|
||||
src="https://browser.sentry-cdn.com/6.19.1/bundle.min.js"
|
||||
integrity="sha384-GRagWAKYasaEEyhq5NqRz9Hs7zZOXt+DwzY/WGbWZBkpvt5+lZxITNyU3bD7SFk5"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script>
|
||||
Sentry.init({
|
||||
dsn: "https://5e09616da86344c5b5e2629d85914857@sentry.libraryofcode.org/4",
|
||||
});
|
||||
Sentry.setTag('hostname', window.location.hostname);
|
||||
Sentry.captureException(new Error('502 BAD GATEWAY'));
|
||||
function showDialog() {
|
||||
Sentry.showReportDialog();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body bgcolor="white">
|
||||
<center><h1>502 Bad Gateway</h1></center>
|
||||
<p>We received an invalid response from the upstream server.</p>
|
||||
<p><i><a onclick="javascript:showDialog()" href="#">Click here to report this problem to the Department of Engineering</a></i></p>
|
||||
<h2>User</h2>
|
||||
<p>If you're just visiting the site, here are the steps you can take.</p>
|
||||
<ol type=1>
|
||||
<li>Try again in 5 minutes.</li>
|
||||
<li>Contact the site owner for assistance.</li>
|
||||
</ol>
|
||||
<h2>Site Operator</h2>
|
||||
<p>If you're the operator of this site, here are the steps you can take.</p>
|
||||
<ol type=1>
|
||||
<li>This code generally means our gateway received <b>CONNECTION REFUSED</b> while trying to communicate with your application, which means it's not listening on the port.</li>
|
||||
<li>We could be listening on another port than the one you're using, make sure you're using the port given to you by Engineering.</li>
|
||||
<li>If none of these solved your issue, please contact the Department of Engineering at <strong>engineering@libraryofcode.org</strong></li>
|
||||
</ol>
|
||||
<hr><center><a href="https://www.libraryofcode.org/">Library of Code sp-us</a></center>
|
||||
</body>
|
||||
<!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT ---><table width=125 border=0 cellspacing=0 cellpadding=0 title="Verified by: GlobalSign nv-sa" ><tr><td><span id="ss_img_wrapper_gmogs_image_110-45_en_dblue"><a href="https://www.globalsign.com/" target=_blank title="GlobalSign nv-sa" rel="nofollow"><img alt="GlobalSign nv-sa" border=0 id="ss_img" src="//seal.globalsign.com/SiteSeal/images/gs_noscript_110-45_en.gif"></a></span><script type="text/javascript" src="//seal.globalsign.com/SiteSeal/gmogs_image_110-45_en_dblue.js"></script></td></tr></table><!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT --->
|
||||
</html>
|
|
@ -0,0 +1,42 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Library of Code</title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<script
|
||||
src="https://browser.sentry-cdn.com/6.19.1/bundle.min.js"
|
||||
integrity="sha384-GRagWAKYasaEEyhq5NqRz9Hs7zZOXt+DwzY/WGbWZBkpvt5+lZxITNyU3bD7SFk5"
|
||||
crossorigin="anonymous"
|
||||
></script>
|
||||
<script>
|
||||
Sentry.init({
|
||||
dsn: "https://5e09616da86344c5b5e2629d85914857@sentry.libraryofcode.org/4",
|
||||
});
|
||||
Sentry.setTag('hostname', window.location.hostname);
|
||||
Sentry.captureException(new Error('504 GATEWAY TIMEOUT'));
|
||||
function showDialog() {
|
||||
Sentry.showReportDialog();
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body bgcolor="white">
|
||||
<center><h1>504 Gateway Timeout</h1></center>
|
||||
<p>We couldn't contact the upstream server within a reasonable amount of time.</p>
|
||||
<p><i><a onclick="javascript:showDialog()" href="#">Click here to report this problem to the Department of Engineering</a></i></p>
|
||||
<h2>User</h2>
|
||||
<p>If you're just visiting the site, here are the steps you can take.</p>
|
||||
<ol type=1>
|
||||
<li>Try again in 5 minutes.</li>
|
||||
<li>Contact the site owner for assistance.</li>
|
||||
</ol>
|
||||
<h2>Site Operator</h2>
|
||||
<p>If you're the operator of this site, here are the steps you can take.</p>
|
||||
<ol type=1>
|
||||
<li>When 504 is thrown, this generally means the upstream application accepted the request, however it didn't respond within a reasonable amount of time. This may mean that there's an uncaught error in your application.</li>
|
||||
<li>Check your server logs for errors.</li>
|
||||
<li>If none of these solved your issue, please contact the Department of Engineering at <strong>engineering@libraryofcode.org</strong></li>
|
||||
</ol>
|
||||
<hr><center><a href="https://www.libraryofcode.org/">Library of Code sp-us</a></center>
|
||||
</body>
|
||||
<!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT ---><table width=125 border=0 cellspacing=0 cellpadding=0 title="Verified by: GlobalSign nv-sa" ><tr><td><span id="ss_img_wrapper_gmogs_image_110-45_en_dblue"><a href="https://www.globalsign.com/" target=_blank title="GlobalSign nv-sa" rel="nofollow"><img alt="GlobalSign nv-sa" border=0 id="ss_img" src="//seal.globalsign.com/SiteSeal/images/gs_noscript_110-45_en.gif"></a></span><script type="text/javascript" src="//seal.globalsign.com/SiteSeal/gmogs_image_110-45_en_dblue.js"></script></td></tr></table><!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT --->
|
||||
</html>
|
Loading…
Reference in New Issue