versionone / VersionOne.Client.VisualStudio

View and update VersionOne work items directly from Visual Studio
http://versionone.github.io/VersionOne.Client.VisualStudio
BSD 3-Clause "New" or "Revised" License
2 stars 10 forks source link

Connection issue #100

Open dmelinosky opened 10 years ago

dmelinosky commented 10 years ago

Trying to connect to one of our projects, but the Please wait, operation in progress windows never closes.

While watching the we traffic in fiddler, I get a 404 error when the message below is sent to the version one server.

When i remove all the query string parameters, I get a 200 but with too much data.

Please let me know if there is anything else you need to help figure this out.

GET /VersionOne/rest-1.v1/Data/Workitem?sel=Task.CheckQuickClose,Task.CheckQuickSignup,Task.Order,Task.Name,Task.Description,Task.Scope.Name,Task.Timebox.Name,Task.Parent.Name,Task.Owners,Task.Status,Task.Category,Task.Source,Task.Reference,Task.LastVersion,Task.DetailEstimate,Task.Actuals.Value.@Sum,Task.ToDo,Task.Actuals,Task.Name,Task.Number,Task.Owners,Task.Status,Task.Estimate,Task.DetailEstimate,Task.Actuals.Value.@Sum,Task.Actuals,Task.ToDo,Task.Parent,Task.Source,Task.Name,Story.CheckQuickClose,Story.CheckQuickSignup,Story.Name,Story.Description,Story.Scope.Name,Story.Timebox.Name,Story.Parent.Name,Story.Owners,Story.Status,Story.Category,Story.Source,Story.Reference,Story.LastVersion,Story.DetailEstimate,Story.Actuals.Value.@Sum,Story.ToDo,Story.Actuals,Story.Name,Story.Number,Story.Owners,Story.Status,Story.Estimate,Story.DetailEstimate,Story.Actuals.Value.@Sum,Story.Actuals,Story.ToDo,Story.Team,Story.Parent,Story.Source,Story.Priority,Story.Status,Story.Scope,Story.Description,Story.Name,Defect.CheckQuickClose,Defect.CheckQuickSignup,Defect.Name,Defect.Description,Defect.Scope.Name,Defect.Timebox.Name,Defect.Parent.Name,Defect.Owners,Defect.Status,Defect.Source,Defect.Reference,Defect.DetailEstimate,Defect.Actuals.Value.@Sum,Defect.ToDo,Defect.Actuals,Defect.Name,Defect.Number,Defect.Owners,Defect.Status,Defect.Estimate,Defect.DetailEstimate,Defect.Actuals.Value.@Sum,Defect.Actuals,Defect.ToDo,Defect.Team,Defect.Parent,Defect.Source,Defect.Priority,Defect.Status,Defect.Scope,Defect.Description,Defect.Name,Test.CheckQuickClose,Test.CheckQuickSignup,Test.Order,Test.Name,Test.Description,Test.Scope.Name,Test.Timebox.Name,Test.Parent.Name,Test.Owners,Test.Status,Test.Category,Test.Reference,Test.DetailEstimate,Test.Actuals.Value.@Sum,Test.ToDo,Test.Actuals,Test.Name,Test.Number,Test.Owners,Test.Status,Test.Estimate,Test.DetailEstimate,Test.Actuals.Value.@Sum,Test.Actuals,Test.ToDo,Test.Parent,Test.Status,Test.Name,Workitem.Parent&where=(Workitem.Scope.AssetState!='Closed';Workitem.Scope.ParentMeAndUp='Scope%3a123520';Workitem.Timebox.State.Code='ACTV';Workitem.AssetState!='Closed')&sort=PrimaryWorkitem.Order,Workitem.Name HTTP/1.1

dmelinosky commented 10 years ago

Some additional information, hopefully someone is looking at this...

After doing some experimentation with fiddler, i came to the conclusion that the problem was that the query string was too long. When sent the request myself and removed some of the properties in the 'sel' portion of the query string, I could get a successful (200) response from the server. But with all the properties in the 'sel' portion i would get the 404. I went into the IIS logs and looked for some of my requests, found them, and they showed a return of 404 15 0 15.

According to this page: http://www.iis.net/configreference/system.webserver/security/requestfiltering/requestlimits

I believe that what I found in the logs means that the query string was too long.

So back on the server I went to the Request Fitlering section of IIS, clicked the Edit Feature Settings action and doubled the Maximum URL length and the Maximum query string length to 8192 and 4096 respectively.

I was then able to send the full request with fiddler.

However, when I opened studio and turned on the project and tasks views, studio crashes.

Any help would be appreciated...