Bug 1721681

Summary: oauth proxy shows error - reverseproxy.go:321: http: proxy error: context canceled
Product: OpenShift Container Platform Reporter: Vladislav Walek <vwalek>
Component: MonitoringAssignee: Frederic Branczyk <fbranczy>
Status: CLOSED DEFERRED QA Contact: Junqi Zhao <juzhao>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.9.0CC: alegrand, anpicker, aos-bugs, bsmitley, erooth, fbranczy, lcosic, mloibl, nagrawal, pkrupa, rbost, slaznick, sttts, surbania, syangsao
Target Milestone: ---   
Target Release: 3.9.z   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1775431 (view as bug list) Environment:
Last Closed: 2019-11-20 18:55:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1775431    

Description Vladislav Walek 2019-06-18 21:07:30 UTC
Description of problem:

The oauth in prometheus tag 3.9, on OCP 3.9 shows error:
2019/06/12 17:33:00 reverseproxy.go:321: http: proxy error: context canceled

The newest image shows the same error.
From mailing list I have info:

The log message comes from the Go standard library through httputil.ReverseProxy [1].
This is used by oauth-proxy to route the request to the downstream server.
[1] https://golang.org/pkg/net/http/httputil/#ReverseProxy
[2] https://github.com/openshift/oauth-proxy/blob/v2.1/oauthproxy.go#L87

Same issue on grafana oauth.

Version-Release number of selected component (if applicable):
OpenShift Container Platform 3.9
latest v3.9 image
the oauth is in version 2.1.

How reproducible:
n/a

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Vladislav Walek 2019-06-18 21:12:28 UTC
Maybe relevant

http: proxy error: context canceled · Issue #11069 · grafana/grafana
https://github.com/grafana/grafana/issues/11069

Comment 21 Stephen Cuppett 2019-11-20 18:55:54 UTC
OCP 3.6-3.10 is no longer on full support [1]. Marking CLOSED DEFERRED. If you have a customer case with a support exception or have reproduced on 3.11+, please reopen and include those details. When reopening, please set the Target Release to the appropriate version where needed.

[1]: https://access.redhat.com/support/policy/updates/openshift

Comment 22 Red Hat Bugzilla 2023-09-18 00:16:31 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days