I'm trying to debug why an "after" registration we...
# ory-selfhosting
p
I'm trying to debug why an "after" registration web hook has stopped working. All I get in the logs is ""msg": "A ExecutePostRegistrationPostPersistHook hook aborted early.",". Any way to get more information about why the hook did not work?
r
SSRF protection working? Tracing is good at debugging such issues.
p
Do you mean log at trace?
I can do that, thanks.
r
I mean distributed tracing / opentelemetry
can you post the full log line too?
p
Copy code
{
  "audience": "application",
  "executor": "*hook.SessionIssuer",
  "executor_position": 1,
  "executors": [
    "*hook.Verifier",
    "*hook.SessionIssuer"
  ],
  "flow_method": "password",
  "http_request": {
    "headers": {
      "accept": "application/json",
      "accept-encoding": "gzip",
      "content-length": "110",
      "content-type": "application/json",
      "user-agent": "OpenAPI-Generator/1.0.0/go"
    },
    "host": "kratos-public",
    "method": "POST",
    "path": "/self-service/registration",
    "query": "flow=83d85224-cb75-471f-90d0-85770f818b1f",
    "remote": "10.1.22.101:35266",
    "scheme": "http"
  },
  "identity_id": "81ab40de-b044-4d55-980c-a3299ffe46c7",
  "level": "debug",
  "msg": "A ExecutePostRegistrationPostPersistHook hook aborted early.",
  "service_name": "Ory Kratos",
  "service_version": "v1.1.0",
  "time": "2024-08-28T17:07:45.464316686Z"
}
The only thing that changed was, I think, adding a custom OIDC.
r
The error is not from the webook but from the session hook
p
Any advice on how to fix it?
r
Can't really tell from this information alone, sorry.
p
Ok thanks. If I figure it our, I'll update here.
p
I have same issue