Hi,

I wasn't even aware of any Perl bindings that talk to Review Board in the
first place. Is this something that's in-house?

I'm not entirely sure from the log output what the failure is. It looks to
be failing to authenticate via the API, but whether this is bad
credentials/API token being passed in the Authorization header in the
request, or a communication error with LDAP, I can't say from the output.

Can you give me more information on what's being sent and how you're
forming the request?

Can you verify that the request is sending an Authorization: header in a
request, and what form of authentication the client is using for this?

Christian

On Thu, May 20, 2021 at 10:00 AM Raghuveer Mudiraj <
[email protected]> wrote:

> Hi,
>
> I have done the LDAP settings on our reviewboard server. However, when I
> am trying to login to the reviewboard server using the below code, it is
> throwing the below error:
>
> DEBUG: CM::RBDBI::__RBinit__: HASH(0x2a5aae0)
> DEBUG: CM::RBDBI::__RBinit__: HTTP::Headers=HASH(0x2b9f0f0)
> DEBUG: CM::RB::RBGet: URL=https://<reviewboard server>:443/api
> DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b9f0f0)
> DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x332c288)
> DEBUG: CM::RB::RBprocess: status = 200 OK
> DEBUG: CM::RBDBI::ConnectToRBServer: Connected to Review Board Server
> using url https://<reviewboard server>:443/api
> DEBUG: CM::RBDBI::__RBinit__: HASH(0x2a5aae0)
> DEBUG: CM::RBDBI::__RBinit__: HTTP::Headers=HASH(0x2b72340)
> DEBUG: CM::RB::RBGet: URL=https://<reviewboard
> server>:443/api/review-requests/58656
> DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b72340)
> DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x3331b38)
> DEBUG: CM::RB::RBprocess: status = 401 UNAUTHORIZED
> <br>Bad response while posting data (401 UNAUTHORIZED)
> <br>Message = UNAUTHORIZED
> DEBUG: main::checkChangeIDStatus: All changes
> DEBUG: CM::RBDBI::GetRBFieldValueUsingURL: The URL = https://<reviewboard
> server>:443/api/review-requests/58656
> DEBUG: CM::RBDBI::GetRBFieldValueUsingURL: The Header is =
> HTTP::Headers=HASH(0x2b72340)
> DEBUG: CM::RB::RBGet: URL=https://<reviewboard
> server>:443/api/review-requests/58656
> DEBUG: CM::RB::RBGet: Header=HTTP::Headers=HASH(0x2b72340)
> DEBUG: CM::RB::RBGet: Response=HTTP::Response=HASH(0x35752a0)
> DEBUG: CM::RB::RBprocess: status = 401 UNAUTHORIZED
> <br>Bad response while posting data (401 UNAUTHORIZED)
> <br>Message = UNAUTHORIZED
>
> this is failing due to login as anonymous account. Even if I try to give
> the LDAP account credentials this is treating as anonymouse account. Do we
> have any perl code which login the reviewboard server api using LDAP
> credentials?
>
> --
> 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/e7f8f283-8981-4601-ba4f-653f24f11974n%40googlegroups.com
> <https://groups.google.com/d/msgid/reviewboard/e7f8f283-8981-4601-ba4f-653f24f11974n%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/CAE7VndncD7H_LKwcOCq4y%3D0wYWJ853fz2FsP%3DSfbM5KVNZkH6A%40mail.gmail.com.

Reply via email to