cms-dev / cms-dev/cms

Admin web server log view overflowed with ContestWebServer warnings

Open
#1,601 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1k
Forks
412
Avg merge
6d 10h
Merged PRs (30d)
3

Description

Description: ContestWebServer warnings are triggered by simple conditions and hides important warnings in AdminWebServer Logs view.

Steps to reproduce:

  1. One such case:
    If contestant doesn't do correct logout, contestant device will keep sending notification requests in one minute interval.
    Their authentication expires and warnings will be raised forever.
12:10:27	WARNING	ContestWebServer,1		
403 GET /contest/notifications?last_notification=1764777422.659463 (***.***.***.***) 6.96ms
12:09:27	WARNING	ContestWebServer,1		
403 GET /contest/notifications?last_notification=1764777422.659463 (***.***.***.***) 6.96ms

This error and similar 403 status code errors can be easily triggered by contestant. These will hide all other important errors from other services in AdminWebServer. Very important for long running contests.

Would be nice if such warnings could be filtered out from log view. Maybe log view could add filtering by service.

System Information

CMS version: main
How was CMS installed: virtualenv

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the repeated 403 ContestWebServer warnings in the AdminWebServer Logs view and trace the log-view entry point that renders them. Done should mean repetitive warnings no longer obscure important messages, with a way to filter logs by service if that approach is used.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.