Pages trigger download instead of being rendered in chrome

Axel H avatarAxel H created an issue

When navigating through Bitbucket from time to time Pages are downloaded instead of being rendered.

For example when clicking on the Wiki Page for a Repository The browser starts a download. Clicking it again the browser renders this page. The same goes for almost every link on Bitbucket. This behavior is random and occurs very often which is quite annoying.

It seems that Bitbucket destroys the headers sent to the client. They're saved with the downloaded page (Viewed with vi):

^_<8b>^H^@^@^@^@^@^@^C^C^@^@^@^@^@^@^@^@^@HTTP/1.1 200 OK^M
Server: nginx/1.2.4^M
Date: Sat, 29 Dec 2012 13:11:20 GMT^M
Content-Type: text/html; charset=utf-8^M
Transfer-Encoding: chunked^M
Connection: keep-alive^M
X-Served-By: bitbucket05^M
Vary: Cookie^M
X-Version: b04dbe374cd4^M
ETag: "261c9f742df3adbd4e1077ada61dc2c7"^M
X-Static-Version: afebfb091096^M
X-Request-Count: 371^M
Strict-Transport-Security: max-age=2592000^M
Content-Encoding: gzip^M

Comments (2)

  1. Marcus Bertrand

    This is the only report we've had of this, which suggests something going on locally. Please report the details of your account and OS/Browser to support and we'll see what we can do to help.

  2. Axel H

    Thanks for pointing it out. It seems to be a problem with a chrome extension. I disabled all of them now it works without a problem.

    OS: Ubuntu 12.04 Browser: Chromium

  3. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.