che icon indicating copy to clipboard operation
che copied to clipboard

Multiuser-OpenShift on OpenShift behind Proxy not starting Workspaces

Open wgbeckmann opened this issue 7 years ago • 36 comments

Bug

In OpenShift, behind a Proxy Eclipse Che cannot start a workspace. In the Che-Window I can see:

Loading...
Cleaning /plugins dir
Starting Init Plugin Broker
Unified Che Plugin Broker
List of plugins and editors to install
- redhat/java/latest - Java Linting, Intellisense, formatting, refactoring, Maven/Gradle support and more...
- eclipse/che-machine-exec-plugin/0.0.1 - Che Plug-in with che-machine-exec service to provide creation terminal or tasks for Eclipse CHE workspace machines.
- eclipse/che-theia/7.0.0-next - Eclipse Theia, get the latest release each day.
Starting VS Code and Theia plugins processing
Downloading VS Code extension for plugin 'redhat/java/latest'
Starting Che plugins and editor processing
Downloading VS Code extension for plugin 'redhat/java/latest'
All plugins have been successfully processed
MountVolume.SetUp succeeded for volume "jwtproxy-config-volume" 
MountVolume.SetUp succeeded for volume "che-workspace-token-kb5v4" 
MountVolume.SetUp succeeded for volume "vol28" 
MountVolume.SetUp succeeded for volume "vol36" 
MountVolume.SetUp succeeded for volume "vol35" 
MountVolume.SetUp succeeded for volume "vol139-custom-pv" 
MountVolume.SetUp succeeded for volume "che-workspace-token-kb5v4" 
pulling image "eclipse/che-jwtproxy:latest"
Container image "maven:3.6.0-jdk-11" already present on machine
Created container
Successfully pulled image "eclipse/che-jwtproxy:latest"
Created container
Started container
pulling image "eclipse/che-machine-exec"
Started container
Successfully pulled image "eclipse/che-machine-exec"
Created container
Started container
pulling image "eclipse/che-theia:7.0.0-next"
Successfully pulled image "eclipse/che-theia:7.0.0-next"
Created container
Started container
pulling image "eclipse/che-remote-plugin-runner-java8:7.0.0-next"
Successfully pulled image "eclipse/che-remote-plugin-runner-java8:7.0.0-next"
Created container
Started container

and then, after some time:

Error: Failed to run the workspace: "Server 'theia' in container 'theia-ide7du' not available."

Additionaly I tried to add java-proxy options to the docker-container by setting the java opts in the environment via openshift: -Dhttp.proxyHost=a.b.c.d -Dhttp.proxyPort=8080 -Dhttps.proxyHost=a.b.c.d -Dhttps.proxyPort=8080 -Dhttp.nonProxyHosts='localhost|127.0.0.1|*.my-company.de|vm-openshift-02|*.vm-openshift-02|*.vm-openshift-02.my-company.de|172.30.*|10.*'

I can see in the log of the che-pod that the options are used, but it didn't help.

Che version

7.0.0-rc-5.0-SNAPSHOT

Steps to reproduce

  1. be behind a proxy ;-)
  2. Install OpenShift (in my case v3.9.0, but I think that is not the problem...)
  3. Set the environment for the installation
export CHE_WORKSPACE_HTTP__PROXY=http://x.x.x.x:8080/
export CHE_WORKSPACE_HTTPS__PROXY=http://x.x.x.x:8080/
export CHE_WORKSPACE_NO__PROXY=.my-company.de,vm-openshift-02.my-company.de,127.0.0.1,x.y.z.a,localhost,vm-openshift-02,.vm-openshift-02.my-company.de
  1. install eclipse che with ./deploy_che.sh --multiuser --project=eclipse-che-mu .....
  2. create a new (java) project

Expected behavior

a workspace is running ;-)

Runtime

  • [1.9] kubernetes
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.1+a0ce1bc657", GitCommit:"a0ce1bc", GitTreeState:"clean", BuildDate:"2018-06-24T01:54:00Z", GoVersion:"go1.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.1+a0ce1bc657", GitCommit:"a0ce1bc", GitTreeState:"clean", BuildDate:"2018-06-24T01:54:00Z", GoVersion:"go1.9", Compiler:"gc", Platform:"linux/amd64"}
  • [3.9.0] Openshift
oc v3.9.0+71543b2-33
kubernetes v1.9.1+a0ce1bc657
features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://console.vm-openshift-02.team-pb.de:8443
openshift v3.9.0+71543b2-33
kubernetes v1.9.1+a0ce1bc657
  • [1.13.1] docker-desktop
Client:
 Version:         1.13.1
 API version:     1.26
 Package version: docker-1.13.1-88.git07f3374.el7.centos.x86_64
 Go version:      go1.9.4
 Git commit:      07f3374/1.13.1
 Built:           Fri Dec  7 16:13:51 2018
 OS/Arch:         linux/amd64

Server:
 Version:         1.13.1
 API version:     1.26 (minimum version 1.12)
 Package version: docker-1.13.1-88.git07f3374.el7.centos.x86_64
 Go version:      go1.9.4
 Git commit:      07f3374/1.13.1
 Built:           Fri Dec  7 16:13:51 2018
 OS/Arch:         linux/amd64
 Experimental:    false

Installation method

deploy_che.sh

Environment

CentOS Linux release 7.6.1810 (Core) and a Proxy

There are so many docker container. From which one do you need the log? I looked thrue the logs and I cann not see anything special.

So I think, that the communication between the workspace and the core do not work, because the sender thinks he has to use the proxy ... (but it is only a guess...)

wgbeckmann avatar Jul 28 '19 07:07 wgbeckmann

@wgbeckmann I cannot see any evidence thats' a proxy problem: the fact that che-server is not able to contact the workspace may be caused by different problems. It would be useful if you could retrieve theia containers logs anyway or look for any failure in the events or any container that is restarted in the workspace pod. Not saying that's not a proxy problem but it may be something else as well. Another thing is that you are using deploy_che.sh to deploy Che but I would suggest to use chectl instead.

@skabashnyuk is @wgbeckmann configuring the proxy settings correctly?

l0rd avatar Jul 29 '19 16:07 l0rd

Hmm, I cannot find en error in the logs.

Theia:

root INFO Theia app listening on http://0.0.0.0:3100 .
root INFO unzipping the plugin ProxyPluginDeployerEntry {
  deployer:
   PluginTheiaFileHandler { unpackedFolder: '/tmp/theia-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:///default-theia-plugins',
     pluginId: 'eclipse_che_ports_plugin.theia',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath: '/default-theia-plugins/eclipse_che_ports_plugin.theia',
     initPath: '/default-theia-plugins/eclipse_che_ports_plugin.theia',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginTheiaFileHandler' }
root INFO unzipping the plugin ProxyPluginDeployerEntry {
  deployer:
   PluginTheiaFileHandler { unpackedFolder: '/tmp/theia-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:///default-theia-plugins',
     pluginId: 'eclipse_che_theia_containers_plugin.theia',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath:
      '/default-theia-plugins/eclipse_che_theia_containers_plugin.theia',
     initPath:
      '/default-theia-plugins/eclipse_che_theia_containers_plugin.theia',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginTheiaFileHandler' }
root INFO unzipping the plugin ProxyPluginDeployerEntry {
  deployer:
   PluginTheiaFileHandler { unpackedFolder: '/tmp/theia-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:///default-theia-plugins',
     pluginId: 'eclipse_che_theia_factory_plugin.theia',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath:
      '/default-theia-plugins/eclipse_che_theia_factory_plugin.theia',
     initPath:
      '/default-theia-plugins/eclipse_che_theia_factory_plugin.theia',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginTheiaFileHandler' }
root INFO unzipping the plugin ProxyPluginDeployerEntry {
  deployer:
   PluginTheiaFileHandler { unpackedFolder: '/tmp/theia-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:///default-theia-plugins',
     pluginId: 'eclipse_che_theia_ssh_plugin.theia',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath: '/default-theia-plugins/eclipse_che_theia_ssh_plugin.theia',
     initPath: '/default-theia-plugins/eclipse_che_theia_ssh_plugin.theia',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginTheiaFileHandler' }
root INFO unzipping the plugin ProxyPluginDeployerEntry {
  deployer:
   PluginTheiaFileHandler { unpackedFolder: '/tmp/theia-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:///default-theia-plugins',
     pluginId: 'eclipse_che_welcome_plugin.theia',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath: '/default-theia-plugins/eclipse_che_welcome_plugin.theia',
     initPath: '/default-theia-plugins/eclipse_che_welcome_plugin.theia',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginTheiaFileHandler' }
root INFO unzipping the plugin ProxyPluginDeployerEntry {
  deployer:
   PluginTheiaFileHandler { unpackedFolder: '/tmp/theia-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:///default-theia-plugins',
     pluginId: 'task_plugin.theia',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath: '/default-theia-plugins/task_plugin.theia',
     initPath: '/default-theia-plugins/task_plugin.theia',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginTheiaFileHandler' }
root INFO unzipping the plugin ProxyPluginDeployerEntry {
  deployer:
   PluginTheiaFileHandler { unpackedFolder: '/tmp/theia-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:///default-theia-plugins',
     pluginId: 'theia_yeoman_plugin.theia',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath: '/default-theia-plugins/theia_yeoman_plugin.theia',
     initPath: '/default-theia-plugins/theia_yeoman_plugin.theia',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginTheiaFileHandler' }
root INFO unzipping the plugin ProxyPluginDeployerEntry {
  deployer:
   PluginVsCodeFileHandler { unpackedFolder: '/tmp/vscode-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:///default-theia-plugins',
     pluginId: 'vscode-git-1.3.0.1.vsix',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath: '/default-theia-plugins/vscode-git-1.3.0.1.vsix',
     initPath: '/default-theia-plugins/vscode-git-1.3.0.1.vsix',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginVsCodeFileHandler' }
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /tmp/theia-unpacked/eclipse_che_ports_plugin.theia
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /tmp/theia-unpacked/eclipse_che_theia_containers_plugin.theia
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /tmp/theia-unpacked/eclipse_che_theia_factory_plugin.theia
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /tmp/theia-unpacked/eclipse_che_theia_ssh_plugin.theia
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /tmp/theia-unpacked/eclipse_che_welcome_plugin.theia
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /tmp/theia-unpacked/task_plugin.theia
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /tmp/theia-unpacked/theia_yeoman_plugin.theia
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /tmp/vscode-unpacked/vscode-git-1.3.0.1.vsix
root INFO Resolved "vscode-git-1.3.0.1.vsix" to a VS Code extension "[email protected]" with engines: { vscode: '^1.5.0' }
root INFO PluginTheiaDirectoryHandler: accepting plugin with path /plugins/sidecars
root INFO Deploying backend plugin "@eclipse-che/[email protected]" from "/tmp/theia-unpacked/eclipse_che_ports_plugin.theia/lib/ports-plugin.js"
root INFO Deploying backend plugin "@eclipse-che/[email protected]" from "/tmp/theia-unpacked/eclipse_che_theia_containers_plugin.theia/lib/containers-plugin.js"
root INFO Deploying backend plugin "@eclipse-che/[email protected]" from "/tmp/theia-unpacked/eclipse_che_theia_factory_plugin.theia/lib/factory-plugin.js"
root INFO Deploying backend plugin "@eclipse-che/[email protected]" from "/tmp/theia-unpacked/eclipse_che_theia_ssh_plugin.theia/lib/ssh-plugin-backend.js"
root INFO Deploying backend plugin "@eclipse-che/[email protected]" from "/tmp/theia-unpacked/eclipse_che_welcome_plugin.theia/lib/welcome-plugin.js"
root INFO Deploying backend plugin "[email protected]" from "/tmp/theia-unpacked/task_plugin.theia/lib/task-plugin-backend.js"
root INFO Deploying backend plugin "@theia/[email protected]" from "/tmp/theia-unpacked/theia_yeoman_plugin.theia/lib/theia-yeoman-plugin-backend-plugin.js"
root INFO Deploying backend plugin "[email protected]" from "/tmp/vscode-unpacked/vscode-git-1.3.0.1.vsix/extension/out/main"
2019/07/30 04:07:57 Use kubernetes implementation
[GIN-debug] [WARNING] Creating an Engine instance with the Logger and Recovery middleware already attached.

[GIN-debug] [WARNING] Running in "debug" mode. Switch to "release" mode in production.
 - using env:	export GIN_MODE=release
 - using code:	gin.SetMode(gin.ReleaseMode)

[GIN-debug] GET    /connect                  --> main.main.func1 (3 handlers)
[GIN-debug] GET    /attach/:id               --> main.main.func2 (3 handlers)
⇩ Registered RPCRoutes:

Json-rpc MachineExec Routes:
✓ create
✓ check
✓ resize
[GIN-debug] Listening and serving HTTP on :4444

VS-Code

Starting the deployer with the list of resolvers [ LocalDirectoryPluginDeployerResolver {},
  GithubPluginDeployerResolver { unpackedFolder: '/tmp/github-remote' },
  HttpPluginDeployerResolver { unpackedFolder: '/tmp/http-remote' },
  VsCodePluginDeployerResolver { vscodeExtensionsFolder: '/tmp/vscode-extension-marketplace' } ]
Theia Endpoint 17/pid listening on port 2503
Found the list of default plugins ID on env: undefined
Found the list of plugins ID on env: local-dir:///plugins/sidecars/redhat_java_latest
Found the list of default plugins ID from CLI: undefined
unzipping the plugin ProxyPluginDeployerEntry {
  deployer:
   PluginVsCodeFileHandler { unpackedFolder: '/tmp/vscode-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:///plugins/sidecars/redhat_java_latest',
     pluginId:
      'redhat.java.latest.epqtnquayn.vscode-java-debug-0.19.0.vsix',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath:
      '/plugins/sidecars/redhat_java_latest/redhat.java.latest.epqtnquayn.vscode-java-debug-0.19.0.vsix',
     initPath:
      '/plugins/sidecars/redhat_java_latest/redhat.java.latest.epqtnquayn.vscode-java-debug-0.19.0.vsix',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginVsCodeFileHandler' }
unzipping the plugin ProxyPluginDeployerEntry {
  deployer:
   PluginVsCodeFileHandler { unpackedFolder: '/tmp/vscode-unpacked' },
  delegate:
   PluginDeployerEntryImpl {
     originId: 'local-dir:///plugins/sidecars/redhat_java_latest',
     pluginId: 'redhat.java.latest.wyqvlcfklt.java-0.46.0-1549.vsix',
     map: Map {},
     changes: [],
     acceptedTypes: [],
     currentPath:
      '/plugins/sidecars/redhat_java_latest/redhat.java.latest.wyqvlcfklt.java-0.46.0-1549.vsix',
     initPath:
      '/plugins/sidecars/redhat_java_latest/redhat.java.latest.wyqvlcfklt.java-0.46.0-1549.vsix',
     resolved: true,
     resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  deployerName: 'PluginVsCodeFileHandler' }
PluginTheiaDirectoryHandler: accepting plugin with path /tmp/vscode-unpacked/redhat.java.latest.epqtnquayn.vscode-java-debug-0.19.0.vsix
Resolving "redhat.java.latest.epqtnquayn.vscode-java-debug-0.19.0.vsix" as a VS Code extension...
Resolved "redhat.java.latest.epqtnquayn.vscode-java-debug-0.19.0.vsix" to a VS Code extension "[email protected]" with engines: { vscode: '^1.32.0' }
PluginTheiaDirectoryHandler: accepting plugin with path /tmp/vscode-unpacked/redhat.java.latest.wyqvlcfklt.java-0.46.0-1549.vsix
Resolving "redhat.java.latest.wyqvlcfklt.java-0.46.0-1549.vsix" as a VS Code extension...
Resolved "redhat.java.latest.wyqvlcfklt.java-0.46.0-1549.vsix" to a VS Code extension "[email protected]" with engines: { vscode: '^1.31.0' }
the accepted plugins are []
the acceptedFrontendPlugins plugins are []
the acceptedBackendPlugins plugins are [ PluginDeployerEntryImpl {
    originId: 'local-dir:///plugins/sidecars/redhat_java_latest',
    pluginId:
     'redhat.java.latest.epqtnquayn.vscode-java-debug-0.19.0.vsix',
    map: Map { 'package.json' => [Object] },
    changes:
     [ 'PluginVsCodeFileHandler', 'PluginVsCodeDirectoryHandler' ],
    acceptedTypes: [ 1 ],
    currentPath:
     '/tmp/vscode-unpacked/redhat.java.latest.epqtnquayn.vscode-java-debug-0.19.0.vsix/extension',
    initPath:
     '/plugins/sidecars/redhat_java_latest/redhat.java.latest.epqtnquayn.vscode-java-debug-0.19.0.vsix',
    resolved: true,
    resolvedByName: 'LocalDirectoryPluginDeployerResolver' },
  PluginDeployerEntryImpl {
    originId: 'local-dir:///plugins/sidecars/redhat_java_latest',
    pluginId: 'redhat.java.latest.wyqvlcfklt.java-0.46.0-1549.vsix',
    map: Map { 'package.json' => [Object] },
    changes:
     [ 'PluginVsCodeFileHandler', 'PluginVsCodeDirectoryHandler' ],
    acceptedTypes: [ 1 ],
    currentPath:
     '/tmp/vscode-unpacked/redhat.java.latest.wyqvlcfklt.java-0.46.0-1549.vsix/extension',
    initPath:
     '/plugins/sidecars/redhat_java_latest/redhat.java.latest.wyqvlcfklt.java-0.46.0-1549.vsix',
    resolved: true,
    resolvedByName: 'LocalDirectoryPluginDeployerResolver' } ]
local path to deploy on remote instance [ '/tmp/vscode-unpacked/redhat.java.latest.epqtnquayn.vscode-java-debug-0.19.0.vsix/extension',
  '/tmp/vscode-unpacked/redhat.java.latest.wyqvlcfklt.java-0.46.0-1549.vsix/extension' ]
Backend plug-in "[email protected]" from "/tmp/vscode-unpacked/redhat.java.latest.epqtnquayn.vscode-java-debug-0.19.0.vsix/extension/dist/extension is now available"
Backend plug-in "[email protected]" from "/tmp/vscode-unpacked/redhat.java.latest.wyqvlcfklt.java-0.46.0-1549.vsix/extension/dist/extension is now available"

LWT-Proxy

time="2019-07-30T04:07:56Z" level=info msg="Starting reverse proxy (Listening on ':4400')" 

wgbeckmann avatar Jul 30 '19 04:07 wgbeckmann

@l0rd can you tell me how to install eclipse che with chectl

wgbeckmann avatar Aug 01 '19 03:08 wgbeckmann

Perhaps I forgot to mention. I use multi-user mode.

wgbeckmann avatar Aug 01 '19 11:08 wgbeckmann

Ok, i tried chectl but it can only use an openshift "minishift" installation. But the Openshift-Installation I use is a Cluster-Installation with one node.

wgbeckmann avatar Aug 01 '19 12:08 wgbeckmann

Ok, I just install the single-user version there it runs. (Hmm, but we need multiuser)

wgbeckmann avatar Aug 01 '19 13:08 wgbeckmann

No, also the single-user version is not working. The workspace comes up, but you cannot start a terminal or task. --> There are problems with the communication...

wgbeckmann avatar Aug 01 '19 15:08 wgbeckmann

Now I added to the CHE_WORKSPACE_NO__PROXY the ip 172.30.0.1 and restartet the workspace and tada, there is a Terminal... But 172.30.0.1 is something openshift or docker internal...

wgbeckmann avatar Aug 01 '19 15:08 wgbeckmann

It looks like you have solved your problem @wgbeckmann

We can add that to the documentation but it's still not clear what's the platform where you have deployed Che: Kubernetes, OpenShift or Docker Desktop ?

l0rd avatar Aug 02 '19 09:08 l0rd

No, I just tried to find out what works and what do not work.

Single User Eclipse Che is working behind a proxy on OpenShift Multi User Eclipse Che is not working bihind a proxy on OpenShift

The platform is deployed on OpenShift installed with Ansible (so it is not a minishift installation)

wgbeckmann avatar Aug 04 '19 06:08 wgbeckmann

I have also encountered the same issue as described in the original post. I'm also trying to set up Eclipse Che multiuser behind a proxy. Has a fix been found?

AmitChameides avatar Aug 19 '19 08:08 AmitChameides

No, I'm using singleuser mode at the moment, but also only after playing arround with proxy-settings at multiple places.

wgbeckmann avatar Aug 19 '19 13:08 wgbeckmann

Single User Eclipse Che is working behind a proxy on OpenShift Multi User Eclipse Che is not working bihind a proxy on OpenShift

https://github.com/eclipse/che-jwtproxy might be an issue.

skabashnyuk avatar Aug 21 '19 13:08 skabashnyuk

I have the same issue when running in multiuser mode on an Openshift deployment behind a corporate proxy.

I was able to get past the server ‘theia’ in container not available error, this was down to jwtproxy, it was attempting to go through the corporate proxy even though no_proxy was set, I removed the proxy settings entirely just for that container and it was then able to start Theia - clearly not a sufficient workaround as changes are lost for each new workspace. It looks as though Go in jwtproxy may not be respecting the no_proxy property correctly.

Unfortunately there is then an additional issue, once in Theia it is not possible to retrieve the workspace configuration, this time axios seems to be mis-handling the no_proxy configuration.

andy316x avatar Aug 27 '19 23:08 andy316x

Hey @andy316x , thanks for the pointer. I'll try that given the chance. Depressing to hear about the additional issue. Mind sharing what is currently set as your no_proxy? Just for comparison in case I run into the same issue when trying your bypass.

AmitChameides avatar Aug 28 '19 05:08 AmitChameides

@AmitChameides, I have set the wildcard domain of my openshift router, and used both variations of no proxy syntax, .my.router.domain and *.my.router.domain. I also have the AWS nodes domain suffixes, I.e. .compute.internal. - not sure it matters for Che but added anyway.

andy316x avatar Aug 28 '19 06:08 andy316x

Alright @andy316x. Thanks. I tried your bypass and it also worked for me, however I did also encounter the same error as you later did. If you made any progress getting beyond that point, I'd love to know.

AmitChameides avatar Sep 05 '19 10:09 AmitChameides

@AmitChameides fyi https://github.com/eclipse/che/pull/14335

skabashnyuk avatar Sep 05 '19 10:09 skabashnyuk

Oh, cool! Just clearing things up - Is this patch supposed to fix the jwtproxy error we have encountered?

AmitChameides avatar Sep 05 '19 10:09 AmitChameides

I hope so.

skabashnyuk avatar Sep 05 '19 11:09 skabashnyuk