Only one usage of each socket address...

Apr 3, 2008 at 12:43 AM
Just tried to do a checkout of a large project and got the below error.

need any more info??

System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port) is normally permitted xxx.xxx.xxx.xxx:8080
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.WebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponse(WebRequest request)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at CodePlex.TfsLibrary.RepositoryWebSvc.Repository.GetRepositoryProperties()
at CodePlex.TfsLibrary.ObjectModel.SourceControlService.<>c_DisplayClass10.<GetRepositoryId>b_f()
at CodePlex.TfsLibrary.ObjectModel.SourceControlService.WrapWebExceptionT(WrapWebExceptionDelegate`1 function)
at CodePlex.TfsLibrary.ObjectModel.SourceControlService.GetRepositoryId(String tfsUrl, ICredentials credentials)
at SvnBridge.SourceControl.TFSSourceControlProvider.GetRepositoryUuid() in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\SourceControl\TFSSourceControlProvider.cs:line 555
at SvnBridge.Proxies.RemotingInvocation.Proceed() in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Proxies\RemotingInvocation.cs:line 71
at SvnBridge.Proxies.RetryOnSocketExceptionsInterceptor.Invoke(IInvocation invocation) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Proxies\RetryOnSocketExceptionsInterceptor.cs:line 26
at SvnBridge.Proxies.RetryOnSocketExceptionsInterceptor.Invoke(IInvocation invocation) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Proxies\RetryOnSocketExceptionsInterceptor.cs:line 50
at SvnBridge.Proxies.RemotingInvocation.Proceed() in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Proxies\RemotingInvocation.cs:line 57
at SvnBridge.Proxies.TracingInterceptor.Invoke(IInvocation invocation) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Proxies\TracingInterceptor.cs:line 26
at SvnBridge.Proxies.RemotingInvocation.Proceed() in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Proxies\RemotingInvocation.cs:line 57
at SvnBridge.Proxies.ProxyFactory.RemotingProxy.Invoke(IMessage msg) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Proxies\ProxyFactory.cs:line 44
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at SvnBridge.Interfaces.ISourceControlProvider.GetRepositoryUuid()
at SvnBridge.Infrastructure.UpdateReportService.ProcessUpdateReportForFile(UpdateReportData updateReportRequest, ItemMetaData item, StreamWriter output) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Infrastructure\UpdateReportService.cs:line 62
at SvnBridge.Infrastructure.UpdateReportService.ProcessUpdateReportForDirectory(UpdateReportData updateReportRequest, FolderMetaData folder, StreamWriter output, Boolean rootFolder) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Infrastructure\UpdateReportService.cs:line 172
at SvnBridge.Infrastructure.UpdateReportService.ProcessUpdateReportForDirectory(UpdateReportData updateReportRequest, FolderMetaData folder, StreamWriter output, Boolean rootFolder) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Infrastructure\UpdateReportService.cs:line 168
at SvnBridge.Infrastructure.UpdateReportService.ProcessUpdateReportForDirectory(UpdateReportData updateReportRequest, FolderMetaData folder, StreamWriter output, Boolean rootFolder) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Infrastructure\UpdateReportService.cs:line 168
at SvnBridge.Infrastructure.UpdateReportService.ProcessUpdateReportForDirectory(UpdateReportData updateReportRequest, FolderMetaData folder, StreamWriter output, Boolean rootFolder) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Infrastructure\UpdateReportService.cs:line 168
at SvnBridge.Handlers.ReportHandler.UpdateReport(IHttpRequest request, ISourceControlProvider sourceControlProvider, UpdateReportData updatereport, StreamWriter output) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Handlers\ReportHandler.cs:line 173
at SvnBridge.Handlers.ReportHandler.Handle(IHttpContext context, ISourceControlProvider sourceControlProvider) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Handlers\ReportHandler.cs:line 45
at SvnBridge.Handlers.HttpContextHandlerBase.Handle(IHttpContext context, IPathParser pathParser) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Handlers\HttpContextHandlerBase.cs:line 30
at SvnBridge.Net.HttpContextDispatcher.Dispatch(IHttpContext connection) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Net\HttpContextDispatcher.cs:line 85
at SvnBridge.Net.Listener.Process(TcpClient tcpClient) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Net\Listener.cs:line 135
at SvnBridge.Net.Listener.Accept(IAsyncResult asyncResult) in C:\Documents and Settings\simonc\Desktop\SvnBridge-17344\SvnBridgeLibrary\Net\Listener.cs:line 87
Apr 3, 2008 at 10:50 AM
How big a project?
Is it avialable somehwere?
Using https ?
Apr 3, 2008 at 12:06 PM
size: 50MB+ Someone decided it would be a good idea to check in seed data including images and videos
available: no, perhaps we can bloat up your SvnBridge test project? grant me access and I will start checking in garbage :)
https: no, but it is cross domain.

BTW it does get part way through the checkout. and it works if i do a sub-directory (less size)
I will do some more research tomorrow and give u some more accurate numbers.
Apr 4, 2008 at 5:52 AM
ok it got through 57MB of 65MB before it crashed
Apr 4, 2008 at 3:26 PM
Hm, the SvnBridgeTest project is ~11,000 files and about 80 MB.
I think it is bloated enough.
I am guessing that this has to do with the locality of the network.
I'll run some tests on that.
Apr 4, 2008 at 3:26 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.