Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

🐛 Bug Report: Rate limit mismatch

Abierto
#484 0 comentarios 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 3 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
docker-compose, rust
Área
backend

Línea de trabajo

Start by tracing the rate limit check that requests /r/reddit/hot.json?&raw_json=1 and parses its response; the payload does not name the relevant source file or test. Reproduce the reported 403 response with the provided Docker Compose setup and check how the rate limit check handles it. Done means the reported failure is understood and the rate limit check handles the response appropriately.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

I appear to be getting this error after trying to enable hsts via the docker compose instance i have running.

 ERROR redlib::client > Got an invalid response from reddit expected value at line 1 column 1. Status code: 403 Forbidden                                                                                                                                                          │
│   Rate limit check failed: Failed to parse page JSON data: expected value at line 1 column 1 | /r/reddit/hot.json?&raw_json=1                                                                                                                                                        │
│   This may cause issues with the rate limit.                                                                                                                                                                                                                                         │
│   Starting Redlib...                                                                                                                                                                                                                                                                 │
│   Please report this error with the above information.                                                                                                                                                                                                                               │
│   https://github.com/redlib-org/redlib/issues/new?assignees=sigaloid&labels=bug&title=%F0%9F%90%9B+Bug+Report%3A+Rate+limit+mismatch                                                                                                                                                 │
│   Running Redlib v0.36.0 on 0.0.0.0:8080!
  services:
  redlib:
    image: quay.io/redlib/redlib:latest
    restart: always
    container_name: "redlib"
    ports:
      - 0.0.0.0:8087:8080  # bind to localhost IPv4 only on port 8087
    user: nobody
    read_only: true
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - ALL
    env_file: .env
    command: ["redlib", "-4", "-H", "604800"] # --ipv4-only and set HSTS header for 7 days (604800 seconds)
    healthcheck:
      test: ["CMD", "wget", "--spider", "-q", "--tries=1", "http://localhost:8080/"]
      interval: 5m
      timeout: 3s
Lenguaje dominante
Rust
Estrellas
3.9k
Forks
293
Merge medio
14 d 8 h
PR fusionados (30 d)
2

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de redlib-org/redlib

Todos los issues de redlib-org/redlib

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.