Unauthorized /api/info/ - Warnings

22 views
Skip to first unread message

yoimnewhere hello

unread,
Aug 17, 2023, 12:02:29 PM8/17/23
to Review Board Development
What does the following logs mean with "AnonymousUser" and Unauthorized django.request? I think it occurs only when the setting "Allow anonymous read-only access" is disabled. Is it normal behaviour that then the following logs are logged and where does the access even come from? Who or what could be the "AnonymousUser" here and why try to access the /api/info/ path?

2023-08-15 10:22:28,211 - WARNING - None - AnonymousUser - /api/info/ - django.request - Unauthorized: /api/info/
[2023-08-15 10:22:28 +0000] [28] [DEBUG] Closing connection. 
[2023-08-15 10:22:58 +0000] [27] [DEBUG] GET /api/info/
2023-08-15 10:22:58,287 - DEBUG -  - root - Reloading logging settings
2023-08-15 10:22:58,290 - DEBUG -  - root - Logging to /site/logs/reviewboard.log with a minimum level of DEBUG

Christian Hammond

unread,
Aug 17, 2023, 11:25:49 PM8/17/23
to reviewb...@googlegroups.com
Hi,

If you’re using Docker, this is the endpoint used for health checks. We’re introducing a health check endpoint to address this very issue.

It’s also used by old versions of RBTools when preparing to authenticate.

You can safely ignore it in either case. The health check endpoint should be arriving in Review Board 5.0.6 and 6.0.

Christian


--

---
You received this message because you are subscribed to the Google Groups "Review Board Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard-dev/c573754b-ce27-47c7-8026-f4e11f5b9300n%40googlegroups.com.
--
--
Christian Hammond
President/CEO of Beanbag
Makers of Review Board
Reply all
Reply to author
Forward
0 new messages