2
Solved

TFS2015: Response status code does not indicate success:500 (Internal Server Error)

I've upgraded to the latest build (v 2.0.14 Beta), and tried to change the builds I monitor, after doing this I started seeing the message: Response status code does not indicate success:500 (Internal Server Error)

Looking at fiddler most of the projects being polled are fine except 1 which is returning the 500. However I am not subscribing to any builds associated with that project so I wouldn't expect this one failing to bring down the rest.

3 replies

GH

Can you give some indication of the priority of this and when the update is likely to be available. Catlight doesn't work at all for me now.

Hi, after upgrade Catlight tries to re-discover all possible build definitions and work item queries.

Generally, TFS should not return 500 error, unless there is a bug in TFS or some configuration is broken.

Can you try to open this project int TFS web app? Can you view build definitions and work item queries there? If you get errors, TFS might give a hint on how they could be repaired. 

Hiya, It's probably worth mentioning after the upgrade the builds were displaying fine, it was only when I tried to subscribe to a few extra builds that I encountered this, removing those builds didn't stop the error.

The specific request that is failing is:
/tfs/DefaultCollection/NameOfProject/_apis/build/builds/?api-version=2.0&definitions=&maxBuildsPerDefinition=5

and it is recieving a null reference exception:

{"$id":"1","innerException":null,"message":"Object reference not set to an instance of an object.","typeName":"System.NullReferenceException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=RemovedForThisPost","typeKey":"NullReferenceException","errorCode":0,"eventId":0}

Regarding the failing project, it generally looks ok and isn't returning any relevant errors in the web window although it was never fully setup or used so doesn't contain any work-items. We will probably just remove it as we do not need it anymore.

As a feature request from this though, would it be possible for the application to still work if this happens, and maybe just display a warning?

Thanks,
Jason

Thanks for providing the details!

It is actually a combination of bugs in Catlight and new TFS. This request should not be made at all, as it asks for empty list of builds. We will fix it on our side in the next update.