Labels: Type-Defect Priority-Medium
New issue 3385 by pvals...@gmail.com: Error 500 while trying to login when
two url point to the same site
What version are you running?
What's the URL of the page containing the problem?
What steps will reproduce the problem?
1. Have an apache configuration that have two NamedVirtualHost pointing to
exactly the same review board install
2. Configure, in general, one of the two hostname in the "server" field
(for example: https://ipsla.cisco.com)
3. Test a logout/login with the two hostnames.
What is the expected output? What do you see instead?
I expect a normal login for both, but, instead, one of them gives me an
What operating system are you using? What browser?
Ubuntu 14.04, Chrome.
Please provide any additional information below.
I'm attaching my apache config.
Apache error log:
Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 851, in emit
msg = self.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
File "/usr/lib/python2.7/logging/__init__.py", line 467, in format
s = self._fmt % record.__dict__
Logged from file response.py, line 111
The email I received from buildbot:
line 118, in get_response
response = middleware_method(request, e)
line 245, in process_exception
File "/usr/lib/python2.7/logging/__init__.py", line 1586, in error
root.error(msg, *args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1176, in error
self._log(ERROR, msg, args, **kwargs)
line 116, in _log_with_request
old_log(self, *args, **kwargs)
File "/usr/lib/python2.7/logging/__init__.py", line 1269, in _log
File "/usr/lib/python2.7/logging/__init__.py", line 1279, in handle
File "/usr/lib/python2.7/logging/__init__.py", line 1319, in callHandlers
File "/usr/lib/python2.7/logging/__init__.py", line 749, in handle
File "/usr/lib/python2.7/logging/handlers.py", line 424, in emit
ValueError: I/O operation on closed file
The temporary fix I did:
and comment out the implementation of LoggingMiddleware.process_exception
apache.conf 999 bytes
reviewboard.inc 1.6 KB
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to email@example.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.