Closed ghost closed 12 years ago
Im running against version 6.5.4.
Nice find - Currently working on this
This is now fixed. There is a chance that guest auth can actually return a Forbidden. I have implemented a run that checks for a HttpError and will throw an Exception on finding one
Thanks for the quick fix :). I'll get the src and give it a try until you post a new version on Nuget.
Hi
Ive been building a TC monitor and when I enable the guest account with a blank password I get a NullReference exception the second time I call AllUsers() after connecting. This do not happen when I supply my own username and password. I can call AllBuildConfigs + AllProjects several time when using the guest account, just no AllUsers.
[ArgumentNullException: Value cannot be null. Parameter name: input] EasyHttp.Codecs.DefaultDecoder.NormalizeInputRemovingAmpersands(String input) +93 EasyHttp.Codecs.DefaultDecoder.DecodeToStatic(String input, String contentType) +53 EasyHttp.Http.HttpResponse.StaticBody(String overrideContentType) +233 TeamCitySharp.Connection.TeamCityCaller.Get(String urlPart) +430 TeamCitySharp.TeamCityClient.AllUsers() +57 TeamCityMonitor.Repository.BuildMonitorRepository.GetAllUsers() in D:\My Projects\teamcity-monitor\TeamCityMonitor\Repository\BuildMonitorRepository.cs:209