#OpsHub #visual-studio-online Migration failure, - azure-devops

How can I fix this error so that the migration completes please?
OH-SCM-009: Error occurred while sync. GetAndDownloadFile :The server returned content type text/html; charset=UTF-8, which is not supported.
Retrys all seem to fail at same changeset ID 371
Thank you

depending on your on-premises TFS version, the issue could be in your TFS Data Cache (on the machine where TFS is deployed) or configuration of Visual Studio or even corruption of data.
This (https://social.msdn.microsoft.com/Forums/vstudio/en-US/b3c9ab89-17b0-45b1-bf70-4c338ae6b523/the-server-returned-content-type-texthtml-charsetutf8-which-is-not-supported?forum=tfsgeneral) thread might be referred to, for a possible solution. Which suggests the user to clear his cache.
In any case, it might be a good idea to contact Microsoft Support or try posting on Social MSDN.

Related

Unable to recover deleted projects in Azure DevOps 2020

I am unable to recover deleted projects in Azure DevOps Server 2020 On premsie. Do you have any idea?
You can try visiting this project using InPrivate window or on different browsers. If it worked fine in private mode. It was probably caused by corrupted cache data. Then you need to clear your browser data. Clear cookies and local storage ("developer tools/application/clear storage/clear site data"). See this similar thread for more information.
This error could be caused by some preview features too. If you enabled some preview features. You can try disabling them to see if the error will be gone. See this thread for more information.

github extension for visual studio 2015 loses connection

I keep getting this error occasionally. It is really annoying because sometimes it fixes itself, but mostly I just have to close VS and reopen and then it will work again for a while.
It happens when I try to pull from a branch (or any other git network interaction).
Error encountered while fetching: An error occurred while sending the request.
Inner Exception:
The remote name could not be resolved: 'github.com'
Sometimes it fixes itself after an unknown period of time.
Sometimes I do nothing during that period of time.
Sometimes I click around and check out other branches and do pull requests and then it works again.
Mostly I have to restart VS to get it working again.
Has anyone else had this issue? How did you resolve?
I am also using two factor auth. if that is the issue. (Doesn't appear to be the issue)
I also receive this error when starting up VS sometimes:
We were unable to automatically populate your Visual Studio Team Services accounts.
The following error was encountered: TF400813:
Resource not available for anonymous access. Client authentication required.
So perhaps it is that the github.com authentication is being lost at some point during interactions and restarting VS fixes it.
Another clue is that when github.com can't be reached, it can't be browsed to in the browser in Visual Studio. It can be browsed to fine in Chrome (or FireFox or IE). Visual Studio also seems to lose connection to nuget.org occasionally as well, the effect appears to be the same.
Possible related issue:
Visual Studio/C#: Nuget Unable to connect to remote server
UPDATE: This happens on two different ISPs and one of them was not on the corporate firewall (this rules out network issues). When the issue happens it actually shuts down ALL network communication from within Visual Studio, so this isn't just a github.com issue. I have a ticket open with Microsoft, hopefully we will get it resolved and I can post the answer for everyone.
After back and forth with Microsoft support and the release of VS 2017.
The answer is to upgrade!

Problems when migrating from on-premises TFS to VSO using OpsHub

We are trying to migrate from our on-premises TFS 2010 to Visual Studio Online (VSO). We did it a first time just to test it out. The OpsHub application stopped a couple of times, but we finally succeeded. We did our testing and deleted the project from VSO.
The second time dident go so well. It gives the following error after migrating a lot but not all of our change sets:
com.opshub.eai.config.exception.ConfigServiceException:
OH-CONFIG-0101: Exception while calling service, underlying cause :
could not execute query.
We can press OK and navigate into another view in the application but the same error occurs on every view. We have restarted the application, the service and even the server. We always get the same error. We decided to uninstall the application and reinstall it. That solved the problem, but it appears again after we have migrated about 60% of our source code (a day or so).
So, after 3 re installations we are about to give up. It doesn't crash on the same change set every time.
Does anyone know a way around this? Is there any way we can see the real cause of the problem and fix it?
We are using version V1.3.000B000 (latest version).
Not sure if this is the proper place to post the question, but OpsHub is referring to stack overflow for support.

OpsHub Migration Tool Stuck at "Reading and Analysis"

I started a migration source code from TFS (not work items) to Visual Studio Online and it has been running for more than 24 hours but the status still shows "Reading and Analysis". CPU usage for the application is showing 0.
Should I keep waiting or is there a way to find out if an exception is thrown? I am not too familiar with debugging procedure for Java applications.
Which version you are using?
There is performance issue with label which is fixed in version 1.0.1.005.
Can you try current version?
Error : TF14045: The identity 19b7a3e0-b25b-4c48-90a8-813202d6d1b4 is not a recognized identity.
above error comes while connecting to tfs server that's why utility continuously displaying reading and analysis because everytime utility connects to source TFS for fetching total number of change sets and lables it encounters same error.
As per microsoft blogs, people are encountering this type of issue after upgradation/db restore for collection. After this process when user tries to connect tfs, it always throws the same error which you have encountered. Have you done any of the above process for the collection you are trying to migrate? You can refer following thread which contains resolution for same error.
http://social.msdn.microsoft.com/Forums/vstudio/en-US/b67ad1d6-d763-4602-bf14-489a3389a30d/getting-tf14045-the-identity-guid-is-not-a-recognized-identity-after-db-restored?forum=tfsadmin
Let us know in case you won't be able to resolve this with the above information and also in case you have not done any upgradation/db restore procedure. In that case we would like to know your source tfs version and older upgrade history of this instance (If any).

Eclipse unable to connect to TFS Server

I am using eclipse with Microsoft Visual Studio Team Explorer Everywhere 2010. I was able to successfully import my Project, but every time I open eclipse, The progress window gets stuck at 60% while trying to "Refresh TFS Server Information for http://my.server".
Eventually I will get an error from eclipse:
An internal error occured during:"refreshing server item information for project MyProject".
com.ctc.wstc.exc.WstxIOException: Connection reset.
Also I get this messagewhen trying to refresh manually:
An internal error occured during:"Refreshing TFS Server information for http://my.server".
[com.ctc.wstx.exc.Wstx.LazyException] Connection reset.
Any help is greatly appreciated!
The "Connection reset" is coming from TEE's network communication layer and message points to a network problem. Can you use any TFS features from the plug-in (is "Refresh Server Item Information" the only thing that fails)? If you can't use any TFS features from the plug-in, check that Eclipse's HTTP proxy configuration is correct.
If you can use some TFS features, but the server item information refresh feature is failing, check that you don't have an HTTP proxy, firewall, or NAT device between your client and TFS that is dropping TCP sockets after a short time. Refreshing information for a large number of files, or from a heavily loaded server, may take a while (perhaps minutes). A network device that "drops" the active TCP socket without notifying the client would cause this behavior.
First, install TEE SP1 if you didn't already.
If the error persists, it might be a potential bug so post it on connect or on the TEE forum.
I ended up uninstalling and re-installing eclipse and TEE plug-in. After that everything connects and works as far as TFS is concerned.