FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
08-18-2023 08:48 AM
HI everybody,
I'm facing a strange issue right now. I try to clone any git repository - either from github or our own company git server - and all I get is "exit code 128".
The app build environment was created with ctrlX WORKS 1.20.2
Git version is 2.25.1
Connection to the internet is established
Now the strange part: It's only me facing the problem. My colleagues do not have this problem. But all the settings we made are identical - at least what we see.
Did anybody get the same issue?
Solved! Go to Solution.
08-18-2023 11:05 AM
Hello,
You have to configure the proxy settings for git.
The following commands will set the proxy for git.
git config http.proxy http://10.0.2.2:3128
git config http.sslVerify false
More information is listed here: https://gist.github.com/evantoli/f8c23a37eb3558ab8765
Thank you
08-18-2023 01:24 PM
Hi chockalingam,
We do not use proxys in our company. So the setting would be empty.
08-22-2023 11:42 AM
These are my latest tries for a solution. But I haven't found a solution until now.
- I used a totally new and empty qemu virtual machine with a blank ubuntu. The issue does not occur.
(Sorry for the bad quality in this screenshot)
- I used an app build environment from a colleague on my pc.
The colleague did not get this problem. Running on my pc, the problem occurs.
- I disabled the sslVerify in git config and now I can clone repos from GitHub but still not from anny GitLab (neither from our company server nor from gitlab.com
- I have found some flags to get more information. This is how far I'm.
(Don't be confused if you have only 411 certificates in /etc/ssl/certs/ or the line with 138 certificates in /etc/ssl/certs/ca-certificates.crt is missing. I've tried to create/fetch a certificate for the server and command git to use this. But this doesn't change anything in the behaviour and the sslVerify is still disabled - so the certificates should be ignored)
- I have also found a thread from january this year with the exact same output as I get: https://daemonforums.org/showthread.php?p=73860
But the issue there is still present after sslVerify is disabled - even at GitHub.
The thread also doesn't show any solution, just the workaround to clone via SSH - But this is not possible for me.
Any new ideas?
Maybe from any admin?
09-15-2023 08:59 AM
Further investigations showed, that the issue has something to do with Windows Hypervisor Plattform (WHPX) and GitLab. The problems only occur when using the whpx. Its possible to clone from the qemu machine, without using the whpx. (Its possible to change that in the batch-file).
A workaround you could also take a look at could be to clone the repository in windows and run rsync from VSCode to the Qemu environment.
10-27-2023 09:30 AM
i had the same problems and disabled WHPX. but now the appbuild development is very slow and laggy.
is there any other possibility to fix the problems with git?