Problem accessing GIT through proxy using corkscrew (with NATIVE shell)

Hi all, I'm using git through a http proxy, for that I set up on my ssh/config file a corkscrew command. This works great on my terminal, but when I use the IDEs VCS buttons, I get the following error:

12:00:03.507: [customer-frontend] git -c core.quotepath=false -c log.showSignature=false pull --progress --no-stat -v --progress origin master
/bin/bash: line 0: exec: corkscrew: not found
ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

Are the git actions running on a different user? why is the command not found when from terminal I can use it no problem? Anyone faced a similar issue? This was working in the past, not sure when got broke.

 

Thanks

0
3 comments

Try starting the IDE from terminal - does the issue persist? BTW, what OS are you on?

1
Avatar
Permanently deleted user

Hi, I'm using a Mac. I have tried open the app through the terminal and it works, that's very strange , thanks! :S, not a final solution, but def one that works :)

0

Thanks for update:) Must be a $PATH issue then.

On MacOSX the environment variables differ between GUI applications and within the terminal. Terminal environment is only available to applications started from terminal. To solve this problem, Webstorm tries to load terminal environment by executing the following command on startup:

<your shell> -l -i -c '/Applications/webstorm.app/bin/printenv.py'

Seems this command can't retrieve all needed stuff in your case - thus the issue.

Some links you may find useful: http://apple.stackexchange.com/questions/106355/setting-the-system-wide-path-environment-variable-in-mavericks, https://devnet.jetbrains.com/docs/DOC-1160#comment-2801, http://apple.stackexchange.com/questions/51677/how-to-set-path-for-finder-launched-applications.. The problem is that the way to define system-wide environment variables on Mac changes from one version to another (even minor system updates may break your environment)

0

Please sign in to leave a comment.