Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Issue with git in app build environment

Issue with git in app build environment

drossmann
New Poster

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?

5 REPLIES 5

chockalingam
Member

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

Hi chockalingam,

We do not use proxys in our company. So the setting would be empty.

 

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.
drossmann_1-1692696336213.png
(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
drossmann_2-1692696558480.png

- I have found some flags to get more information. This is how far I'm.
drossmann_3-1692696673232.png
(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? 

nickH
Community Moderator
Community Moderator

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. 

 

 

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?

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist