Bug 1721681 - oauth proxy shows error - reverseproxy.go:321: http: proxy error: context canceled
Summary: oauth proxy shows error - reverseproxy.go:321: http: proxy error: context can...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Monitoring
Version: 3.9.0
Hardware: x86_64
OS: Linux
urgent
urgent
Target Milestone: ---
: 3.9.z
Assignee: Frederic Branczyk
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On:
Blocks: 1775431
TreeView+ depends on / blocked
 
Reported: 2019-06-18 21:07 UTC by Vladislav Walek
Modified: 2023-09-18 00:16 UTC (History)
15 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1775431 (view as bug list)
Environment:
Last Closed: 2019-11-20 18:55:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.