BUG: Authentication failure, missing repo-stats API endpoint, and Discord bot startup errors

Đang mở
#238 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

@vinay1359 đang làm issue này rồi.

Từ ngày 14/1/2026.

  • #239 của @vinay1359 — đang mở

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
github, python

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lỗi 401 khi đăng nhập, lỗi 404 của /api/repo-stats và lỗi khởi động của bot do privileged intent. Theo dõi từng lỗi qua luồng xác thực của backend, quá trình đăng ký API route và chuỗi khởi động/dọn dẹp của bot. Hoàn thành khi xác thực hoạt động, số liệu thống kê repository được tải và bot khởi động bình thường.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The application currently has multiple runtime issues across the backend, frontend, and Discord bot that together prevent core functionality from working as expected.

1. Backend authentication crash

When users attempt to log in through the website, the backend crashes with authentication-related errors. The server returns a 401 Unauthorized response and logs show an error similar to:

coroutine object has no attribute 'user'

Because of this, users are unable to authenticate or access protected parts of the application.

2. Missing /api/repo-stats endpoint

The frontend attempts to fetch GitHub repository statistics from the /api/repo-stats endpoint. However, this endpoint currently returns a 404 Not Found response. It appears that the route is not properly registered or connected to the main backend application, causing the repo stats feature to fail entirely.

3. Discord bot privileged intent startup error

The Discord bot throws errors related to privileged intents not being ready when it starts. A cleanup task is triggered too early during startup, before the required intents are fully initialized, which causes the bot to error out.

Impact

  • Users cannot log in to the website
  • Repository statistics are not displayed on the frontend
  • The Discord bot fails to start cleanly
  • These issues together block normal usage of the application.

I am currently working on addressing these issues and will submit a pull request once the fixes are ready.

Ngôn ngữ chính
Python
Star
103
Fork
143
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AOSSIE-Org/Devr.AI

Tất cả issue của AOSSIE-Org/Devr.AI

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.