We experienced the same issue, and it appears to be caused by RBTools switching the server URL from using HTTPS to HTTP. Our server is configured to redirect HTTP requests to the equivalent HTTPS URL. When we disabled this and instead simply allowed HTTP requests, the post command works.
See attached "rbtools.debug" file. Note how the very first API request is made to https://review.mycompany.com/api/, but subsequent API requests all use http://review.mycompany.com/api/. On Monday, 28 November 2022 at 01:03:23 UTC Christian Hammond wrote: > Hi Szymon, > > I'm sure it's nothing you did wrong. We may have a bug in RBTools. > > Can you run the same command but with the --debug argument, and paste the > full results? That can help me to figure out what it's trying to do and > where it's going wrong. > > Thanks, > > Christian > > On Sat, Nov 26, 2022 at 2:56 PM Szymon Niemiec <[email protected]> > wrote: > >> Hello everyone, >> >> Today I wanted to setup ReviewBoard version 5.0.1 for some of my Git >> repositories. >> Web application is working fine. >> I've added first repository from the admin area and pointed Path: setting >> to local directory, where the repo resides. (I was using this guide >> https://www.reviewboard.org/docs/manual/dev/admin/configuration/repositories/git/#using-a-local-clone) >> >> >> >> It seem to be configured fine. >> However, when I made example change and try to use `rbt post`, it fails: >> >> ``` >> root@reviewboard:/home/www-data/repos/myrepo# rbt post >> Validating commits... >> [0/1] >> CRITICAL: This ValidateDiffCommitResource does not have an attribute >> "validation_info". >> ``` >> >> I don't understand the error message. What is validation_info? What did I >> misconfigure? >> >> Thank you for any help! >> Best regards, >> Szymon >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/reviewboard/cf94a93f-34e8-4ff4-b9bd-6ec6b1b0e210n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/reviewboard/cf94a93f-34e8-4ff4-b9bd-6ec6b1b0e210n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Christian Hammond > President/CEO of Beanbag <https://www.beanbaginc.com/> > Makers of Review Board <https://www.reviewboard.org/> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/435459b8-e1b7-484e-897c-533142019aafn%40googlegroups.com.
rbtools.debug
Description: Binary data
