1. Vladimir K.
  2. PowerBuilder
  3. Friday, 25 March 2022 14:13 PM UTC

Hi All.

Recently, i run into the issue.

Few days ago, in the morning, i did the successful push, about an hour after that, i try to do another, but PB crashed and that was it, looks like after that, i cannot get to repository or it is just a pure coincident.

Edition Windows 10 Pro
Version 21H2
Installed on ‎8/‎22/‎2020
OS build 19044.1586
Experience Windows Feature Experience Pack 120.2212.4170.0


Appeon PowerBuilder Standard Edition
Version 2019R2 Build 2353

Source Control System: Git


Pull:
---------- Source Control
Git pull
Git client is pulling workspace. Please wait...
Git client error code: Generic error.
Failed to update: C:\Pb
Failed to do Git pull.
Git pull completed.
---------- Done Source Control

 

Push:
---------- Source Control
Git push
Starting to push workspace...
Git client is pushing workspace. Please wait...
Git client error code: Generic error.
Failed to push workspace.
Git push completed.
---------- Done Source Control

 

I did try to test the connection and i got:
Cannot connect to the repository.
Please make sure you have specified the correct user ID, and password.

But i can get to the repository with my credentials other ways without issue.

No there was no windows or any kind of updates was installed on my machine.

Any advise will be greatly appreciated.

Thank You

Sincerely

Vladimir

 

Accepted Answer
Vladimir K. Accepted Answer Pending Moderation
  1. Friday, 1 April 2022 13:20 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi All.

Quick update maybe someone will need it.

It sure look, like something has been changed @ bitbucket.org site, they may crank up security.

We have to generate a new password with them @

https://bitbucket.org/account/settings/app-passwords/

and that fix connectivity problem right away. 

Please see attached screenshots.

Thank you all who take time to look into our problem.

Sincerely

Vlad

 

Attachments (2)
Comment
  1. John Fauss
  2. Friday, 1 April 2022 14:20 PM UTC
I'm glad to hear you found a solution, Vlad - Thank you for letting the Community know the answer!
  1. Helpful
There are no comments made yet.
Vladimir K. Accepted Answer Pending Moderation
  1. Monday, 28 March 2022 17:55 PM UTC
  2. PowerBuilder
  3. # 1

Hi All.

We did try another repository, reinstall Appeon PB 2019R2 on one of the developers machine, install Appeon PB 2019R3 on the totally new machine, still "cannot connect".

Anyone? Any pointers to where should we look?

Thank You

Sincerely

Vladimir

Comment
  1. Matt Balent
  2. Monday, 28 March 2022 18:26 PM UTC
So if you close your workspace from the system tree (now shows 'No Workspace') then re-connect and establish a connection to source control (log on with Git credentials) it still can't connect?

  1. Helpful
  1. Vladimir K.
  2. Monday, 28 March 2022 18:33 PM UTC
Hi Matt.

Glad to hear you.

How are you?



Yes, this is correct. I got a couple machines, different OS (7, 10) but they all have same Appeon PB 2019R2, they all lost connections. So i guess that that i can say, that is not about some particular machine.
  1. Helpful
There are no comments made yet.
Tom Jiang @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 29 March 2022 08:30 AM UTC
  2. PowerBuilder
  3. # 2

#1 Do you use a proxy for connecting to your repository?

If using the proxy server, configure the proxy server IP address and port number in the PB.ini file (by default, the INI file is located in C:\Users\<username>\appdata\local\appeon\powerbuilder 19.0\ in Windows 7 or later). Copy the following section to the INI file and set the appropriate value for the proxy server:

[SourceControlProxy]

Url=192.0.0.88

Port=80

Username=

Password=

Timeout=10

 

#2 Is it possible that your credential is expired?

Try delete the account credential stored on Windows:

  1. Open Control Panel.
  2. Click on User Accounts.
  3. Click on Credential Manager.
  4. Click the Windows Credentials tab (or Web Credentials).
  5. Select the account.
  6. Click the Remove button.

Then try to connect to workspace from PowerBuilder IDE again.

 

#3 Password character

If you are using username and password authentication, please check if your password contains any character that is not on a standard US keyboard. We had a case where it failed to connect to the server when there is the character "§" in the password. I suggest that you test with an account that doesn't use any special characters in the password.

 

#4 Git settings in other tools

One user resolved a similar issue by going to MS Visual Studio Team Explorer Git > Setting, change Credential Helper from 'GCM for Windows' to 'Unset'

 

Regards,

 

Tom Jiang

Comment
  1. Vladimir K.
  2. Tuesday, 29 March 2022 13:47 PM UTC
Hi Tom.

How are you?

Thank you for getting back to us.

#1

No we don't

#2

There is nothing to remove.

#3

No there is no such a thing, but i did, changed password at bitbucket, logout, login with new password ok, then i opened Appeon PB and tested the connection with "new" password, i got same "cannot connect" messagebox.

#4

Did not help.

  1. Helpful
  1. Alan Volk
  2. Tuesday, 29 March 2022 14:49 PM UTC
Some additional context: this is Bitbucket cloud. We've tried using an app password that is granted all permissions, we've updated git for Windows locally, checked our git config for proxy settings, etc. Switching to the app password does change the error message to "Failed to perform the specified operation. Please make sure you can connect to the server repository." The first time you test connection is does update the password's Last Accessed value as well, so it seems to be connecting, it just can't communicate. Installed and tried PB 2021 as well, with the same result.
  1. Helpful
  1. Tom Jiang @Appeon
  2. Wednesday, 30 March 2022 03:27 AM UTC
When I first tried Bitbucket I used my email for the user name and it failed. I had to use the actual user name, which formed part of the repository URL.

If that is not the issue in you case, please also try connecting with TortoiseGit and see if you get any error.
  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.