1. Simone Olianti
  2. PowerBuilder
  3. Tuesday, 27 September 2022 07:12 AM UTC

Hello everyone, since yesterday i get a Generic Error during Pull or Push

 ---------- Source Control: Errors   (08.40.57)
Git client error code: Generic error.
Failed to update: S:\start2git
Failed to do Git pull.
 ---------- Finished Errors   (08.41.03)

The strange part is that it happened suddenly and only from my pc. Tried to log from another pc and everything is working fine.
I guess it is something relation to github authentication 'cause i get the error in the attachment if i try to relog to GitHub using my credentials.

I even tried to regenerate a new token but it keeps failing
Also tried to clone the remote repository using Tortoisegit Clone without success

is there something i can try to solve this?
any advice would be appreciated

tia,

simone

 

P.S.
PowerBuilder 2021 Build 1509

Git for windows 2.37.3

 

I have another project compiled using PowerBuilder 2022 and from there i get no errors. Is it possible a conflict between PB2021 and PB2022 regarding git authentication?

Attachments (1)
Accepted Answer
Simone Olianti Accepted Answer Pending Moderation
  1. Thursday, 29 September 2022 18:41 PM UTC
  2. PowerBuilder
  3. # Permalink

finally i've found the origin of this issue. it was in the .gitconfig configuration

changed this
[credential]
    helper = manager
    helper =
    helper = C:/Program\\ Files/Git/mingw64/bin/git-credential-manager-core.exe

to this
[credential]
    helper = manager

and now everything working fine

Comment
There are no comments made yet.
kitty he @Appeon Accepted Answer Pending Moderation
  1. Thursday, 29 September 2022 10:50 AM UTC
  2. PowerBuilder
  3. # 1

Hi Simone,

 

Log All Activity doesn't have anything to do with the Git connection. Please use a different log all activity path or another test case to troubleshoot the issue.

 

Regards,

Kitty

Comment
There are no comments made yet.
kitty he @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 28 September 2022 05:28 AM UTC
  2. PowerBuilder
  3. # 2

Hi Simone,

 

We suggest that you try the following and see if it resolves the issue.

 

#1 Update local credentials

  • Go to Windows Credential Manager > Windows Credentials > Generic Credentials and remove the credentials corresponding to your Git server.
  • Try to connect to the repository using TortosieGit and see if it is successful.

 

#2 Check network

If you need to use a proxy to connect to the Internet, go to TortoiseGit > Settings > Network and see if the configuration is correct.

 

Regards,

Kitty

Comment
  1. Simone Olianti
  2. Wednesday, 28 September 2022 09:02 AM UTC
hi kitty, i'm not using a proxy

followed your advice deleting the credentials and reconnect using tortoisegit. Everything working fine except when i try to enable "Log all activity" from the source control properties window



"Git detail error info: Entry is not unique due to being a multivar

Failed to set the Git server information. Error code: Generic error.."



all the rest seems to work fine though
  1. Helpful
There are no comments made yet.
Simone Olianti Accepted Answer Pending Moderation
  1. Tuesday, 27 September 2022 15:36 PM UTC
  2. PowerBuilder
  3. # 3

Hi again, i've finally decided to migrate to PB2022.

I've created the project on github from scratch and now i am able to connect to git, pull and push without errors.

Anyway i still get an error everytime i try to enable "Log all activity" from the source control properties window

Git detail error info: Entry is not unique due to being a multivar
Failed to set the Git server information. Error code: Generic error..

Any ideas?

Attachments (1)
Comment
There are no comments made yet.
Benjamin Gaesslein Accepted Answer Pending Moderation
  1. Tuesday, 27 September 2022 08:43 AM UTC
  2. PowerBuilder
  3. # 4

Hi Simone.

Also tried to clone the remote repository using Tortoisegit Clone without success

What's the actual git error message?

Comment
  1. Simone Olianti
  2. Tuesday, 27 September 2022 08:56 AM UTC
hi Benjamin, at this moment i am not able lo even log to my github account from PowerBuilder 2021...it fails and i get the message on the attachment

i tried to migrate the app to pb2022 and using the same credentials working great...

So i am quite sure there is a conflict between pb2021 and pb2022
  1. Helpful
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.