Project

General

Profile

Actions

Defect #15037

closed

Redmine not rendering any page!!! HELP!

Added by Jack Reacher over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hi!

Yesterday our Redmine worked great, but today from outside the redmine is not render the page, instead send a part of the source code to the client.
So if I visit redmine from internal network (192.168.x.xx) then it works perfectly but when I try to reach it from outside (mail.unit.hu:7200) than instead of rendering the page is send a part of the HTML sourcecode.

Comparing a working page sourcecode and the not workins site it cut the start of the sourcecode, the entire head tag and a little from body and insert a number instad of the missing code. And enter the missing code the bottom of the page with http headers

Working login page


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Redmine</title>
<meta name="description" content="Redmine" />
<meta name="keywords" content="issue,bug,tracker" />
<meta content="authenticity_token" name="csrf-param" />
<meta content="He8PeBopIl8wfuBLkWqYap2FfSmQ7LbQtUCd8kojMFA=" name="csrf-token" />
<link rel='shortcut icon' href='/favicon.ico?1373820670' />
<link href="/stylesheets/jquery/jquery-ui-1.9.2.css?1373820670" media="all" rel="stylesheet" type="text/css" />
<link href="/stylesheets/application.css?1373820670" media="all" rel="stylesheet" type="text/css" />

<script src="/javascripts/jquery-1.8.3-ui-1.9.2-ujs-2.0.3.js?1373820670" type="text/javascript"></script>
<script src="/javascripts/application.js?1373820670" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
$(window).load(function(){ warnLeavingUnsaved('A jelenlegi oldal nem mentett módosításokat tartalmaz, ami elvész, ha elhagyja az oldalt.'); });
//]]>
</script>

<!-- page specific tags -->
</head>
<body class="controller-account action-login">
<div id="wrapper">
<div id="wrapper2">
<div id="wrapper3">
<div id="top-menu">
    <div id="account">
        <ul><li><a href="/login" class="login">Bejelentkezés</a></li></ul>    </div>

    </div>

<div id="header">

    <h1>Redmine</h1>

</div>

<div id="main" class="nosidebar">
    <div id="sidebar">

    </div>

    <div id="content">

<div id="login-form">
<form accept-charset="UTF-8" action="/login" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="He8PeBopIl8wfuBLkWqYap2FfSmQ7LbQtUCd8kojMFA=" /></div>
<input name="back_url" type="hidden" value="http://svr2008:7200/" />
<table>
<tr>
    <td align="right"><label for="username">Azonosító:</label></td>
    <td align="left"><input id="username" name="username" tabindex="1" type="text" /></td>
</tr>
<tr>
    <td align="right"><label for="password">Jelszó:</label></td>
    <td align="left"><input id="password" name="password" tabindex="2" type="password" /></td>
</tr>
<tr>
    <td></td>
    <td align="left">
        <label for="autologin"><input id="autologin" name="autologin" tabindex="4" type="checkbox" value="1" /> Emlékezzen rám</label>
    </td>
</tr>
<tr>
    <td align="left">
            <a href="/account/lost_password">Elfelejtett jelszó</a>
    </td>
    <td align="right">
        <input type="submit" name="login" value="Bejelentkezés &#187;" tabindex="5"/>
    </td>
</tr>
</table>
</form></div>

<script type="text/javascript">
//<![CDATA[
$('#username').focus();
//]]>
</script>

        <div style="clear:both;"></div>
    </div>
</div>
</div>

<div id="ajax-indicator" style="display:none;"><span>Betöltés...</span></div>
<div id="ajax-modal" style="display:none;"></div>

<div id="footer">
  <div class="bgl"><div class="bgr">
    Powered by <a href="http://www.redmine.org/">Redmine</a> &copy; 2006-2013 Jean-Philippe Lang
  </div></div>
</div>
</div>
</div>

</body>
</html>

Not working loginpage

848
ion-login">
<div id="wrapper">
<div id="wrapper2">
<div id="wrapper3">
<div id="top-menu">
    <div id="account">
        <ul><li><a href="/login" class="login">BejelentkezĂŠs</a></li></ul>    </div>

    </div>

<div id="header">

    <h1>Redmine</h1>

</div>

<div id="main" class="nosidebar">
    <div id="sidebar">

    </div>

    <div id="content">

<div id="login-form">
<form accept-charset="UTF-8" action="/login" method="post"><div style="margin:0;padding:0;display:inline"><input name="utf8" type="hidden" value="&#x2713;" /><input name="authenticity_token" type="hidden" value="gGbumwH9Od9JNvFA7dHD3IZFeLFt5TiYUXy32RpS7k8=" /></div>
<input name="back_url" type="hidden" value="http://mail.unit.hu:7200/" />
<table>
<tr>
    <td align="right"><label for="username">AzonosĂ­tĂł:</label></td>
    <td align="left"><input id="username" name="username" tabindex="1" type="text" /></td>
</tr>
<tr>
    <td align="right"><label for="password">JelszĂł:</label></td>
    <td align="left"><input id="password" name="password" tabindex="2" type="password" /></td>
</tr>
<tr>
    <td></td>
    <td align="left">
        <label for="autologin"><input id="autologin" name="autologin" tabindex="4" type="checkbox" value="1" /> EmlĂŠkezzen rĂĄm</label>
    </td>
</tr>
<tr>
    <td align="left">
            <a href="/account/lost_password">Elfelejtett jelszĂł</a>
    </td>
    <td align="right">
        <input type="submit" name="login" value="BejelentkezĂŠs &#187;" tabindex="5"/>
    </td>
</tr>
</table>
</form></div>

<script type="text/javascript">
//<![CDATA[
$('#username').focus();
//]]>
</script>

        <div style="clear:both;"></div>
    </div>
</div>
</div>

<div id="ajax-indicator" style="display:none;"><span>BetĂśltĂŠs...</span></div>
<div id="ajax-modal" style="display:none;"></div>

<div id="footer">
  <div class="bgl"><div class="bgr">
    Powered by <a href="http://www.redmine.org/">Redmine</a> &copy; 2006-2013 Jean-Philippe Lang
  </div></div>
</div>
</div>
</div>

</body>
</html>
HTTP/1.1 500 ( MeghatĂĄrozatlan hiba  )
Connection: close
Prag
808
ma: no-cache
Cache-Control: no-cache
Content-Type: text/html
Content-Length: 1966  

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE>
<STYLE id=L_defaultr_1>A:link {
    FONT: 8pt/11pt verdana; COLOR: #ff0000
}
A:visited {
    FONT: 8pt/11pt verdana; COLOR: #4e4e4e
}
</STYLE>

<META content=NOINDEX name=ROBOTS>
<META http-equiv=Content-Type content="text-html; charset=UTF-8">

<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<TABLE cellSpacing=5 cellPadding=3 width=410>
  <TBODY>
  <TR>
    <TD vAlign=center align=left width=360>
      <H1 id=L_defaultr_2 style="FONT: 13pt/15pt verdana; COLOR: #000000"><ID id=L_defaultr_3><!--Problem-->The page cannot be displayed
</ID></H1></TD></TR>
  <TR>
    <TD width=400 colSpan=2><FONT id=L_defaultr_4
      style="FONT: 8pt/11pt verdana; COLOR: #000000"><ID id=L_defaultr_5><B>Explanation: </B>There is a problem with the page you are trying to reach and it cannot be displayed.</ID></FONT></TD></TR>
  <TR>
    <TD width=400 colSpan=2><FONT id=L_defaultr_6 
      style="FONT: 8pt/11pt verdana; COLOR: #000000">
      <HR color=#c0c0c0 noShade>

      <P id=L_defaultr_7><B>Try the following:</B></P>
      <UL>
        <LI id=L_defaultr_8><B>Refresh page:</B> Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion.
<LI id=L_defaultr_9><B>Check spelling:</B> Check that you typed the Web page address correctly. The address may have been mistyped.
<LI id=L_defaultr_10><B>Access from a link:</B> If there is a link to the page you are looking for, try accessing the page from that link.

      </UL>
      <HR color=#c0c0c0 noShade>

      <P id=L_defaultr_11>Technical Information (for support personnel)</P>
      <UL>
        <LI id=L_defaultr_12>Error Code: 500 Internal Server Error. MeghatĂĄrozatlan hiba (-2147467259)

        </UL></FONT></TD></TR></TBODY></TABLE></BODY></HTML>

0

It seems the not working site try to send me an error page. It is in the sourcecode:
The page cannot be displayed
Explanation: There is a problem with the page you are trying to reach and it cannot be displayed.
Try the following:
Refresh page: Search for the page again by clicking the Refresh button. The timeout may have occurred due to Internet congestion.
Check spelling: Check that you typed the Web page address correctly. The address may have been mistyped.
Access from a link: If there is a link to the page you are looking for, try accessing the page from that link.

Any help appricated! Thanks!

Actions #1

Updated by Jan Niggemann (redmine.org team member) over 10 years ago

  • Status changed from New to Closed
  • Resolution set to Invalid

So if I visit redmine from internal network (192.168.x.xx) then it works perfectly but when I try to reach it from outside (mail.unit.hu:7200) than instead of rendering the page is send a part of the HTML sourcecode.

So it's not redmine itself that has a problem; I'm closing this issue.
Your webserver configuration might be at fault, please post questions on the forums.

Actions

Also available in: Atom PDF