sanyavb Posted November 28, 2016 Report Share Posted November 28, 2016 When I'm synchronizing GIT (http://SERVER:8080/tfs/DefaultCollection/_git/Source) - I get the error The credentials introduced for the repository are not valid. Then I'm try next command cm sync /main@Test@localhost:8087 tfs http://SERVER:8080/tfs\\DefaultCollection $/Source --user=MyDomain\User --pwd=anypassword I get the error: Error: Exception has been thrown by the target of an invocation. Please, help me! I really want to use your product, but it does not work Link to comment Share on other sites More sharing options...
manu Posted November 29, 2016 Report Share Posted November 29, 2016 Hi, why don't you try to specify the user and password values for the git sync command? I would need to check the Plastic SCM client and Plastic SCM server log files. Here you have how to enable the "cm.log.conf" file: https://www.plasticscm.com/documentation/technical-articles/kb-enabling-logging-for-plastic-scm-part-i.html The Plastic SCM server is having the log enabled by default so if you could send me the "plastic.debug.log.txt" file you can find inside the plastic SCM server directory that will help in order to debug the issue. Link to comment Share on other sites More sharing options...
sanyavb Posted November 29, 2016 Author Report Share Posted November 29, 2016 >>why don't you try to specify the user and password values for the git sync command? I do not know how to do it Attach log file plastic.debug.log.zip Link to comment Share on other sites More sharing options...
manu Posted November 29, 2016 Report Share Posted November 29, 2016 You need to specify the --user= and --pwd= parameters as you do with TFS Link to comment Share on other sites More sharing options...
sanyavb Posted November 30, 2016 Author Report Share Posted November 30, 2016 It's very nice joke I'm wrote the correct login and password, realy. GIT client connects successfully, but the PlasticSCM failed. PS: I'm sorry for my bad english. Link to comment Share on other sites More sharing options...
manu Posted November 30, 2016 Report Share Posted November 30, 2016 Ok thanks for the test. Do you mind sending me the cm log file? You have the instructions about how to enable it up there. Also, you can migrate the git content into Plastic SCM using the fast-export operation, that might be another approach for you. Link to comment Share on other sites More sharing options...
manu Posted November 30, 2016 Report Share Posted November 30, 2016 Ok, let's try the following. Create a new user in your Git/Tfs system and set a really simple password for him, something like "password1234", without strange symbols like "#" or "!". Then try the sync command with the new user. Link to comment Share on other sites More sharing options...
sanyavb Posted November 30, 2016 Author Report Share Posted November 30, 2016 It's problem. I have not permission to create new user and change password. I asked another user and he connected to TFS successfully. command 'cm' returned the following message: Branches are in sync. There are no changesets to push or pull. Synchronization completed In total: 1) Password containing symbols like "#" or "!" is not correct! Please, fix it. 2) cm sync /main@Test@localhost:8087 tfs http://SERVER:8080/tfs... etc - is work, but Branches are in sync. There are no changesets to push or pull. (actually changesets there and it contains many files and branches) - Please, fix it. 3) synchronization by the following method (see. figure sync.png) does not work - Get error The credentials introduced for the repository are not valid Link to comment Share on other sites More sharing options...
manu Posted December 1, 2016 Report Share Posted December 1, 2016 Hello, let's summarize the problems: On 11/30/2016 at 2:06 PM, sanyavb said: 1) Password containing symbols like "#" or "!" is not correct! Please, fix it. Did you test with another command that is not having those chars and it's going further? On 11/30/2016 at 2:06 PM, sanyavb said: 2) cm sync /main@Test@localhost:8087 tfs http://SERVER:8080/tfs... etc - is work, but Branches are in sync. There are no changesets to push or pull. (actually changesets there and it contains many files and branches) - Please, fix it. Ok, I'll need the server and client log for this execution I would like to know why it's not syncing content On 11/30/2016 at 2:06 PM, sanyavb said: 3) synchronization by the following method (see. figure sync.png) does not work - Get error The credentials introduced for the repository are not valid I guess you are using the credentials you used for the second test, right? Can you share the client log file as well? Link to comment Share on other sites More sharing options...
manu Posted December 2, 2016 Report Share Posted December 2, 2016 Hello, for TFS, look at the error TFS is raising: 2016-11-30 16:28:07,226 ERROR 16376 sync - Error running sync: The string must have at least one character. Parameter name: item. StackTrace: at Microsoft.TeamFoundation.Common.TFCommonUtil.CheckStringForNullOrEmpty(String stringVar, String stringVarName, Boolean trim) at Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer.QueryHistory(String path, VersionSpec version, Int32 deletionId, RecursionType recursion, String user, VersionSpec versionFrom, VersionSpec versionTo, Int32 maxCount, Boolean includeChanges, Boolean slotMode, Boolean includeDownloadInfo) Can you share your execution command with us? If you want we can follow up this using the support account, you are welcome to send us an email to support at codicesoftware dot com. Link to comment Share on other sites More sharing options...
sanyavb Posted December 2, 2016 Author Report Share Posted December 2, 2016 9 minutes ago, manu said: Can you share your execution command with us? I'm sorry, but it is impossible under any conditions((( I see next link But, the bug is fixed, how I understand... Link to comment Share on other sites More sharing options...
manu Posted December 5, 2016 Report Share Posted December 5, 2016 On 12/2/2016 at 1:34 PM, sanyavb said: I'm sorry, but it is impossible under any conditions((( is it possible to sign an NDA agreement? How many developers are using the Git/TFS platform? Link to comment Share on other sites More sharing options...
sanyavb Posted December 6, 2016 Author Report Share Posted December 6, 2016 21 hours ago, manu said: s it possible to sign an NDA agreement? How many developers are using the Git/TFS platform? I'm think it's unreal. Can you give me your email to contact you as a developer? Link to comment Share on other sites More sharing options...
manu Posted December 7, 2016 Report Share Posted December 7, 2016 Sure, contact us using the support email, support at codicesoftware dot com. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.