Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BadRequest/Connection cannot be reused when migrating inside OnPremise Instance #95

Open
chripf opened this issue Oct 12, 2021 · 0 comments

Comments

@chripf
Copy link

chripf commented Oct 12, 2021

When migrating work items from one collection to a different one, but on the same server, migration fails with

Authentication failed because the connection could not be reused.

  • I am using Integrated Auth for both connections
  • User has rights on both.
  • 4 work items were migrated, now every approach fails with the error above.
  • Azure DevOps Server 2020 Update 1

Stacktrace:

   at Common.ApiWrappers.ApiWrapperHelpers.<ExecuteBatchRequest>d__3.MoveNext() in D:\Sources\vsts-work-item-migrator\Common\ApiWrappers\ApiWrapperHelpers.cs:line 27
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Common.ApiWrappers.BaseBatchApiWrapper.<>c__DisplayClass2_1.<<ExecuteWitBatchRequests>b__2>d.MoveNext() in D:\Sources\vsts-work-item-migrator\Common\ApiWrappers\BaseBatchApiWrapper.cs:line 42
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Common.RetryHelper.<RetryAsync>d__4`1.MoveNext() in D:\Sources\vsts-work-item-migrator\Common\RetryHelper.cs:line 31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant