Skip to content

Instantly share code, notes, and snippets.

@jamiegs
Created April 22, 2013 21:52
Show Gist options
  • Save jamiegs/5438871 to your computer and use it in GitHub Desktop.
Save jamiegs/5438871 to your computer and use it in GitHub Desktop.
Error from mongos
At the same time it failed there was a message in the mongos log.
2013-04-22 21:00:08,833 ip-0A2057A3 [WARN ] [Hudl.Config.ClusterConfigFileUtility] Timed out acquiring the configuration lock for key logger.Enyim.Caching.Memcached.PooledSocket during a GetConfiguration() call
--Mongos Host Error--
Hudl mongos service failed during startup:
Type = System.NullReferenceException
Message = Object reference not set to an instance of an object.
Data: <empty>
Stack Trace:
at Huddle.Logging.HudlLogManager.CreateOrUpdateFilter(String name, String value) in D:\svn\hudl\InternalCore\Logging\HudlLogManager.cs:line 54
at Huddle.Logging.HudlLogManager.InitializeLogging(String fileName, Level threshold, List`1 filters) in D:\svn\hudl\InternalCore\Logging\HudlLogManager.cs:line 116
at MongosHost.Program.Start() in D:\svn\hudl\MongosHost\Program.cs:line 69
at MongosHost.MainService.OnStart(String[] args) in D:\svn\hudl\MongosHost\MainService.cs:line 35
---Hudl Error---
013-04-22 21:16:45,112 ip-0A2057A3 [ERROR] [SilverlightVideoServiceDispatcher] [request_id=6a2fad82] Type=MongoDB.Driver.MongoConnectionException
Message=Unable to connect to server localhost:27017: No connection could be made because the target machine actively refused it 127.0.0.1:27017.
Data:
Signature=443a7474
InnerExceptions=[System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 127.0.0.1:27017
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP)
at MongoDB.Driver.Internal.MongoConnection.Open()
at MongoDB.Driver.Internal.MongoConnection.GetNetworkStream()
at MongoDB.Driver.Internal.MongoConnection.SendMessage(MongoRequestMessage message, SafeMode safeMode)
at MongoDB.Driver.Internal.MongoConnection.RunCommand(String collectionName, QueryFlags queryFlags, CommandDocument command)
at MongoDB.Driver.MongoServerInstance.VerifyState(MongoConnection connection)
at MongoDB.Driver.MongoServerInstance.Connect(Boolean slaveOk)
at MongoDB.Driver.Internal.DirectConnector.Connect(TimeSpan timeout)]
HudlService=IVerificationService.DoClipsBelongToTeam
HudlEndpointPath=ISilverlightVideoService/GetOverlayData
AuthUser=2386288
RawUrl=/Services/SilverlightVideoService.svc
Method=POST
Ip=207.157.23.67
Headers=
Connection=close
Pragma=no-cache
Via=1.1 SERVER-ISA
Content-Length=203
Content-Type=text/xml; charset=utf-8
Accept=*/*
Accept-Language=en-US
Cookie=__utma=176666940.2001399906.1366568433.1366657411.1366659883.7; __utmz=176666940.1366568433.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=176666940.|1=Silverlight%20Version=4=1; __utmc=176666940; _chartbeat2=veixc4n76pwq6utr.1366568439379.1366659912157.00000000000001; olfsk=olfsk05833344253276873; hblid=Yj5FI9YWymDASwxH3kQBhz4126480223; ident=a=92CavMU4b9pPempCJOYA7A&u=2386288&n=Coach+Patterson; t=73544; wcsid=izf4fS9ur3YJ1DjofWpdYGW126480223; _oklv=1366665190736%2Cizf4fS9ur3YJ1DjofWpdYGW126480223; _okbk=cd4%3Dtrue%2Cvi5%3D0%2Cvi4%3D1366659901430%2Cvi3%3Dactive%2Cvi2%3Dfalse%2Cvi1%3Dfalse%2Ccd8%3Dchat%2Ccd6%3D0%2Ccd5%3Daway%2Ccd3%3Dfalse%2Ccd2%3D0%2Ccd1%3D0%2C; _ok=1264-808-10-3891
Host=www.hudl.com
Referer=http://www.hudl.com/ClientBin/SilverlightVideoPlayer.xap?v=1f1fa58f076858ac5c35a6c93b1ba374d6a96ff5
User-Agent=Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0; BOIE9;ENUS)
X-Real-IP=207.157.23.67
SOAPAction="http://tempuri.org/ISilverlightVideoService/GetOverlayData"
X-Forwarded-For=207.157.23.67
X-Forwarded-Port=80
X-Forwarded-Proto=http
App=Hudl
Stack Trace:
at MongoDB.Driver.Internal.DirectConnector.Connect(TimeSpan timeout)
at MongoDB.Driver.MongoServer.Connect(TimeSpan timeout, ConnectWaitFor waitFor)
at MongoDB.Driver.MongoServer.Connect(ConnectWaitFor waitFor)
at MongoDB.Driver.MongoServer.ChooseServerInstance(Boolean slaveOk)
at MongoDB.Driver.MongoServer.AcquireConnection(MongoDatabase database, Boolean slaveOk)
at MongoDB.Driver.MongoCursorEnumerator`1.AcquireConnection()
at MongoDB.Driver.MongoCursorEnumerator`1.GetFirst()
at MongoDB.Driver.MongoCursorEnumerator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Huddle.Data.MongoDAO.MongoClipDAO.GetClipsByClipIds(Int64 teamId, List`1 clipIds, Boolean includeAngles) in d:\BuildAgent\work\36cc4eb87d8e90e\DataAccess\MongoDAO\MongoClipDAO.cs:line 226
at Huddle.Service.Host.Receivers.VerificationServiceReceiver.DoClipsBelongToTeam(List`1 clipIds, Int64 teamId) in d:\BuildAgent\work\36cc4eb87d8e90e\ServicesHost\Receivers\VerificationServiceReceiver.cs:line 184
at Castle.Proxies.Invocations.IVerificationService_DoClipsBelongToTeam.InvokeMethodOnTarget()
at Castle.DynamicProxy.AbstractInvocation.Proceed() in e:\OSS.Code\Castle.Core\src\Castle.Core\DynamicProxy\AbstractInvocation.cs:line 144
at Hudl.Services.Core.HudlServiceProxy.Intercept(IInvocation invocation) in d:\BuildAgent\work\36cc4eb87d8e90e\Hudl.Services.Core\HudlServiceProxy.cs:line 44
at Castle.DynamicProxy.AbstractInvocation.Proceed() in e:\OSS.Code\Castle.Core\src\Castle.Core\DynamicProxy\AbstractInvocation.cs:line 166
at Castle.Proxies.IVerificationServiceProxy.DoClipsBelongToTeam(List`1 clipIds, Int64 teamId)
at WebCore.Utility.Verify.TeamVerifier.OwnsClips(List`1 clipIds) in d:\BuildAgent\work\36cc4eb87d8e90e\WebCore\Utility\TeamVerifier.cs:line 126
at WebApp.Services.SilverlightVideoService.GetOverlayData(Int64 teamId, Int64 clipId) in d:\BuildAgent\work\36cc4eb87d8e90e\WebApp\Services\SilverlightVideoService.svc.cs:line 262
at SyncInvokeGetOverlayData(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
==== Inner Exception ====
Type=System.Net.Sockets.SocketException
Message=No connection could be made because the target machine actively refused it 127.0.0.1:27017
Data:
Stack Trace:
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.Net.Sockets.TcpClient.Connect(IPEndPoint remoteEP)
at MongoDB.Driver.Internal.MongoConnection.Open()
at MongoDB.Driver.Internal.MongoConnection.GetNetworkStream()
at MongoDB.Driver.Internal.MongoConnection.SendMessage(MongoRequestMessage message, SafeMode safeMode)
at MongoDB.Driver.Internal.MongoConnection.RunCommand(String collectionName, QueryFlags queryFlags, CommandDocument command)
at MongoDB.Driver.MongoServerInstance.VerifyState(MongoConnection connection)
at MongoDB.Driver.MongoServerInstance.Connect(Boolean slaveOk)
at MongoDB.Driver.Internal.DirectConnector.Connect(TimeSpan timeout)
2013-04-22 21:16:45,112 ip-0A2057A3 [ERROR] [Perf] [request_id=6a2fad82] Request=/Services/SilverlightVideoService.svc,Time=184329
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment