1. Michael DiGiovanni
  2. PowerBuilder
  3. Monday, 13 August 2018 21:50 PM UTC

Hello,

 Software Used

  • PowerBuilder 2017 R3
  • GitLab Community
  • Pageant (Putty Authentication Agent)
  • TortoiseGit

 I’m trying to setup a workspace in Powerbuilder using Git as the source control.  We are using GitLab to create our repository.  I’ve created a repository within a group (AppTeam) and sub-group (PowerBuilder).  So the structure for the repository is as follows, AppTeam/PowerBuilder/AppRepo.  I created this without a readme file since I saw this could cause issues in a previous QA post.  (I tried this with the ReadMe file creation previous to this and had the same issues).  Our GitLab is setup to use SSH authentication. 

 I’m trying to follow the Git Workshop instructions that were on YouTube for the setup.  I’ve followed the steps for creating a workspace and adding to source control with Git without issue.  After that I tried to do a Git Push and got the Git Login Screen.  For the repository URL, I tried using multiple values since I wasn’t sure what was correct.  I tried the following values https://gitlab.companyname.com/AppTeam/PowerBuilder/AppRepo, https://gitlab.companyname.com/AppTeam/PowerBuilder/AppRepo.git, and git@gitlab.companyname.com:AppTeam/PowerBuilder/AppRepo.git.  After entering my User ID and Password, I’m still unable to connect.  I get can’t connect to repository message.

 The YouTube video mentioned using TortoiseGit to resolve some connection issues when using “.git” at the end so I tried doing the Remote configurations on the folder through TortoiseGit also.  Within the remote configuration, there is a field for entering the Putty Key.  I set this to the SSH key that I use with Pageant.

 After using TortoiseGit, I reopened PowerBuilder and went to the workspace properties.  The Repository URL populated with the information that I entered in TortoiseGit.  On the workspace properties screen, I tried to enter by User ID and Password and click Apply and get an invalid user ID password message.

I’m not sure if my problem is the SSH authentication, the Repository URL that I'm using, or if I didn't setup the repository correctly.  Does anyone know if PowerBuilder supports SSH authentication or know where I’m going wrong within my setup?

 Thanks.

 

 

 

 

Michael DiGiovanni Accepted Answer Pending Moderation
  1. Tuesday, 14 August 2018 16:46 PM UTC
  2. PowerBuilder
  3. # 1

Hello Arthur, 

Thanks for the response.  Unfortunately I don't think that removing the SSH is an option for our company.  If that is the case, we may not be able to use Git through the PB IDE.  

Michael

Comment
There are no comments made yet.
Arthur Hefti Accepted Answer Pending Moderation
  1. Tuesday, 14 August 2018 03:48 AM UTC
  2. PowerBuilder
  3. # 2

Hi

you have to create an Access Token in GitLab (Menu Settings under the user symbol and than Access Token on the left).

Switch to HTTPS instead of SSH and provide token + password to login.

Regards
Arthur

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.