-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Timeout when getting multiple repositories that have been renamed #1396
Comments
The Fiddler thing has been noted before in #874 |
This is because if you rename an repo or change the owner you get an
I have tested to set this to true, and voila, i get an response which contains the new owner. @ryangribble @shiftkey can you say which consequence it has to set this to true. |
OctoKit is setting It appears that What's the reason for using |
It must have something to do with the new Request.
It only works for the first time. If you call it again, then you end in an error.
I don't know why but it seems that the first redirect request is not completed succesfully. I will try to find out why. |
From MSDN:
Because of how the GitHub API hides private resources and returns a |
The only fix for me is to call |
For reference, here's the source for |
I think it has to do with the following line. It seems that there is the same request sending twice. But i don't know why because we are building a new request object 😓 |
@maddin2016 thanks for digging into this! I've made a note to look at that PR when I get a spare moment... |
The following test fails for me with a
TaskCancelledException
for theHttpClient.SendAsync
call, inside the second call to get a repository:It does not fail if I instead use repos that have not been renamed:
It also does not fail if I have Fiddler running.
Full exception spew:
The text was updated successfully, but these errors were encountered: