Hi! Has someone faced this error? We have oathkee...
# talk-oathkeeper
s
Hi! Has someone faced this error? We have oathkeeper validating against ory keto: --- oathkeeper access rules
Copy code
{
  "id": "ory:keto:read:relations:all",
  "upstream": {
    "url": "<http://ory-keto-read>"
  },
  "match": {
    "url": "http://<[^/]+>/relation-tuples/<.*>",
    "methods": [
      "GET",
      "POST"
    ]
  },
  "authenticators": [
    {
      "handler": "jwt"
    }
  ],
  "authorizer": {
    "handler": "remote_json",
    "config": {
      "payload": "{\"namespace\": \"permission\", \"object\": \"permission\", \"relation\": \"reader\", \"subject_id\": \"{{ print .Extra.email }}\"}"
    }
  },
  "mutators": [
    {
      "handler": "noop"
    }
  ]
}
--- error logs in oathkeeper:
"Access request denied because roundtrip failed" (someother not relevant logs). {"audience":"application","error":{"message":"net/http: invalid header field name \"Content-Type: application/json\"","stack_trace":"stack trace could not be recovered from error type *errors.errorString"},"level":"error","msg":"http: gateway error","service_name":"ORY Oathkeeper","service_version":"v0.40.6","time":"2023-07-24T20:07:00.560994789Z"}