kanunnikau opened a new issue, #2103:
URL: https://github.com/apache/incubator-kie-issues/issues/2103

   I have local Docker setup, where sandbox can validate token from a custom 
GitLab server, but cannot checkout using it.
   I have:
   - locally deployed (via docker) kie_sandbox, extended_services_java, 
cors_proxy. They use the .env file provided by the project, with constants 
tying ports, etc together;
   - added 'KIE_SANDBOX_AUTH_PROVIDERS' value [ { "id":"..._gitlab", 
"domain":"git.....eu", "supportedGitRemoteDomains":["git.....eu"], 
"type":"gitlab", "name":"... GitLab", "enabled":true, "group":"git" } 
](redacted values with ...);
   - added Personal Access Token in the KIE sandbox. It recognised it, pulled 
my user info from the git server 
   
   <img width="1114" height="576" alt="Image" 
src="https://github.com/user-attachments/assets/9bed27f9-f623-4cc3-b9ad-f51e3bf66cc1";
 />
   - tried to clone an existing repo, but the sandbox shows error "Can't 
determine Git refs...";
   - tried to create a repo from a sample. The sandbox threw error, but it has 
actually created an empty repo at the correct path!
   
   <img width="822" height="654" alt="Image" 
src="https://github.com/user-attachments/assets/7e76df4e-d922-4da8-a470-0c67a7adea60";
 />
   
   <img width="675" height="304" alt="Image" 
src="https://github.com/user-attachments/assets/90a64d0d-99ce-4715-b9ca-6ccffef7802b";
 />
   
   So the token is valid, Sandbox can use it to pull my user info and project 
structure from GitLab. It can even create a new repo, but then cannot clone it.
   And it cannot clone existing repos.
   It also seems to be unable to clone from public GitHub repos
   
   <img width="837" height="616" alt="Image" 
src="https://github.com/user-attachments/assets/d7bf7605-927e-4464-b83b-0bfd8b8cb932";
 />
   
   I first asked for some ideas on KIE Zulip 
(https://kie.zulipchat.com/#narrow/channel/232680-tooling/topic/Custom.20GitLab.20connection/with/540097731)
 and was suggested to create the issue here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to