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

used log_message in HttpError #508

Conversation

markgrahamdawson
Copy link
Contributor

@markgrahamdawson markgrahamdawson commented Sep 18, 2023

Closes #469

Previous error message
tornado.web.HTTPError: HTTP 403: Forbidden
New error message
tornado.web.HTTPError: HTTP 403: Authorization failed for mdawson:requested to read.

Check List

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Applied any dependency changes to both setup.cfg (and conda-environment.yml if present).
  • Tests are included (or explain why tests are not needed).
  • CHANGES.md entry included if this is a change that can affect users
  • Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.
  • If this is a bug fix, PR should be raised against the relevant ?.?.x branch.

@markgrahamdawson
Copy link
Contributor Author

After looking into this it was found that the source of the trace-back is the authorization middleware for graphQL.
The trace-back is coming from the graphql-python library which we dont have much control over.
Also worth noting that in graphene3 the implementation is a little different so any fix might not be necessary/ might not work when the libraries we are using get updated from graphene2.
Deciding to leave issue for the time being

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

authorisation failures result in traceback
1 participant