Hi Liam, This sounds like you're proxy server is being used for requests to your internal Review Board, which the proxy server is failing to access properly.
I'm on the road so I can't give you exact details, but there's a command line option and configuration flag for telling RBTools to skip using your proxy server. --no-proxy, I want to say. Christian On Wednesday, February 18, 2015, Liam Reimers <liam.reim...@gmail.com> wrote: > After fiddling with this some more, I ended up discarding the repo config > and creating a new config as a Gitlab repo. This seems to have worked, > however, when I try to post a review: > > 08:03 $ rbt post -g yes --bugs-closed 19788098 -d > >>> RBTools 0.7.1 > >>> Python 2.6.9 (unknown, Sep 9 2014, 15:05:12) > [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] > >>> Running on Darwin-14.1.0-x86_64-i386-64bit > >>> Home = /Users/user > >>> Current directory = /Users/user/Code/repo > >>> Checking for a Subversion repository... > >>> Running: svn info --non-interactive > >>> Command exited with rc 1: ['svn', 'info', '--non-interactive'] > svn: E155007: '/Users/user/Code/repo' is not a working copy > --- > >>> Checking for a Git repository... > >>> Running: git rev-parse --git-dir > >>> Running: git config core.bare > >>> Running: git rev-parse --show-toplevel > >>> Running: git symbolic-ref -q HEAD > >>> Running: git config --get branch.PR19788098.merge > >>> Command exited with rc 1: ['git', 'config', '--get', > u'branch.PR19788098.merge'] > --- > >>> Running: git config --get branch.PR19788098.remote > >>> Command exited with rc 1: ['git', 'config', '--get', > u'branch.PR19788098.remote'] > --- > >>> Running: git config --get remote.origin.url > >>> repository info: Path: https://gitlab/group/repo.git, Base path: , > Supports changesets: False > >>> Making HTTP GET request to http://reviewboard/api/ > >>> Running: git rev-parse refs/heads/PR19788098 > >>> Running: git merge-base 3eea08c87f4ee336ec0d25108bc0224e7bbf5213 > origin/master > >>> Running: git rev-parse 62ca39aa4ab94b9f0b5f55e75ce8138b63c8b1d8 > >>> Running: git status --porcelain --untracked-files=no > >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff > --no-color --full-index --ignore-submodules -M --no-ext-diff > 62ca39aa4ab94b9f0b5f55e75ce8138b63c8b1d8..3eea08c87f4ee336ec0d25108bc0224e7bbf5213 > >>> Making HTTP GET request to http://reviewboard/api/validation/diffs/ > >>> Cached response for HTTP GET http://reviewboard/api/validation/diffs/ > expired and was modified > >>> Making HTTP POST request to http://reviewboard/api/validation/diffs/ > >>> Got HTTP error: 502: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> > <html><head> > <title>502 Proxy Error</title> > </head><body> > <h1>Proxy Error</h1> > <p>The proxy server received an invalid > response from an upstream server.<br /> > The proxy server could not handle the request <em><a > href="/api/validation/diffs/">POST /api/validation/diffs/</a></em>.<p> > Reason: <strong>Error reading from remote server</strong></p></p> > <hr> > <address>Apache/2.2.15 (Oracle) Server at reviewboard Port 80</address> > </body></html> > > Traceback (most recent call last): > File "/usr/local/bin/rbt", line 8, in <module> > load_entry_point('RBTools==0.7.1.dev', 'console_scripts', 'rbt')() > File "/Library/Python/2.6/site-packages/rbtools/commands/main.py", line > 133, in main > command.run_from_argv([RB_MAIN, command_name] + args) > File "/Library/Python/2.6/site-packages/rbtools/commands/__init__.py", > line 538, in run_from_argv > exit_code = self.main(*args) or 0 > File "/Library/Python/2.6/site-packages/rbtools/commands/post.py", line > 670, in main > (msg_prefix, e)) > rbtools.commands.CommandError: Error validating diff > > HTTP 502 > -- -- Christian Hammond - christ...@beanbaginc.com Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com -- 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 "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.