Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project cloning fails in proxy environment #17017

Closed
3 tasks done
tolusha opened this issue May 26, 2020 · 1 comment
Closed
3 tasks done

Project cloning fails in proxy environment #17017

tolusha opened this issue May 26, 2020 · 1 comment
Assignees
Labels
area/plugins kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.

Comments

@tolusha
Copy link
Contributor

tolusha commented May 26, 2020

Describe the bug

  1. Deploy Eclipse Che in OpenShift cluster with proxy configuration.
  2. Start a workspace.
  3. Project cloning failed
Extension-Host:Couldn't clone https://github.com/golang/example.git Error: Cloning into '/projects/src/github.com/golang/example'...
fatal: unable to access 'https://github.com/golang/example.git/': Failed to connect to github.com port 443: Operation timed out
    at ChildProcess.<anonymous> (/tmp/theia-unpacked/eclipse_che_workspace_plugin.theia/lib/exec.js:77:36)
    at ChildProcess.emit (events.js:198:13)
    at maybeClose (internal/child_process.js:982:16)
    at Socket.stream.socket.on (internal/child_process.js:389:11)
    at Socket.emit (events.js:198:13)
    at Pipe._handle.close (net.js:607:12)

Some investigation

Some thoughts. It is possible to clone the project in the terminal of theia container. http_proxy and https_proxy env vars present. When the command to clone the project is executed [1] the env are overridden by askpassEnv. That's why it fails.

[1] https://github.com/eclipse/che-theia/blob/54f39d621663f597639f4336e80d8d8430083d82/plugins/workspace-plugin/src/exec.ts#L14

Che version

  • nightly

Expected behavior

Runtime

  • Openshift (include output of oc version) 4.x

Screenshots

Installation method

  • chectl
    • provide a full command that was used to deploy Eclipse Che (including the output)
      chectl server:start --platform openshift --installer operator --self-signed-cert
    • provide an output of chectl version command
chectl version
chectl/0.0.20200526-next.86e0f65 linux-x64 node-v10.20.1
@tolusha tolusha added the kind/bug Outline of a bug - must adhere to the bug report template. label May 26, 2020
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label May 26, 2020
@skabashnyuk skabashnyuk added area/editor/theia Issues related to the che-theia IDE of Che area/factory/theia severity/P1 Has a major impact to usage or development of the system. and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels May 26, 2020
@azatsarynnyy azatsarynnyy added area/plugins and removed area/editor/theia Issues related to the che-theia IDE of Che labels May 27, 2020
@ericwill
Copy link
Contributor

ericwill commented Jun 1, 2020

We'll be taking this one in our next sprint, I believe it's a regression from #16401.

@ericwill ericwill mentioned this issue Jun 3, 2020
40 tasks
@ericwill ericwill mentioned this issue Jun 24, 2020
31 tasks
@svor svor self-assigned this Jun 25, 2020
@svor svor added the status/in-progress This issue has been taken by an engineer and is under active development. label Jun 25, 2020
@svor svor closed this as completed Jul 8, 2020
@RomanNikitenko RomanNikitenko removed the status/in-progress This issue has been taken by an engineer and is under active development. label Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugins kind/bug Outline of a bug - must adhere to the bug report template. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

7 participants