[tor-commits] [metrics-web/master] Yes, we already know that we have a database problem.

karsten at torproject.org karsten at torproject.org
Mon Nov 7 14:50:15 UTC 2011


commit 14bf37488c5774f87adac9762bd35900662769c9
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Mon Nov 7 15:44:36 2011 +0100

    Yes, we already know that we have a database problem.
---
 src/org/torproject/ernie/web/RelayServlet.java |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/src/org/torproject/ernie/web/RelayServlet.java b/src/org/torproject/ernie/web/RelayServlet.java
index 037a1e4..64f343d 100644
--- a/src/org/torproject/ernie/web/RelayServlet.java
+++ b/src/org/torproject/ernie/web/RelayServlet.java
@@ -184,7 +184,10 @@ public class RelayServlet extends HttpServlet {
         out.println("<p><font color=\"red\"><b>Warning: </b></font>We "
             + "experienced an unknown database problem while looking up "
             + "the relay with fingerprint starting with "
-            + fingerprintParameter + ". If this problem persists, please "
+            + fingerprintParameter + ". Unfortunately, this is very "
+            + "likely a <a href=\"https://trac.torproject.org/projects/"
+            + "tor/ticket/4406\">known problem</a>. If you don't think "
+            + "these problems are related, please "
             + "<a href=\"mailto:tor-assistants at torproject.org\">let us "
             + "know</a>!</p>\n");
         writeFooter(out);
@@ -279,7 +282,10 @@ public class RelayServlet extends HttpServlet {
           + "experienced an unknown database problem while looking up "
           + "the relay with fingerprint "
           + (fingerprintParameter.length() < 40 ? "starting with " : "")
-          + fingerprintParameter + ". If this problem persists, please "
+          + fingerprintParameter + ". Unfortunately, this is very likely "
+          + "a <a href=\"https://trac.torproject.org/projects/tor/ticket"
+          + "/4406\">known problem</a>. If you don't think these "
+          + "problems are related, please "
           + "<a href=\"mailto:tor-assistants at torproject.org\">let us "
           + "know</a>!</p>\n");
       writeFooter(out);
@@ -330,8 +336,10 @@ public class RelayServlet extends HttpServlet {
       } catch (SQLException e) {
         out.write("<br/><p><font color=\"red\"><b>Warning: </b></font>"
             + "Internal server error when looking up descriptor. The "
-            + "query was '" + query + "'. If this problem persists, "
-            + "please "
+            + "query was '" + query + "'. Unfortunately, this is very "
+            + "likely a <a href=\"https://trac.torproject.org/projects/"
+            + "tor/ticket/4406\">known problem</a>. If you don't think "
+            + "these problems are related, please "
             + "<a href=\"mailto:tor-assistants at torproject.org\">let us "
             + "know</a>!</p>\n");
         writeFooter(out);



More information about the tor-commits mailing list