Skip to content

Noisy Blueapi Client #1814

Backlog
Backlog

Description

@EmsArnold

Description

The current iteration of the blueapi client is quite noisy with respect to the OIDCConfig.well_known_url, see it's output in a local python environment, and in the evolving console on the new webUI.

For bonus points, the "Blueapi server and client version mismatch" also occurs repeatedly (if you have a mismatch).

image

Steps to reproduce

  1. Use the blueapi client to connect to a beamline (such as p48)
  2. Use the client (move motors, run plans, get devices, etc.)
  3. See repeated warnings

Logs and tracebacks


blueapi version

blueapi, version 1.21.1

Where are you running blueapi?

Beamline deployment (Kubernetes/Helm)

Impact on operations

Minor or cosmetic

Acceptance criteria

If an error needs to be shown, it is shown once on connection, and not repeatedly as the user interacts.

Activity

  1. added
    bug
    needs-triage
    on Nov 25, 2026
  2. tpoliaw commented on Nov 25, 2026

    @tpoliaw
    Contributor

    A couple of things stand out

    • The OidcConfig should only be validated when reading configuration files, not when receiving config from the server.
    • The version mismatch check should only happen once, maybe at startup. Or be logged at trace.

    This is also logging noise rather than direct output so it might also be worth looking into whether the REPL/webUI should do something with logging instead of printing it to stdout.

    As an immediate workaround, could you update the configuration to avoid the warnings?

  3. EmsArnold commented on Nov 25, 2026

    @EmsArnold
    Author

    As an immediate workaround, could you update the configuration to avoid the warnings?

    Yep, that's planned for the immediate future.

    It's very possible that the version mismatch resurfacing is something to do with our current setup (I don't see it in @Relm-Arrowny 's screenshot, but that could be because he's got matching versions or because of the other differences).

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

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions