"error reverse proxying request"

147 views
Skip to first unread message

Peter Bull

unread,
Jun 21, 2023, 3:22:30 AM6/21/23
to Knative Developers
I am looking for some help.

My eventing function is running, no errors in the function log,  and every time it runs, 10 minutes in I get an error (shown below) and then the function is called a second time, the error quickly repeats and the function is called again, until there are multiple (over 6) incantations running.

The function is configured with a container concurrency of 1, autoscaling settings of min-scale=0, max scale=1  and a metric=concurrency.
Anyone got any ideas how to fix this?
 
[myapp-00001-deployment-8656bf4844-nrjhn queue-proxy] {"severity":"ERROR","timestamp":"2023-06-20T12:41:04.136944075Z","logger":"queueproxy","caller":"network/error_handler.go:33","message":"error reverse proxying request; sockstat: sockets: used 21\nTCP: inuse 15 orphan 1 tw 73 alloc 256 mem 41\nUDP: inuse 0 mem 1\nUDPLITE: inuse 0\nRAW: inuse 0\nFRAG: inuse 0 memory 0\n","commit":"2c1bb07","knative.dev/key":"mynamespace/myfunction-0001","knative.dev/pod":myfunction-00001-deployment-8656bf4844-nrjhn","error":"context canceled","stacktrace":"knative.dev/pkg/network.ErrorHandler.func1\n\tknative.dev/p...@v0.0.0-20230418073056-dfad48eaa5d0/network/error_handler.go:33\nnet/http/httputil.(*ReverseProxy).ServeHTTP\n\tnet/http/httputil/reverseproxy.go:475\nknative.dev/serving/pkg/queue.(*appRequestMetricsHandler).ServeHTTP\n\tknative.dev/serving/pkg/queue/request_metric.go:199\nknative.dev/serving/pkg/queue.ProxyHandler.func1.2\n\tknative.dev/serving/pkg/queue/handler.go:65\nknative.dev/serving/pkg/queue.(*Breaker).Maybe\n\tknative.dev/serving/pkg/queue/breaker.go:155\nknative.dev/serving/pkg/queue.ProxyHandler.func1\n\tknative.dev/serving/pkg/queue/handler.go:63\nnet/http.HandlerFunc.ServeHTTP\n\tnet/http/server.go:2122\nknative.dev/serving/pkg/queue.ForwardedShimHandler.func1\n\tknative.dev/serving/pkg/queue/forwarded_shim.go:54\nnet/http.HandlerFunc.ServeHTTP\n\tnet/http/server.go:2122\nknative.dev/serving/pkg/http/handler.(*timeoutHandler).ServeHTTP.func4\n\tknative.dev/serving/pkg/http/handler/timeout.go:118"}
Reply all
Reply to author
Forward
0 new messages