3517: New request randomly send error emails

anuj****@gmai***** (Google Code) (Is this you? Claim this profile.)
Aug. 4, 2014
What version are you running?

ReviewBoard 2.0.5

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

/reviewboard/api/repositories/1/commits/

What steps will reproduce the problem?
1. Load 'New Review Request' page
2. Select a branch from the SVN branches shown


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

Error email is sent to administrator , with the last line mentioning a "connection timeout". If this error is related to connectivity to SVN, that shouldn't be an issue at all. Both SVN and RB are on the same Internal Network.

Subject: 

[Review Board] ERROR (EXTERNAL IP): Internal Server Error: /reviewboard/api/repositories/1/commits/

Message Body:

Traceback (most recent call last):

  File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py", line 112, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/views/decorators/cache.py", line 52, in _wrapped_view_func
    response = view_func(request, *args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/views/decorators/vary.py", line 19, in inner_func
    response = func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/resources.py", line 494, in __call__
    request, method, view, api_format=api_format, *args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/resources.py", line 565, in call_method_view
    return view(request, *args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/decorators.py", line 117, in _call
    return view_func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/webapi/decorators.py", line 110, in _check
    return view_func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/decorators.py", line 117, in _call
    return view_func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/webapi/decorators.py", line 31, in _check
    return webapi_login_required(view_func)(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/decorators.py", line 117, in _call
    return view_func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/decorators.py", line 138, in _checklogin
    return view_func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/decorators.py", line 117, in _call
    return view_func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/decorators.py", line 117, in _call
    return view_func(*args, **kwargs)

  File "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/decorators.py", line 287, in _validate
    return view_func(*args, **new_kwargs)

  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/webapi/resources/repository_commits.py", line 84, in get
    items = repository.get_commits(branch=branch, start=start)

  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/scmtools/models.py", line 323, in get_commits
    commits = cache_memoize(cache_key, commits_callable)

  File "/usr/local/lib/python2.7/dist-packages/Djblets-0.8.8-py2.7.egg/djblets/cache/backend.py", line 118, in cache_memoize
    data = lookup_callable()

  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/scmtools/models.py", line 316, in <lambda>
    lambda: self.get_scmtool().get_commits(**commits_kwargs)

  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/scmtools/svn/__init__.py", line 169, in get_commits
    limit_to_path=False)

  File "/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/scmtools/svn/pysvn.py", line 217, in get_log
    strict_node_history=limit_to_path)

ClientError: Connection timed out


What operating system are you using? What browser?

Ubuntu 12.04

Please provide any additional information below.

N/A
#1 anuj****@gmai***** (Google Code) (Is this you? Claim this profile.)
Is there a way to disable these email notifications?
david
#2 david
This sounds like it's a problem with your environment (timing out trying to communicate with your repository).

These error emails get sent to the "administrator e-mail" in the general settings. AFAIK there's no way to turn them off completely, but you could redirect them to another account.
  • +SetupIssue