Import failed with "server gave HTTP response to HTTPS client"

Solution Verified - Updated -

Issue

  • When describing the imagestream after tag below error is seen :
#oc describe is
Name:           myapp
Namespace:      test
Created:        3 hours ago
Labels:         app=myapp
Annotations:        openshift.io/generated-by=OpenShiftNewApp
            openshift.io/image.dockerRepositoryCheck=2016-12-22T13:03:02Z
Docker Pull Spec:   10.254.80.155:5000/test/myapp
Unique Images:      3
Tags:           2

latest
  pushed image

  * 10.254.80.155:5000/test/myapp@sha256:64310af79c9599eb30bd2a6875a5aff79ae67f2f2feab77769a7b2da54de122f
      3 hours ago
    10.254.80.155:5000/test/myapp@sha256:29164072fce23adb0974e437bf2abb855e76b816b77e1e9dc8a9b574782316b4
      3 hours ago
    10.254.80.155:5000/test/myapp@sha256:0b6dd821612f1f062e5bddb14513ff0bed69f0af0751bb4436a65c1a61e18d24
      3 hours ago

prod
  tagged from 10.254.80.155:5000/test/myapp@sha256:0b6dd821612f1f062e5bddb14513ff0bed69f0af0751bb4436a65c1a61e18d24

  ~ importing latest image ...
  ! error: Import failed (InternalError): Internal error occurred: Get https://10.254.80.155:5000/v2/: http: server gave HTTP response to HTTPS client
      3 hours ago

Environment

  • Openshift Container Platform
    • 3.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content