1
Solved

Response status code does not indicate success: 404 (Not Found).

HI,

I'm trying to setup CatLight, but I get an 404 error on the Collection Url. When I browse to the url, it shows the tfs page. Maybe the whitespace is a problem?

URL: http://tfs01:8080/tfs/company/client%20project

How can I fix this?

Kind Regards,

3 replies

Hello,

Are you using TFS 2015? The older versions may be missing some needed APIs.

Generally, project url looks like this: https://tfs-server/tfs/DefaultCollection/MyProject

But, this field expects a collection url like this: https://tfs-server/tfs/DefaultCollection . TFS Collection is a container that holds several projects. It is typically named "DefaultCollection", but can have other names as well.

In your case, try connecting to http://tfs01:8080/tfs/company

I'm using VS2015 with TFS2013

I've tried http://tfs01:8080/tfs/company, but no result aswell

Currently CatLight will not be able to connect to older TFS 2013, because that version of TFS have different API. You can try upgrading to TFS 2015 or vote for support of previous version of TFS - http://catlight.helprace.com/i9-support-older-tfs-version-2010-2013 

TFS 2013 Update 5 should now be supported, so I retried :-)

Now I get the following error:

An unhandled exception occurred while processing the request.

SocketException: An existing connection was forcibly closed by the remote host
System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)

IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)

WebException: The underlying connection was closed: An unexpected error occurred on a receive.
System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

HttpRequestException: An error occurred while sending the request.
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

Stack Query Cookies Headers
SocketException: An existing connection was forcibly closed by the remote host
System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)

Show raw exception details
System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host
   at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)
   at System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
System.Net.Sockets.NetworkStream.EndRead(IAsyncResult asyncResult)
System.Net.PooledStream.EndRead(IAsyncResult asyncResult)
System.Net.Connection.ReadCallback(IAsyncResult asyncResult)

Show raw exception details
WebException: The underlying connection was closed: An unexpected error occurred on a receive.
System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)

Show raw exception details
HttpRequestException: An error occurred while sending the request.
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
Web.Services.Tfs.TfsAdapterBase.<>c__DisplayClass25_0`1.<<TfsGet>b__0>d.MoveNext() in TfsAdapterBase.cs
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
Web.Services.Tfs.TfsAdapterBase.<TfsGet>d__25`1.MoveNext() in TfsAdapterBase.cs
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
Web.Services.Tfs.TfsAdapterBase.<TfsGetMultiple>d__23`1.MoveNext() in TfsAdapterBase.cs
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
Web.Services.Tfs.Tfs2013Adapter.<GetProjectBuildDefinitions>d__4.MoveNext() in Tfs2013Adapter.cs
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
Web.Services.Tfs.TfsAdapterBase.<GetAllBuildDefintions>d__7.MoveNext() in TfsAdapterBase.cs
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
Web.Services.Tfs.MultiVersionTfsAdapter.<GetAllBuildDefintions>d__9.MoveNext() in MultiVersionTfsAdapter.cs
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
Web.Services.Builds.BuildSystemAdapterBase`3.<Web-Services-Builds-IBuildSystemAdapter-GetAllBuildDefintions>d__20.MoveNext() in BuildSystemAdapterBase.cs
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
Web.Controllers.BuildsController.<EditBuildSettings>d__6.MoveNext() in BuildsController.cs
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNet.Mvc.Controllers.ControllerActionExecutor.<CastToObject>d__8`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNet.Mvc.Controllers.ControllerActionInvoker.<InvokeActionAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
Microsoft.AspNet.Mvc.Controllers.FilterActionInvoker.<InvokeActionFilterAsync>d__53.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
Microsoft.AspNet.Mvc.Controllers.FilterActionInvoker.<InvokeAsync>d__44.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNet.Mvc.Infrastructure.MvcRouteHandler.<RouteAsync>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNet.Mvc.Routing.InnerAttributeRoute.<RouteAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNet.Routing.RouteCollection.<RouteAsync>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNet.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNet.IISPlatformHandler.IISPlatformHandlerMiddleware.<Invoke>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNet.Diagnostics.Entity.MigrationsEndPointMiddleware.<Invoke>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNet.Diagnostics.Entity.DatabaseErrorPageMiddleware.<Invoke>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
Microsoft.AspNet.Diagnostics.Entity.DatabaseErrorPageMiddleware.<Invoke>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
Microsoft.AspNet.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()

Show raw exception details

Please advise.

That looks like a network problem. Can you send all the logs from %appdata%\catlight\logs to [email protected] , so we could investigate further?