Red Hat Bugzilla – Bug 1276211
Couldn't connect terminal to pod's container on iPad and iPhone
Last modified: 2015-10-29 09:25:32 EDT
Description of problem:
For iPad and iPhone, when open the 'Terminal' page of one running pod, it says 'couldn't connect to the container, do you have sufficient privileges?'
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Create a template
$ oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/sample-app/application-template-stibuild.json
2.Create app from template from web console
3. Wait for all pods to be running
4.Open 'Terminal' page for database-## pod
Error message on terminal page "couldn't connect to the container, do you have sufficient privileges?"
Should successfully connect the terminal to pod's container
On Mac safari it works as expected
Created attachment 1087381 [details]
Created attachment 1087382 [details]
This is the known issue with websockets in safari/iOS when the self-signed cert has not been installed.
You can install a cert on iOS by putting the cert file at some location you can hit within the browser. When iOS safari goes to download it, it will ask you if you want to Install the cert.
The cert you want is the openshift.local.config/master/ca.crt
Once I did this I was able to use the terminal on iOS