https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-12-15T12:34:51ZRedmineRedmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=347602011-12-15T12:34:51ZFlorian Reischer
<ul><li><strong>File</strong> <a href="/attachments/6935">saveAsPopupBug.png</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/6935/saveAsPopupBug.png">saveAsPopupBug.png</a> added</li></ul> Redmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=348002011-12-15T23:09:01ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Resolution</strong> set to <i>Cant reproduce</i></li></ul><p>Can you post the response headers?</p> Redmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=348062011-12-16T06:01:14ZFlorian Reischer
<ul></ul><p>How can i do that? I found a script</p>
<p><script language="JavaScript" type="text/javascript"><br /><!--<br />var http = new ActiveXObject('Microsoft.XMLHTTP');<br />// display headers of current document:<br />http.open('HEAD', location.href, false);<br />http.send();<br />alert(http.getAllResponseHeaders())<br /></script></p>
<p>but this is for self created pages (and IE i guess)...<br />Can chrome possibly display the information?</p> Redmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=348072011-12-16T06:11:05ZFlorian Reischer
<ul></ul><p>Okay i found a tool in chrome that is called <br />HTTP Headers:</p>
<p>It shows only little information e.g.</p>
<p>HTTP-Request-Status: 200 (OK)<br />Name Wert<br />Date Fri, 16 Dec 2011 06:10:09 GMT<br />Status 200<br />Content-Length 126948<br />X-Runtime 722<br />Server Mongrel 1.1.5<br />ETag "a6a18c156789bd8019de3f6e473bfd47" <br />Content-Type text/html; charset=utf-8<br />Cache-Control private, max-age=0, must-revalidate</p>
<p>But there is no information about the response.... ? :-/</p> Redmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=348082011-12-16T06:36:41ZFlorian Reischer
<ul><li><strong>File</strong> <a href="/attachments/6936">Headers.docx</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/6936/Headers.docx">Headers.docx</a> added</li></ul> Redmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=348142011-12-16T08:14:26ZEtienne Massip
<ul></ul><p>Just push F12 in chrome and observe Network tab.</p> Redmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=348652011-12-17T12:07:04ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>The response content type (text/html) looks fine. I don't know why your browser opens the save dialog. Never experienced this issue.</p> Redmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=349122011-12-20T05:35:02ZFlorian Reischer
<ul></ul><p>A collegue uses Firefox and experiences the same issue on the same installation.<br />I guess i was not accurately capturing the correct response header in the word document.<br />I will try to reproduce and re-capture the response header.<br />Actually my collegue told me that it was a kind of Stream response so the Save dialog opened up.<br />I will try to filter such a repsonse and post it here.</p> Redmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=350902012-01-03T07:47:09ZFlorian Reischer
<ul><li><strong>File</strong> <a href="/attachments/6999">gantt.har</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/6999/gantt.har">gantt.har</a> added</li></ul><p>I captured a so called HAR file, now i can see the response in the F12, network window of chrome.<br />The content type that is responded from Redmine is octet-Stream (See HAR file).<br />That's why the browser tries to save the data using a SaveDialog...<br />Is it possible, that the problem is no part of Redmine itself but of the bitnami stack or mongrel (whatever other system is running there in the background)?<br />If yes, then i would move this whole thing to an appropriate forum or community...</p> Redmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=354262012-01-17T23:28:44ZGregory Harrison
<ul></ul><p>I am experiencing the same issue.</p>
<p>Redmine 1.3.0.stable with Bitnami. Using Chrome 16.0.912.75 m, bitnami-redmine-1.3.0-1 on windows. Issue description (besides versions) is spot on.</p>
<p>Have you had any success with this, Florian?</p> Redmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=354282012-01-18T06:58:29ZFlorian Reischer
<ul></ul><p>Hello Gregory,<br />no there was no change... It popsup from time to time.<br />I figured out, that the content type changes to octet-stream from time to time, that's when we get the save dialog in the browser.<br />I was planning to report this issue in a bitnami forum as well, i thought it might have a connection to the caching... i recognized, that when i do not change anything in the redmine database, the effect does not appear, but when acutally modifying a ticket for example and then clicking on gantt, the issue appears.<br />This must be a bug somewhere but since nobody in here could replay it... <del>> :</del>/</p> Redmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=355692012-01-26T18:32:28ZWojtek …
<ul></ul><p>have the same issue. the file download dialog appears under chrome and firefox, under Opera it works OK.<br />It happens every time POST is used (login, logout, create new issue, update, etc), our site use redmine-1.3.0, apache, fastcgi. the headers:<br /><pre>
URL: https://site/logout
Method: GET
Status: 302 Found
Duration: 0
Request details
GET /logout HTTP/1.1
User-Agent: Opera/9.80 (Windows NT 6.1; U; Edition Next; en) Presto/2.10.238 Version/12.00
Host: site
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: en
Accept-Encoding: gzip, deflate
Referer: https://site/
Cookie: autologin=...
Cache-Control: no-cache
Connection: Keep-Alive
Request body
Response details
HTTP/1.1 302 Found
Date: Thu, 26 Jan 2012 16:12:06 GMT
Server: Apache/2.2.12 (Ubuntu)
X-Runtime: 3
Content-Length: 94
Set-Cookie: autologin=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie: _redmine_session=...
Cache-Control: no-cache
Location: https://site/
Vary: Accept-Encoding
Content-Encoding: gzip
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8
; and then
Request details
GET / HTTP/1.1
User-Agent: Opera/9.80 (Windows NT 6.1; U; Edition Next; en) Presto/2.10.238 Version/12.00
Host: site
Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1
Accept-Language: en
Accept-Encoding: gzip, deflate
Referer: https://site/
If-None-Match: ...
Connection: Keep-Alive
Response details
HTTP/1.1 200 OK
Date: Thu, 26 Jan 2012 16:12:06 GMT
Server: Apache/2.2.12 (Ubuntu)
ETag: ...
X-Runtime: 42
Content-Length: 7020
Set-Cookie: ...
Cache-Control: private, max-age=0, must-revalidate
Vary: Accept-Encoding
Content-Encoding: gzip
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8
</pre></p>
<p>same scenario under Fx:<br /><pre>
(Request-Line)
GET /logout HTTP/1.1
Host site
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en,en-gb;q=0.5
Accept-Encoding gzip, deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection keep-alive
Referer https://site/
Cookie ...
(Status-Line)
HTTP/1.1 302 Found
Date Thu, 26 Jan 2012 16:06:53 GMT
Server Apache/2.2.12 (Ubuntu)
X-Runtime 4
Content-Length 94
Set-Cookie autologin=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
Set-Cookie _redmine_session=...
Cache-Control no-cache
Location https://site/
Vary Accept-Encoding
Content-Encoding gzip
Keep-Alive timeout=15, max=100
Connection Keep-Alive
Content-Type text/html; charset=utf-8
; and then
(Request-Line)
GET / HTTP/1.1
Host site
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en,en-gb;q=0.5
Accept-Encoding gzip, deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Connection keep-alive
Referer https://site/
Cookie _redmine_session=...
(Status-Line) HTTP/0.9 200 OK
</pre></p>
<p>for my taste <em>requests</em> looks ok (only the response under Fx/chrome is wrong), same goes for the logs; opera:</p>
<pre>
Processing AccountController#login (for 213.238.94.38 at 2012-01-26 16:42:24) [GET]
Parameters: {"action"=>"login", "controller"=>"account"}
Rendering template within layouts/base
Rendering account/login
Completed in 16ms (View: 13, DB: 0) | 200 OK [https://site/login]
Processing AccountController#login (for 213.238.94.38 at 2012-01-26 16:42:30) [POST]
Parameters: {"back_url"=>"https%3A%2F%2Fsite%2F", "action"=>"login", "authenticity_token"=>"...", "username"=>"wojtek", "autologin"=>"1", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Login Âť"}
Redirected to https://site/
Completed in 17ms (DB: 5) | 302 Found [https://site/login]
Processing WelcomeController#index (for 213.238.94.38 at 2012-01-26 16:42:31) [GET]
Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/base
Rendering welcome/index
Completed in 67ms (View: 60, DB: 2) | 200 OK [https://site/]
</pre>
<p>and under chrome:<br /><pre>
Processing AccountController#login (for 213.238.94.38 at 2012-01-26 16:43:10) [GET]
Parameters: {"action"=>"login", "controller"=>"account"}
Rendering template within layouts/base
Rendering account/login
Completed in 15ms (View: 12, DB: 1) | 200 OK [https://site/login]
Processing AccountController#login (for 213.238.94.38 at 2012-01-26 16:43:12) [POST]
Parameters: {"back_url"=>"https%3A%2F%2Fsite%2F", "action"=>"login", "authenticity_token"=>"....", "username"=>"wojtek", "controller"=>"account", "password"=>"[FILTERED]", "login"=>"Login Âť"}
Redirected to https://site/
Completed in 18ms (DB: 1) | 302 Found [https://site/login]
Processing WelcomeController#index (for 213.238.94.38 at 2012-01-26 16:43:12) [GET]
Parameters: {"action"=>"index", "controller"=>"welcome"}
Rendering template within layouts/base
Rendering welcome/index
Completed in 205ms (View: 197, DB: 2) | 200 OK [https://site/]
</pre></p>
<p>any idea how to debug it</p> Redmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=356082012-01-30T11:18:38ZWojtek …
<ul></ul><p>it seems that the culprit, for some reason, was KeepAlive in the apache2 with the default 15 seconds -- for that time, even thought the page was loaded and displayed the connection was on (active indicator that the page is loading under IE and Opera) and caused download dialog under Firefox and Chrome.</p>
<p>At the bottom - is it safe for apache-fastsgi-redmine configuration to turn off the KeepAlive?</p> Redmine - Defect #9811: SaveFileDialog popsup on various linkshttps://www.redmine.org/issues/9811?journal_id=1089432022-12-29T06:40:31ZGo MAEDA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul>