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

Trigger HttpClosedException Error #4187

Open
nkreiger opened this issue Dec 16, 2024 · 1 comment
Open

Trigger HttpClosedException Error #4187

nkreiger opened this issue Dec 16, 2024 · 1 comment
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@nkreiger
Copy link

Describe the bug

Consistent errors in Knative Eventing Kafka Dispatcher logs

{"@timestamp":"2024-12-16T21:38:21.639Z","@version":"1","message":"failed to send event to subscriber context={topics=[knative-broker-dxcm-default], consumerGroup='knative-trigger-test-github-4', reference=uuid: \"36d85610-bf6f-4e75-a85c-365bfacc5745\"\nnamespace: \"test\"\nname: \"github-4\"\n} target=http://plugin-github.test.svc.cluster.local","logger_name":"dev.knative.eventing.kafka.broker.dispatcher.impl.http.WebClientCloudEventSender","thread_name":"vert.x-eventloop-thread-5","level":"ERROR","level_value":40000,"stack_trace":"io.vertx.core.http.HttpClosedException: Connection was closed\n","context":{},"target":"http://plugin-github.test.svc.cluster.local"}

Expected behavior

Connection would not be closed.

spec:
  broker: default
  delivery:
    retry: 1
    timeout: PT5H
  filter:
    attributes:
      source: webhook.cipipeline.git_diff
      type: origin
  subscriber:
    ref:
      apiVersion: serving.knative.dev/v1
      kind: Service
      name: plugin-github
      namespace: test

To Reproduce

Create a trigger to a long-running service.

Knative release version

v1.15.2

Additional context

I've had it work with long processes (the same thing), 30-45 m just fine. This seems to be happening randomly? Not sure where I should check.

@nkreiger nkreiger added the kind/bug Categorizes issue or PR as related to a bug. label Dec 16, 2024
@nkreiger
Copy link
Author

nkreiger commented Dec 16, 2024

It's almost like this:

From what I'm seeing in the logs, it is working most of the time, but randomly it is falling back to the Default. Is there any suggested way to debug this? Besides forking, building and changing the default timeout to confirm.

Is it possible if it could be something with the reconciling sometimes resetting it because its a shared resource?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant