Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nil response #6585

Open
kirk-patton opened this issue Feb 12, 2024 · 4 comments
Open

Nil response #6585

kirk-patton opened this issue Feb 12, 2024 · 4 comments

Comments

@kirk-patton
Copy link
Contributor

kirk-patton commented Feb 12, 2024

We are using OPA in a k8s environment.

  • OPA version: 0.56.0
  • Response is nil
  • flags
  • "run",
    "--server",
    "--config-file=/config/config.yaml",
    "--log-level=info",
    "--log-format=json",
    "--authentication=token",
    "--authorization=basic",
    "/authz/authz.rego",
    "/authz/bearer.rego",
    "--ignore=.*",
    "--addr=http://127.0.0.1:8181"

Steps To Reproduce

The error happen over time. No discernible pattern other than a restart of OPA fixes it.

When the "nil" response starts happening it is reproducible until OPA is restarted.
Is there a way to gather more information when this happens?

@ashutosh-narkar
Copy link
Member

@kirk-patton closing this for now. Feel free to re-open with more details about the issue and steps to reproduce it. Thanks!

@ashutosh-narkar ashutosh-narkar closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2024
@anderseknert
Copy link
Member

@ashutosh-narkar the details were hidden as they had been provided as part of the comment included in the template. I edited the issue to unhide that.

@anderseknert anderseknert reopened this Feb 12, 2024
@ashutosh-narkar
Copy link
Member

@kirk-patton I would recommend using the latest version of OPA and try to repro with that. Also it would help if you could share the policy, input etc. There were some issues around OPA returning a "nil" response in an older version which we fixed. Not sure if you're seeing the same issue but using the latest OPA version would help to figure that out.

Copy link

stale bot commented Mar 14, 2024

This issue has been automatically marked as inactive because it has not had any activity in the last 30 days. Although currently inactive, the issue could still be considered and actively worked on in the future. More details about the use-case this issue attempts to address, the value provided by completing it or possible solutions to resolve it would help to prioritize the issue.

@stale stale bot added the inactive label Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants