4163: javascript error and timeout when filing a review

lorenzog

What version are you running?

2.5.2

What's the URL of the page containing the problem?

https://<host>/reviewboard/r/4/#

What steps will reproduce the problem?

  1. Create a new review request
  2. Click on Reviewers/People
  3. Start typing a name, click on any user
  4. Press OK
  5. The "loading" spinning wheel appears on top of the page

What is the expected output? What do you see instead?

Expected output is a confirm of a successful review. Instead, the page times out after a few minutes with a warning of a system error. The error is:

Server Error Details

Error Code: 0

Error Text: [Exception... "" nsresult: "0x805e0006 ()" location: "JS frame :: https://<host>/reviewboard/static/lib/js/jquery-1.11.1.min.8101d596b2b8.js :: .send :: line 4" data: no]

Request URL: http://127.0.0.1:8100/reviewboard/api/review-requests/4/last-update/

Request Data: (none)

In the box below, "Undefined" appears.

In the browser console, I see this:

"Blocked loading mixed active content "http://127.0.0.1:8100/reviewboard/api/review-requests/4/draft/?api_format=json&force-text-type=html&include-text-types=raw&expand=depends_on%2Ctarget_people%2Ctarget_groups"[Learn More] jquery-1.11.1.min.8101d596b2b8.js:4:0

TypeError: rsp is undefined reviews.min.44ba9ef6d795.js:1:15015

Blocked loading mixed active content "http://127.0.0.1:8100/reviewboard/api/review-requests/4/last-update/?api_format=json"[Learn More] jquery-1.11.1.min.8101d596b2b8.js:4:0"

What operating system are you using? What browser?

Server: Ubuntu Trusty 14.04.3 LTS
Browser: Firefox 38.6.1 "Iceweasel" on Debian; same behaviour found with Chromium 48.0.2564.82 Built on 8.3, running on Debian 8.3 (64-bit). No ad blockers installed.

Please provide any additional information below.

  • Reviewboard runs on port :8100 behind a reverse Apache Proxy. Here is a snippet of the config:

    ProxyPass /reviewboard http://127.0.0.1:8100/reviewboard
    ProxyPassReverse /reviewboard http://127.0.0.1:8100/reviewboard
    
  • Reviewboard logs (enabled with DEBUG) do not show anything as the timeout is on the UI component client-side.

  • I tried adding default reviewers and default groups, but doesn't help
  • File settings_local.py contains ALLOWED_HOSTS = ['*'] (using the domain name would result in a 400 BAD REQUEST error).
  • Trying with ALLOWED_HOSTS = ['127.0.0.1'] results in the same error.
  • While trying, I can see several of the following in the other_vhosts_access.log file:

<host>:8100 ::1 - - [18/Feb/2016:17:22:56 +0000] "OPTIONS * HTTP/1.0" 200 125 "-" "Apache/2.4.7 (Ubuntu) OpenSSL/1.0.1f mod_wsgi/3.4 Python/2.7.6 (internal dummy connection)"

david
#1 david

I know it's been a while, but can you tell me what the configured server name is in the "General" page of the admin site?

  • -New
    +NeedInfo
david
#2 david
  • -NeedInfo
    +Incomplete