Issue
When a Version Control activity is done, Studio Pro can throw a pop-up that prompts users to provide a username and password for Version Control
This is unexpected because Studio Pro normally does not prompt this request and providing Mendix credentials does not sign in the user.
Signing into Version Control is taken care of by Studio Pro when Studio Pro is initiated and as an end-user, it should not be required to provide the credentials manually. On some occasions, however, it is possible that during the initialization of Studio Pro, there was a network hiccup or an issue with Git credentials that causes the prompt to appear, asking for name and email under Edit > Preferences > Version Control > Git.
Environment
Version Control
Cause
There was a network issue causing authentication failures, or the Git global configuration is missing the user.name and user.email values, which causes Studio Pro to repeatedly prompt for these credentials.
Solution / Workaround
In the case of a network issue, to resolve the issue follow the below steps:
- Close all open instances of Studio Pro
- Make sure that the machine has established internet connection
- Open the project
- Attempt to perform a Version Control activity.
If the Team Server activity still fails, make sure that the Studio Pro firewall settings are configured correctly on the machine and try again. Otherwise, check the following:
To resolve the repeated Git credential prompts and authentication failures, follow the steps below:
Open the Git command line client and set the global user.name and user.email values by running the following commands:git config --global user.name "Your Name"git config --global user.email "your@email.com"
These commands ensure that user.name and user.email are correctly stored in the global Git configuration.
Restart Studio Pro after running the commands.
Internal information related
- 277758, 224521
Additional information
- Mendix documentation:
0 Comments