Changes required in reviewboard after repo server migration from http to https

11 views
Skip to first unread message

Manoj Sharma

unread,
Apr 21, 2022, 12:31:39 PM4/21/22
to Review Board Community

Hi there,

We've recently migrated our repository server (10.1.1.2) which now works over https (instead of http).

With above change, review board is now reporting following problem when I do view diff

Can you please suggest how to resolve this problem?

Diff currently unavailable.

Error: OPTIONS of 'http://10.1.1.2/repos/automation/trunk/scripts/abc.sh': 200 OK (http://10.1.1.2)

Details

Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.9-py2.6.egg/reviewboard/diffviewer/views.py", line 251, in view_diff_fragment diff_file = get_requested_diff_file() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.9-py2.6.egg/reviewboard/diffviewer/views.py", line 171, in get_requested_diff_file populate_diff_chunks(files, highlighting, request=request) File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.9-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 345, in populate_diff_chunks chunks = generator.get_chunks() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.9-py2.6.egg/reviewboard/diffviewer/chunk_generator.py", line 137, in get_chunks large_data=True) File "/usr/lib/python2.6/site-packages/Djblets-0.7.15-py2.6.egg/djblets/util/misc.py", line 156, in cache_memoize data = lookup_callable() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.9-py2.6.egg/reviewboard/diffviewer/chunk_generator.py", line 136, in <lambda> lambda: list(self._get_chunks_uncached()), File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.9-py2.6.egg/reviewboard/diffviewer/chunk_generator.py", line 141, in _get_chunks_uncached old = get_original_file(self.filediff, self.request) File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.9-py2.6.egg/reviewboard/diffviewer/diffutils.py", line 124, in get_original_file request) File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.9-py2.6.egg/reviewboard/scmtools/models.py", line 170, in get_file large_data=True)[0] File "/usr/lib/python2.6/site-packages/Djblets-0.7.15-py2.6.egg/djblets/util/misc.py", line 156, in cache_memoize data = lookup_callable() File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.9-py2.6.egg/reviewboard/scmtools/models.py", line 169, in <lambda> lambda: [self._get_file_uncached(path, revision, request)], File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.9-py2.6.egg/reviewboard/scmtools/models.py", line 250, in _get_file_uncached data = self.get_scmtool().get_file(path, revision) File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.9-py2.6.egg/reviewboard/scmtools/svn.py", line 188, in get_file return self._do_on_path(get_file_data, path, revision) File "/usr/lib/python2.6/site-packages/ReviewBoard-1.7.9-py2.6.egg/reviewboard/scmtools/svn.py", line 172, in _do_on_path raise SCMError(e) SCMError: OPTIONS of 'http://10.1.1.2/repos/automation/trunk/scripts/abc.sh': 200 OK (http://10.1.1.2)

David Trowbridge

unread,
Apr 21, 2022, 12:33:22 PM4/21/22
to reviewboard
You can update this by going to the admin site and clicking "General" under "Settings". Change the "Server" field (and perhaps the media/static URLs if necessary) to be https instead of http.

David

--
Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups "Review Board Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/cd09e930-de8e-4621-a569-a9d2f4f6a1a8n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages