Deployment of an application fails to push image giving request canceled error
Issue
- Deployment of example application fails in newly installed Openshift environment with following error :
Cloning "https://github.com/openshift/httpd-ex.git " ...
Commit: dc2fa54733a38f50c2a44f467068db6995a4d6e4 (Merge pull request #11 from jim-minter/duplicate-keys)
Author: abc xyz <axyz@xyz.noreply.github.com>
Date: Thu Dec 14 15:52:29 2017 -0500
Using HTTP proxy http://xyz@:8080 and HTTPS proxy <nil> for script download
---> Enabling s2i support in httpd24 image
AllowOverride All
---> Installing application source
=> sourcing 20-copy-config.sh ...
=> sourcing 40-ssl-certs.sh ...
Pushing image docker-registry.default.svc:5000/xx/xxhttp:latest ...
Registry server Address:
Registry server User Name: serviceaccount
Registry server Email: serviceaccount@example.org
Registry server Password: <<non-empty>>
error: build error: Failed to push image: net/http: request canceled (Client.Timeout exceeded while awaiting headers)
Environment
- OpenShift Container Platform
- 3.7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.