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

Cannot add ZIP as Project #12359

Closed
chris-aeviator opened this issue Jan 8, 2019 · 1 comment
Closed

Cannot add ZIP as Project #12359

chris-aeviator opened this issue Jan 8, 2019 · 1 comment
Assignees
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.

Comments

@chris-aeviator
Copy link

Description

When adding a ZIP as a project to a workspace,Che will raise the following error

Couldnt clone http://code.oi.myserver.io:8888/my-project.zip: Request clone failed with message: Cloning into '/projects/my-project'...
fatal: unable to access 'http://code.oi.myserver.io:8888/my-project.zip/': The requested URL returned error: 500

Che seems to try to download the ZIP file with a trailing slash, which returns in the 500.

In my config I can see the url without the slash:

  "projects": [
    {
      "description": "",
      "source": {
        "location": "http://code.oi.myserver.io:8888/my-project.zip",
        "type": "zip",
        "parameters": {
          "skipFirstLevel": "false"
        }
      },
      "links": [],
      "problems": [],
      "mixins": [],
      "name": "my-project",
      "path": "/projects/my-project",
      "attributes": {}
    },

Reproduction Steps

 docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock -v /srv/dev.icm.myserver.io/:/data eclipse/che start
  1. Start simple-theia-docker workspace
  2. add zip file as project

OS and version:
Ubuntu 16.04
Docker version 18.06.1-ce, build e68fc7a

Diagnostics:

@vparfonov vparfonov added team/ide kind/question Questions that haven't been identified as being feature requests or bugs. labels Jan 11, 2019
@vzhukovs vzhukovs self-assigned this Jan 24, 2019
@vzhukovs
Copy link
Contributor

Issue can't be reproduced. If there are any question, feel free to re-open the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Questions that haven't been identified as being feature requests or bugs.
Projects
None yet
Development

No branches or pull requests

3 participants