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

Get pod log timeout #91

Open
ghostloda opened this issue Apr 29, 2022 · 0 comments
Open

Get pod log timeout #91

ghostloda opened this issue Apr 29, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ghostloda
Copy link

当我通过cluster-gateway调用 pod GetLogs接口是会出现连接断开的问题,大概是1分钟左右。
version:v1.3.2
cluster-gateway日志如下:
2022/04/28 13:17:37 httputil: ReverseProxy read error during body copy: context deadline exceeded
E0428 13:17:37.307985 1 wrap.go:54] timeout or abort while handling: method=GET URI="/apis/cluster.core.oam.dev/v1alpha1/clustergateways/cluster1/proxy/api/v1/namespaces/kube-system/pods/kube-apiserver-node1/log?follow=true&tailLines=150" audit-ID="25c2a7a7-7a2f-4bf6-b805-105771b6ebfd"
E0428 13:17:37.308822 1 timeout.go:137] post-timeout activity - time-elapsed: 803.726µs, GET "/apis/cluster.core.oam.dev/v1alpha1/clustergateways/cluster1/proxy/api/v1/namespaces/kube-system/pods/kube-apiserver-node1/log" result: net/http: abort Handler
2022/04/28 13:21:46 httputil: ReverseProxy read error during body copy: context deadline exceeded
E0428 13:21:46.937195 1 wrap.go:54] timeout or abort while handling: method=GET URI="/apis/cluster.core.oam.dev/v1alpha1/clustergateways/cluster1/proxy/api/v1/namespaces/kube-system/pods/kube-apiserver-node1/log?follow=true&tailLines=150" audit-ID="7cd14081-a0d9-4bf7-a85d-a8db310e7b40"
E0428 13:21:46.943292 1 timeout.go:137] post-timeout activity - time-elapsed: 6.018041ms, GET "/apis/cluster.core.oam.dev/v1alpha1/clustergateways/cluster1/proxy/api/v1/namespaces/kube-system/pods/kube-apiserver-node1/log" result: net/http: abort Handler

@yue9944882 yue9944882 added the bug Something isn't working label Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants