Skip to content

When you add a prefix in 'safelist' you encounter an "API error 404" when you want to remove this prefix. #146

Description

@clucas76-max

Description

When you add a prefix in 'safelist' you encounter an "API error 404" when you want to remove this prefix.

Steps to Reproduce

  1. Add prefix in safelist
  2. Remove it

Expected Behavior

It removes prefix from safelist

Actual Behavior

API error 404

Environment

  • prefixd version: 0.19.1
  • OS: Debian13
  • Deployment: Docker

Logs

2026-09-15T08:46:08.921683Z INFO prefixd::ws::handler: WebSocket connection established, username: admin
at src/ws/handler.rs:38
in axum_login::service::call with user.id: "604cdeae-bbad-4338-adce-619b00249d5f"
in tower_sessions::service::call
in prefixd::api::request_id::request with request_id: 30d838de59a07521a87b16e1ee9dc369

2026-09-15T08:46:37.167491Z INFO prefixd::api::handlers: safelist entry added, prefix: 8.9.8.9/32, operator: anonymous
at src/api/handlers.rs:2158
in axum_login::service::call with user.id: "604cdeae-bbad-4338-adce-619b00249d5f"
in tower_sessions::service::call
in prefixd::api::request_id::request with request_id: e5f673c0eb4469e68864ad730d5776ac

2026-09-15T08:46:45.211336Z INFO prefixd::api::handlers: safelist entry added, prefix: 9.8.9.0/24, operator: anonymous
at src/api/handlers.rs:2158
in axum_login::service::call with user.id: "604cdeae-bbad-4338-adce-619b00249d5f"
in tower_sessions::service::call
in prefixd::api::request_id::request with request_id: e0aa7adebcbf650bd1882fe3e9ef54aa

Additional Context

Any other context about the problem.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions