This issue is occurring on TFS 2015 Update 4 (on premises).
In the playground, I run a query, and I get a list of responses. When I click any of the links, I get the following error:
Ajax request failed with status: Unauthorized.
TFS.Core.Ajax.AjaxException: Ajax request failed with status: Unauthorized.
Refreshing and hard-refreshing do nothing. However, if I middle click the link, it works as expected.
The same thing happened just now when clicking the "Report an issue" link at the top of the page; I got a bunch of Refused to load the stylesheet '...' because it violates the following Content Security Policy directive: "style-src 'unsafe-inline' assets-cdn.github.com".
errors. Middle clicking fixes this issue as well.
Putting the github issue aside (as I haven't investigated that at all):
I looked into the cookies on the pages that are giving the errors: EditThisCookie shows all the cookies one would expect, however, looking into the Network tab in Chrome Dev Tools shows that all the Ajax requests are being sent without any cookies.
Looking into the iframe the results are being served from, window.document.location
is empty. I have a feeling this is the root of the issue; chrome is making ajax requests based on the cookies applicable to window.document.domain, and finding none,
I ran the $("a.row").attr("target", "_parent");
in the console and re-tried clicking any of the work item links and they all worked as expected, however they no longer opened in new tabs.
Please let me know if I can provide any more information that would assist you. I may have time to look into the error myself in about three weeks if you don't have time before then. Thanks.