Clair scans are not working behind proxy
Issue
- Quay debug logs show 401 error while reaching out to Clair through a Proxy, suggesting that quay is not able to communicate to to Clair.
securityworker stdout | 2022-11-08 14:32:52,443 [106] [DEBUG] [urllib3.connectionpool] http://192.168.xx.xx:3128 "GET http://clairv4/indexer/api/v1/index_state HTTP/1.1" 401 843
securityworker stdout | 2022-11-08 14:32:52,474 [106] [ERROR] [util.secscan.v4.api] Security scanner endpoint responded with non-200 HTTP status code: 401
Environment
- Red Hat Quay Operator Deployment
- 3.6
- Clair behind proxy
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.