Skip to content

Loopback listener rejects /v1/alpha/search before registered handler #3192

Closed as not planned

Description

@alan7629

Environment:
OpenCodex 2.38.0

Observed:
Codex configured with loopback base URL http://127.0.0.1:10200/v1

Native Web Search sends:
POST /v1/alpha/search

Result:
404 Unknown endpoint

Root cause:
main server has /v1/alpha/search handler, but loopbackRouteAllowed() does not allow the endpoint, so loopback requests are rejected before reaching the handler.

Verified fix:
add POST /v1/alpha/search to loopback allowlist.

Validation:
real Codex native Web Search changed from 404 to 200, and OpenCodex logged successful web-search upstream completion.

Activity

  1. github-actions commented on Sep 1, 2026

    @github-actions
    Contributor

    Automated translation bookkeeping — detected language: English.

  2. github-actions commented on Sep 1, 2026

    @github-actions
    Contributor

    Issue closed: use an issue template

    Thanks for taking the time to submit this issue. It was closed automatically because it was not opened with a recognized issue template (Bug report, Feature request, Documentation, or Provider compatibility). Freeform and API-opened issues cannot skip this check.

    • This issue does not use a recognized issue template.

    Please edit the issue to add:

    • Open a new issue with the Bug report, Feature request, Documentation, or Provider compatibility template.
    • Or edit this issue so the body uses the template section headings for the kind of report you are filing.

    See the Contributing guide for details.

    Once the report passes the automated checks, it will be reopened automatically unless a maintainer has changed its state.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions