www.oepbv.at
Open in
urlscan Pro
92.43.222.21
Public Scan
Submitted URL: https://56360.8b.io/?mal=119725f1a244efa60921c825c559b02f
Effective URL: https://www.oepbv.at/upload/landesverbaende/st/fram/
Submission: On August 14 via api from CA — Scanned from CH
Effective URL: https://www.oepbv.at/upload/landesverbaende/st/fram/
Submission: On August 14 via api from CA — Scanned from CH
Form analysis
0 forms found in the DOMText Content
AN ERROR OCCURRED WHILE STARTING THE APPLICATION. TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/localhost:27050" }", EndPoint: "Unspecified/localhost:27050", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. [::1]:27050 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken) --- End of inner exception stack trace --- at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken) at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken) at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2024-06-02T23:42:51.1801857Z", LastUpdateTimestamp: "2024-06-02T23:42:51.1801866Z" }] }. MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description) DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(AppBaseStack.MongoStack.IBaseRepoFactory`1[AppCommon.AppSettingData], AppBaseStack.MongoStack.RepoMetaData)' on type 'MutblRepo`1'. Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() DependencyResolutionException: An exception was thrown while activating AppBaseStack.MongoStack.MutblRepo`1[[AppCommon.AppSettingData, AppCommonExt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]. Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action<ResolveRequestContext> next) RethrowException: rtyj4r6ujk56uk- public static void Main(string[] args) - : An exception was thrown while activating AppBaseStack.MongoStack.MutblRepo`1[[AppCommon.AppSettingData, AppCommonExt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]. - -- Method: Void Execute(Autofac.Core.Resolving.Pipeline.ResolveRequestContext, System.Action`1[Autofac.Core.Resolving.Pipeline.ResolveRequestContext]) -- Method: Void <BuildPipeline>b__1(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void Invoke(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void Execute(Autofac.Core.Resolving.Pipeline.ResolveRequestContext, System.Action`1[Autofac.Core.Resolving.Pipeline.ResolveRequestContext]) -- Method: Void <BuildPipeline>b__1(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void Execute(Autofac.Core.Resolving.Pipeline.ResolveRequestContext, System.Action`1[Autofac.Core.Resolving.Pipeline.ResolveRequestContext]) -- Method: Void <BuildPipeline>b__1(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void <BuildPipeline>b__1(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void Execute(Autofac.Core.Resolving.Pipeline.ResolveRequestContext, System.Action`1[Autofac.Core.Resolving.Pipeline.ResolveRequestContext]) -- Method: Void <BuildPipeline>b__1(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void Invoke(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void InvokePipeline(Autofac.ResolveRequest, Autofac.Core.Resolving.Pipeline.DefaultResolveRequestContext) -- Method: System.Object GetOrCreateInstance(Autofac.Core.ISharingLifetimeScope, Autofac.ResolveRequest) -- Method: System.Object ExecuteOperation(Autofac.ResolveRequest) -- Method: System.Object Execute(Autofac.ResolveRequest) -- Method: System.Object ResolveComponent(Autofac.ResolveRequest) -- Method: Boolean TryResolveService(Autofac.IComponentContext, Autofac.Core.Service, System.Collections.Generic.IEnumerable`1[Autofac.Core.Parameter], System.Object ByRef) -- Method: System.Object ResolveService(Autofac.IComponentContext, Autofac.Core.Service, System.Collections.Generic.IEnumerable`1[Autofac.Core.Parameter]) -- Method: System.Object Resolve(Autofac.IComponentContext, System.Type, System.Collections.Generic.IEnumerable`1[Autofac.Core.Parameter]) -- Method: TService Resolve[TService](Autofac.IComponentContext, System.Collections.Generic.IEnumerable`1[Autofac.Core.Parameter]) -- Method: TService Resolve[TService](Autofac.IComponentContext, Autofac.Core.Parameter[]) -- Line: 35 - Method: AppCommon.AppSettingData GetAppSettingData() - FileName: D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\AppCommonExt\AppCommonExt\AppSetting\AppSettingRepoHelper.cs -- Line: 31 - Method: Void FillDataRawFoldersPath(System.String) - FileName: D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\AppCommonExt\AppCommonExt\Util\FileDataService\FileDataFoldersPath.cs -- Line: 22 - Method: Void Init(System.String) - FileName: D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\AppCommonExt\AppCommonExt\Util\FileDataService\FileDataFoldersPath.cs -- Line: 294 - Method: Void Configure(Microsoft.AspNetCore.Builder.IApplicationBuilder, Microsoft.AspNetCore.Hosting.IWebHostEnvironment) - FileName: D:\Data\dev\Products\SkymemRex\Skymem\EmailHuntNT\src\EmailHuntNT\Startup.cs -- Method: System.Object InvokeMethod(System.Object, Void**, System.Signature, Boolean) -- Method: System.Object Invoke(System.Object, IntPtr*, System.Reflection.BindingFlags) -- Method: System.Object Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo) -- Method: Void Invoke(System.Object, Microsoft.AspNetCore.Builder.IApplicationBuilder) -- Method: Void MoveNext() -- Method: Void Throw() -- Method: Void ThrowForNonSuccess(System.Threading.Tasks.Task) -- Method: Void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) -- Method: Void MoveNext() -- Method: Void Throw() -- Method: Void ThrowForNonSuccess(System.Threading.Tasks.Task) -- Method: Void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) -- Method: Void MoveNext() -- Method: Void Throw() -- Method: Void MoveNext() -- Method: Void Throw() -- Method: Void ThrowForNonSuccess(System.Threading.Tasks.Task) -- Method: Void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) -- Method: Void Run(Microsoft.Extensions.Hosting.IHost) -- Line: 17 - Method: Void Main(System.String[]) - FileName: D:\Data\dev\Products\SkymemRex\Skymem\EmailHuntNT\src\EmailHuntNT\Program.cs EmailHuntNT.Program.Main(string[] args) in Program.cs, line 25 * TIMEOUTEXCEPTION: A TIMEOUT OCCURRED AFTER 30000MS SELECTING A SERVER USING COMPOSITESERVERSELECTOR{ SELECTORS = MONGODB.DRIVER.MONGOCLIENT+ARESESSIONSSUPPORTEDSERVERSELECTOR, LATENCYLIMITINGSERVERSELECTOR{ ALLOWEDLATENCYRANGE = 00:00:00.0150000 }, OPERATIONSCOUNTSERVERSELECTOR }. CLIENT VIEW OF CLUSTER STATE IS { CLUSTERID : "1", TYPE : "UNKNOWN", STATE : "DISCONNECTED", SERVERS : [{ SERVERID: "{ CLUSTERID : 1, ENDPOINT : "UNSPECIFIED/LOCALHOST:27050" }", ENDPOINT: "UNSPECIFIED/LOCALHOST:27050", REASONCHANGED: "HEARTBEAT", STATE: "DISCONNECTED", SERVERVERSION: , TOPOLOGYVERSION: , TYPE: "UNKNOWN", HEARTBEATEXCEPTION: "MONGODB.DRIVER.MONGOCONNECTIONEXCEPTION: AN EXCEPTION OCCURRED WHILE OPENING A CONNECTION TO THE SERVER. ---> SYSTEM.NET.INTERNALS.SOCKETEXCEPTIONFACTORY+EXTENDEDSOCKETEXCEPTION (10061): NO CONNECTION COULD BE MADE BECAUSE THE TARGET MACHINE ACTIVELY REFUSED IT. [::1]:27050 AT SYSTEM.NET.SOCKETS.SOCKET.DOCONNECT(ENDPOINT ENDPOINTSNAPSHOT, SOCKETADDRESS SOCKETADDRESS) AT SYSTEM.NET.SOCKETS.SOCKET.CONNECT(ENDPOINT REMOTEEP) AT MONGODB.DRIVER.CORE.CONNECTIONS.TCPSTREAMFACTORY.CONNECT(SOCKET SOCKET, ENDPOINT ENDPOINT, CANCELLATIONTOKEN CANCELLATIONTOKEN) AT MONGODB.DRIVER.CORE.CONNECTIONS.TCPSTREAMFACTORY.CREATESTREAM(ENDPOINT ENDPOINT, CANCELLATIONTOKEN CANCELLATIONTOKEN) AT MONGODB.DRIVER.CORE.CONNECTIONS.BINARYCONNECTION.OPENHELPER(CANCELLATIONTOKEN CANCELLATIONTOKEN) --- END OF INNER EXCEPTION STACK TRACE --- AT MONGODB.DRIVER.CORE.CONNECTIONS.BINARYCONNECTION.OPENHELPER(CANCELLATIONTOKEN CANCELLATIONTOKEN) AT MONGODB.DRIVER.CORE.CONNECTIONS.BINARYCONNECTION.OPEN(CANCELLATIONTOKEN CANCELLATIONTOKEN) AT MONGODB.DRIVER.CORE.SERVERS.SERVERMONITOR.INITIALIZECONNECTION(CANCELLATIONTOKEN CANCELLATIONTOKEN) AT MONGODB.DRIVER.CORE.SERVERS.SERVERMONITOR.HEARTBEAT(CANCELLATIONTOKEN CANCELLATIONTOKEN)", LASTHEARTBEATTIMESTAMP: "2024-06-02T23:42:51.1801857Z", LASTUPDATETIMESTAMP: "2024-06-02T23:42:51.1801866Z" }] }. * MONGODB.DRIVER.CORE.CLUSTERS.CLUSTER.THROWTIMEOUTEXCEPTION(ISERVERSELECTOR SELECTOR, CLUSTERDESCRIPTION DESCRIPTION) * MONGODB.DRIVER.CORE.CLUSTERS.CLUSTER+WAITFORDESCRIPTIONCHANGEDHELPER.HANDLECOMPLETEDTASK(TASK COMPLETEDTASK) * MONGODB.DRIVER.CORE.CLUSTERS.CLUSTER.WAITFORDESCRIPTIONCHANGED(ISERVERSELECTOR SELECTOR, CLUSTERDESCRIPTION DESCRIPTION, TASK DESCRIPTIONCHANGEDTASK, TIMESPAN TIMEOUT, CANCELLATIONTOKEN CANCELLATIONTOKEN) * MONGODB.DRIVER.CORE.CLUSTERS.CLUSTER.SELECTSERVER(ISERVERSELECTOR SELECTOR, CANCELLATIONTOKEN CANCELLATIONTOKEN) * MONGODB.DRIVER.MONGOCLIENT.ARESESSIONSSUPPORTEDAFTERSERVERSELECTION(CANCELLATIONTOKEN CANCELLATIONTOKEN) * MONGODB.DRIVER.MONGOCLIENT.ARESESSIONSSUPPORTED(CANCELLATIONTOKEN CANCELLATIONTOKEN) * MONGODB.DRIVER.MONGOCLIENT.STARTIMPLICITSESSION(CANCELLATIONTOKEN CANCELLATIONTOKEN) * MONGODB.DRIVER.OPERATIONEXECUTOR.STARTIMPLICITSESSION(CANCELLATIONTOKEN CANCELLATIONTOKEN) * MONGODB.DRIVER.MONGOCOLLECTIONIMPL<TDOCUMENT>.USINGIMPLICITSESSION<TRESULT>(FUNC<ICLIENTSESSIONHANDLE, TRESULT> FUNC, CANCELLATIONTOKEN CANCELLATIONTOKEN) * MONGODB.DRIVER.MONGOCOLLECTIONIMPL<TDOCUMENT>+MONGOINDEXMANAGER.CREATEMANY(IENUMERABLE<CREATEINDEXMODEL<TDOCUMENT>> MODELS, CREATEMANYINDEXESOPTIONS OPTIONS, CANCELLATIONTOKEN CANCELLATIONTOKEN) * MONGODB.DRIVER.MONGOINDEXMANAGERBASE<TDOCUMENT>.CREATEONE(CREATEINDEXMODEL<TDOCUMENT> MODEL, CREATEONEINDEXOPTIONS OPTIONS, CANCELLATIONTOKEN CANCELLATIONTOKEN) * MONGOREPOSITORYNT.MONGOCOLLECTIONPOOL<R>.ADDONEUNIQUEINDEX(IMONGOCOLLECTION<R> INCOLLECTION, STRING KEY) IN MONGOCOLLECTIONPOOL.CS + 291. //2016-01-10T13:33 Collection.Indexes.CreateOneAsync("{ " + key + ": 1 }", cio).GetAwaiter().GetResult(); 292. //inCollection.Indexes.CreateOne("{ " + key + ": 1 }", cio); 293. var ikdb = new IndexKeysDefinitionBuilder<R>(); 294. IndexKeysDefinition<R> ikd = ikdb.Ascending(key); 295. 296. CreateIndexModel<R> createIndexModel = new CreateIndexModel<R>(ikd, cio);//2018-11-08 - 20:55 297. inCollection.Indexes.CreateOne(createIndexModel);//2018-11-08 - 21:17 298. //2018-11-08 - 21:16 inCollection.Indexes.CreateOne(xx, cio); 299. } 300. 301. /* 2016-11-25T18:34 302. if (IsUniqueIndexExistHelper(inCollection, key) == false) 303. { * MONGOREPOSITORYNT.MONGOCOLLECTIONPOOL<R>.INIT(IMONGOCOLLECTION<R> INCOLLECTION, LIST<STRING> INDEX, LIST<STRING> UNIQUEINDEX) IN MONGOCOLLECTIONPOOL.CS + 185. private void Init(IMongoCollection<R> inCollection, List<string> index = null, List<string> uniqueIndex = null) 186. { 187. if (uniqueIndex != null) 188. { 189. foreach (var s in uniqueIndex) 190. { 191. AddOneUniqueIndex(inCollection, s); 192. } 193. } 194. 195. if (index != null) 196. { 197. foreach (var s in index) * MONGOREPOSITORYNT.MONGOCOLLECTIONPOOL<R>.CREATE(IREPODESCDATA INREPODESCDATA) IN MONGOCOLLECTIONPOOL.CS + 157. private IMongoCollection<R> Create(IRepoDescData inRepoDescData) 158. { 159. IMongoDatabase dataBase = MongoDatabasePool.Instance.GetOrAdd(inRepoDescData.ConnectionString, inRepoDescData.DatabaseName); 160. IMongoCollection<R> collection = dataBase.GetCollection<R>(inRepoDescData.CollectionName, _collectionSettings); // WriteConcern defaulted to Acknowledged 161. if (inRepoDescData.IndexCollection != null) 162. { 163. Init(collection, inRepoDescData.IndexCollection.Index, inRepoDescData.IndexCollection.UniqueIndex); 164. } 165. return collection; 166. 167. /*GOLDEN RULE: 1. Only handle exceptions that you can actually do something about, and - 2017-02-11T14:58 168. try{} 169. * MONGOREPOSITORYNT.MONGOCOLLECTIONPOOL<R>.GETORADD(IREPODESCDATA INREPODESCDATA) IN MONGOCOLLECTIONPOOL.CS + 118. 119. string key = inRepoDescData.ConnectionString + inRepoDescData.DatabaseName + inRepoDescData.CollectionName; 120. 121. if (MongoCollections.ContainsKey(key) == false) 122. { 123. //ne postoji, kreiramo ga i probamo ga dodati a ako ga je u medju vrmeneu nekto kreirao onda ga samo uzmemo 124. IMongoCollection<R> mongoCollection = Create(inRepoDescData); 125. if(mongoCollection==null)//2016-11-19T22:14 126. { 127. return null; 128. } 129. IMongoCollection<R> coll = mongoCollection; 130. return (IMongoCollection<R>)MongoCollections.GetOrAdd(key, coll); * MONGOREPOSITORYNT.REPORESTNATIVE<T>..CTOR(IREPODESCDATA REPODESCDATA) IN REPORESTNATIVE.CS + 63. /// <typeparam name="T"></typeparam> 64. public class RepoRestNative<T> : IRepoRestNative<T> where T : class, IEntityExData 65. { 66. public RepoRestNative(IRepoDescData repoDescData) 67. { 68. EnsurePrm.IsNotNull(repoDescData, nameof(repoDescData)); 69. IMongoCollection<T> coll = MongoCollectionPool<T>.Instance.GetOrAdd(repoDescData); 70. EnsurePrm.IsNotNull(coll, nameof(coll) + "-w46w3456"); 71. //IMongoCollection<T> coll = MongoCollectionPool<T>.Instance.GetOrAdd(repoDescData.ConnectionString, repoDescData.DatabaseName, repoDescData.CollectionName, repoDescData.CacheCollection); 72. Collection = coll; 73. 74. /*2016-11-15T12:58 */ 75. /*MongoCollectionWraper<T> collectionBase = new MongoCollectionWraper<T>(repoDescData); * REPOLAMBDA.BASEREPO<T>..CTOR(IREPODESCDATA REPODESCDATA) IN BASEREPO.CS + 49. 50. public BaseRepo(IRepoDescData repoDescData) 51. { 52. RepoDesc = repoDescData; 53. EnsurePrm.IsNotNull(repoDescData, nameof(repoDescData)); 54. //2016-11-15T11:36 RepoDesc = (RepoDescData)repoDescData; 55. _repo = new RepoRestNative<T>(repoDescData); 56. LastObjectTick = DateTime.UtcNow.Ticks; 57. } 58. 59. /// <summary> 60. /// TODO: 2015-10-01T14:38 ovo je privremeno da bi se mogli rijesiti privremeno gornji slojevi .. tj povezati taj kod sa ovim dolje. 61. /// </summary> * APPBASESTACK.MONGOSTACK.BASEREPOFACTORY<T>.GETORCREATEREPO(REPOMETADATA REPOMETADATA) IN BASEREPOFACTORY.CS + 61. else 62. { 63. //u ovoj toci imamo popunjeno repoMetaData sa DB, connection string i indexima ili defulatnim vrijendostaim. 64. //Kreira collection in MongoDB na osnovu poslatih podataka u objektu RepoDescription 65. RepoDescData repoDescData = repoMetaData.GetRepoDescData(); 66. repoDescData.UseTick = repoMetaData.UseTick; 67. BaseRepo<T> repoNew = new BaseRepo<T>(repoDescData); 68. return repoNew; 69. } 70. } 71. } 72. } * APPBASESTACK.MONGOSTACK.ENTITYREPOSITORY<T>..CTOR(IBASEREPOFACTORY<T> BASEREPOFACTORY, REPOMETADATA REPOMETA) IN ENTITYREPOSITORY.CS + 67. EnsurePrm.IsNotNull(baseRepoFactory, nameof(baseRepoFactory)); 68. EnsurePrm.IsNotNull(repoMeta, nameof(repoMeta)); 69. EnsurePrm.IsNotNullOrEmpty(repoMeta.RepoName, nameof(repoMeta.RepoName)); 70. 71. //2016-02-17T17:02 _baseRepoFactory = baseRepoFactory; 72. 73. RepoMeta = repoMeta; 74. _repository = baseRepoFactory.GetOrCreateRepo(RepoMeta); 75. EnsurePrm.IsNotNull(_repository, nameof(_repository) + "- 2467yu356yu"); 76. EnsurePrm.IsNotNull(_repository.Collection, nameof(_repository.Collection) + "- 3245y3456ye456yu"); 77. Collection = _repository.Collection; //TODO koje je ovo sranje.. zar to ne rijesqavamo drukcije 2015-10-01T14:45 78. } 79. * APPBASESTACK.MONGOSTACK.MUTBLREPO<T>..CTOR(IBASEREPOFACTORY<T> BASEREPOFACTORY, REPOMETADATA REPOMETA) IN MUTBLREPO.CS + 40. /// The ?? operator is called the null-coalescing operator. It returns the left-hand operand if the operand is not null; otherwise it returns the right hand operand. 41. /// base(baseRepoFactory, repoMeta ?? new RepoMetaData() { RepoName = collectionName, RepoTypeRoot = RepoTypeRootEnum.Immut.ToString() }) 42. /// </summary> 43. /// <param name="baseRepoFactory"></param> 44. /// <param name="repoMeta"></param> 45. /// <param name="collectionName"></param> 46. public MutblRepo(IBaseRepoFactory<T> baseRepoFactory, RepoMetaData repoMeta ) : base(baseRepoFactory, 47. new RepoMetaData(repoMeta) { RepoTypeRoot = RepoTypeRootEnum.Mutbl.ToString() }) 48. { 49. RepoChecker.MustBeMutbl(base.RepoMeta); 50. } 51. 52. /*TODO: ovo bi morali prestati koristi jer je moguci uzrok gresaka a i ne mozmeo definirati DB preko ovoga - 2016-02-29T03:40 * LAMBDA_METHOD132(CLOSURE , OBJECT[] ) * AUTOFAC.CORE.ACTIVATORS.REFLECTION.BOUNDCONSTRUCTOR.INSTANTIATE() * Show raw exception details System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/localhost:27050" }", EndPoint: "Unspecified/localhost:27050", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. [::1]:27050 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken) --- End of inner exception stack trace --- at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken) at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken) at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2024-06-02T23:42:51.1801857Z", LastUpdateTimestamp: "2024-06-02T23:42:51.1801866Z" }] }. at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description) at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask) at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken) at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.AreSessionsSupportedAfterServerSelection(CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.AreSessionsSupported(CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.StartImplicitSession(CancellationToken cancellationToken) at MongoDB.Driver.OperationExecutor.StartImplicitSession(CancellationToken cancellationToken) at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken) at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken) at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken) at MongoRepositoryNT.MongoCollectionPool`1.AddOneUniqueIndex(IMongoCollection`1 inCollection, String key) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 297 at MongoRepositoryNT.MongoCollectionPool`1.Init(IMongoCollection`1 inCollection, List`1 index, List`1 uniqueIndex) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 191 at MongoRepositoryNT.MongoCollectionPool`1.Create(IRepoDescData inRepoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 163 at MongoRepositoryNT.MongoCollectionPool`1.GetOrAdd(IRepoDescData inRepoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 124 at MongoRepositoryNT.RepoRestNative`1..ctor(IRepoDescData repoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\RestRepo\RepoRestNative.cs:line 69 at RepoLambda.BaseRepo`1..ctor(IRepoDescData repoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\RepoLambda\Repo\BaseRepo.cs:line 55 at AppBaseStack.MongoStack.BaseRepoFactory`1.GetOrCreateRepo(RepoMetaData repoMetaData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoStackExt\src\MongoStackExt\RepoFactory\BaseRepoFactory.cs:line 67 at AppBaseStack.MongoStack.EntityRepository`1..ctor(IBaseRepoFactory`1 baseRepoFactory, RepoMetaData repoMeta) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoStackExt\src\MongoStackExt\Repo\Base\EntityRepository.cs:line 73 at AppBaseStack.MongoStack.MutblRepo`1..ctor(IBaseRepoFactory`1 baseRepoFactory, RepoMetaData repoMeta) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoStackExt\src\MongoStackExt\Repo\BaseRepo\MutblRepo.cs:line 46 at lambda_method132(Closure, Object[]) at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() * DEPENDENCYRESOLUTIONEXCEPTION: AN EXCEPTION WAS THROWN WHILE INVOKING THE CONSTRUCTOR 'VOID .CTOR(APPBASESTACK.MONGOSTACK.IBASEREPOFACTORY`1[APPCOMMON.APPSETTINGDATA], APPBASESTACK.MONGOSTACK.REPOMETADATA)' ON TYPE 'MUTBLREPO`1'. * AUTOFAC.CORE.ACTIVATORS.REFLECTION.BOUNDCONSTRUCTOR.INSTANTIATE() * AUTOFAC.CORE.ACTIVATORS.REFLECTION.REFLECTIONACTIVATOR+<>C__DISPLAYCLASS14_0.<USESINGLECONSTRUCTORACTIVATION>B__0(RESOLVEREQUESTCONTEXT CTXT, ACTION<RESOLVEREQUESTCONTEXT> NEXT) * AUTOFAC.CORE.RESOLVING.MIDDLEWARE.DELEGATEMIDDLEWARE.EXECUTE(RESOLVEREQUESTCONTEXT CONTEXT, ACTION<RESOLVEREQUESTCONTEXT> NEXT) * AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEPIPELINEBUILDER+<>C__DISPLAYCLASS14_0.<BUILDPIPELINE>B__1(RESOLVEREQUESTCONTEXT CTXT) * AUTOFAC.CORE.RESOLVING.MIDDLEWARE.DISPOSALTRACKINGMIDDLEWARE.EXECUTE(RESOLVEREQUESTCONTEXT CONTEXT, ACTION<RESOLVEREQUESTCONTEXT> NEXT) * AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEPIPELINEBUILDER+<>C__DISPLAYCLASS14_0.<BUILDPIPELINE>B__1(RESOLVEREQUESTCONTEXT CTXT) * AUTOFAC.CORE.RESOLVING.MIDDLEWARE.ACTIVATORERRORHANDLINGMIDDLEWARE.EXECUTE(RESOLVEREQUESTCONTEXT CONTEXT, ACTION<RESOLVEREQUESTCONTEXT> NEXT) * Show raw exception details Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(AppBaseStack.MongoStack.IBaseRepoFactory`1[AppCommon.AppSettingData], AppBaseStack.MongoStack.RepoMetaData)' on type 'MutblRepo`1'. ---> System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/localhost:27050" }", EndPoint: "Unspecified/localhost:27050", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. [::1]:27050 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken) --- End of inner exception stack trace --- at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken) at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken) at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2024-06-02T23:42:51.1801857Z", LastUpdateTimestamp: "2024-06-02T23:42:51.1801866Z" }] }. at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description) at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask) at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken) at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.AreSessionsSupportedAfterServerSelection(CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.AreSessionsSupported(CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.StartImplicitSession(CancellationToken cancellationToken) at MongoDB.Driver.OperationExecutor.StartImplicitSession(CancellationToken cancellationToken) at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken) at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken) at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken) at MongoRepositoryNT.MongoCollectionPool`1.AddOneUniqueIndex(IMongoCollection`1 inCollection, String key) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 297 at MongoRepositoryNT.MongoCollectionPool`1.Init(IMongoCollection`1 inCollection, List`1 index, List`1 uniqueIndex) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 191 at MongoRepositoryNT.MongoCollectionPool`1.Create(IRepoDescData inRepoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 163 at MongoRepositoryNT.MongoCollectionPool`1.GetOrAdd(IRepoDescData inRepoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 124 at MongoRepositoryNT.RepoRestNative`1..ctor(IRepoDescData repoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\RestRepo\RepoRestNative.cs:line 69 at RepoLambda.BaseRepo`1..ctor(IRepoDescData repoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\RepoLambda\Repo\BaseRepo.cs:line 55 at AppBaseStack.MongoStack.BaseRepoFactory`1.GetOrCreateRepo(RepoMetaData repoMetaData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoStackExt\src\MongoStackExt\RepoFactory\BaseRepoFactory.cs:line 67 at AppBaseStack.MongoStack.EntityRepository`1..ctor(IBaseRepoFactory`1 baseRepoFactory, RepoMetaData repoMeta) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoStackExt\src\MongoStackExt\Repo\Base\EntityRepository.cs:line 73 at AppBaseStack.MongoStack.MutblRepo`1..ctor(IBaseRepoFactory`1 baseRepoFactory, RepoMetaData repoMeta) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoStackExt\src\MongoStackExt\Repo\BaseRepo\MutblRepo.cs:line 46 at lambda_method132(Closure, Object[]) at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() --- End of inner exception stack trace --- at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext ctxt, Action`1 next) at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next) * DEPENDENCYRESOLUTIONEXCEPTION: AN EXCEPTION WAS THROWN WHILE ACTIVATING APPBASESTACK.MONGOSTACK.MUTBLREPO`1[[APPCOMMON.APPSETTINGDATA, APPCOMMONEXT, VERSION=1.0.0.0, CULTURE=NEUTRAL, PUBLICKEYTOKEN=NULL]]. * AUTOFAC.CORE.RESOLVING.MIDDLEWARE.ACTIVATORERRORHANDLINGMIDDLEWARE.EXECUTE(RESOLVEREQUESTCONTEXT CONTEXT, ACTION<RESOLVEREQUESTCONTEXT> NEXT) * AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEPIPELINEBUILDER+<>C__DISPLAYCLASS14_0.<BUILDPIPELINE>B__1(RESOLVEREQUESTCONTEXT CTXT) * AUTOFAC.CORE.PIPELINE.RESOLVEPIPELINE.INVOKE(RESOLVEREQUESTCONTEXT CTXT) * AUTOFAC.CORE.RESOLVING.MIDDLEWARE.REGISTRATIONPIPELINEINVOKEMIDDLEWARE.EXECUTE(RESOLVEREQUESTCONTEXT CONTEXT, ACTION<RESOLVEREQUESTCONTEXT> NEXT) * AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEPIPELINEBUILDER+<>C__DISPLAYCLASS14_0.<BUILDPIPELINE>B__1(RESOLVEREQUESTCONTEXT CTXT) * AUTOFAC.CORE.RESOLVING.MIDDLEWARE.SHARINGMIDDLEWARE.EXECUTE(RESOLVEREQUESTCONTEXT CONTEXT, ACTION<RESOLVEREQUESTCONTEXT> NEXT) * AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEPIPELINEBUILDER+<>C__DISPLAYCLASS14_0.<BUILDPIPELINE>B__1(RESOLVEREQUESTCONTEXT CTXT) * AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEPIPELINEBUILDER+<>C__DISPLAYCLASS14_0.<BUILDPIPELINE>B__1(RESOLVEREQUESTCONTEXT CTXT) * AUTOFAC.CORE.RESOLVING.MIDDLEWARE.CIRCULARDEPENDENCYDETECTORMIDDLEWARE.EXECUTE(RESOLVEREQUESTCONTEXT CONTEXT, ACTION<RESOLVEREQUESTCONTEXT> NEXT) * AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEPIPELINEBUILDER+<>C__DISPLAYCLASS14_0.<BUILDPIPELINE>B__1(RESOLVEREQUESTCONTEXT CTXT) * AUTOFAC.CORE.PIPELINE.RESOLVEPIPELINE.INVOKE(RESOLVEREQUESTCONTEXT CTXT) * AUTOFAC.CORE.RESOLVING.RESOLVEOPERATION.INVOKEPIPELINE(RESOLVEREQUEST REQUEST, DEFAULTRESOLVEREQUESTCONTEXT REQUESTCONTEXT) * AUTOFAC.CORE.RESOLVING.RESOLVEOPERATION.GETORCREATEINSTANCE(ISHARINGLIFETIMESCOPE CURRENTOPERATIONSCOPE, RESOLVEREQUEST REQUEST) * AUTOFAC.CORE.RESOLVING.RESOLVEOPERATION.EXECUTEOPERATION(RESOLVEREQUEST REQUEST) * AUTOFAC.CORE.RESOLVING.RESOLVEOPERATION.EXECUTE(RESOLVEREQUEST REQUEST) * AUTOFAC.CORE.LIFETIME.LIFETIMESCOPE.RESOLVECOMPONENT(RESOLVEREQUEST REQUEST) * AUTOFAC.RESOLUTIONEXTENSIONS.TRYRESOLVESERVICE(ICOMPONENTCONTEXT CONTEXT, SERVICE SERVICE, IENUMERABLE<PARAMETER> PARAMETERS, OUT OBJECT INSTANCE) * AUTOFAC.RESOLUTIONEXTENSIONS.RESOLVESERVICE(ICOMPONENTCONTEXT CONTEXT, SERVICE SERVICE, IENUMERABLE<PARAMETER> PARAMETERS) * AUTOFAC.RESOLUTIONEXTENSIONS.RESOLVE(ICOMPONENTCONTEXT CONTEXT, TYPE SERVICETYPE, IENUMERABLE<PARAMETER> PARAMETERS) * AUTOFAC.RESOLUTIONEXTENSIONS.RESOLVE<TSERVICE>(ICOMPONENTCONTEXT CONTEXT, IENUMERABLE<PARAMETER> PARAMETERS) * AUTOFAC.RESOLUTIONEXTENSIONS.RESOLVE<TSERVICE>(ICOMPONENTCONTEXT CONTEXT, PARAMETER[] PARAMETERS) * APPCOMMON.APPSETTINGREPOHELPER.GETAPPSETTINGDATA() IN APPSETTINGREPOHELPER.CS + 29. if (_appSettingDataCached != null) 30. { 31. return _appSettingDataCached; 32. } 33. using (ILifetimeScope lifetimeScope = AppCommonAutofac.Container.BeginLifetimeScope()) 34. { 35. IEntityRepository<AppSettingData> Repo = lifetimeScope.Resolve<IMutblRepo<AppSettingData>>(TypHlp.Get(CollectionNameAppCommEnum.AppSettingView.ToString())); 36. List<AppSettingData> docs = Repo.GetAll(); 37. if (docs == null || docs.Any() == false) 38. { 39. //nemamo ga u DB, krerai derfault verison i posta u DB 2018-10-20 - 3:29 40. _appSettingDataCached = new AppSettingData();//definzivno programirnaje - kreiramo defaultni 41. Repo.Post(_appSettingDataCached);//2016-02-03T02:05 * APPCOMMON.FILEDATAFOLDERSPATH.FILLDATARAWFOLDERSPATH(STRING APPLICATIONBASEPATH) IN FILEDATAFOLDERSPATH.CS + 25. 26. /// <summary> 27. /// Formira pathove za DocRaw 28. /// </summary> 29. public static void FillDataRawFoldersPath(string applicationBasePath) 30. { 31. AppSettingData appSettingData = AppSettingRepoHelper.GetAppSettingData();//2018-10-09 - 8:11 32. //2018-10-09 - 8:10 IAppSettingService appSettingService = AppCommonAutofac.Container.Resolve<IAppSettingService>(); 33. //../xyzdataxyz/sc/ 34. //string ScreenCapDirDirPath = Path.Combine(UtilityApp.GetRootPathOfApplication(), appSettingService.AppSetting.DataRelativePath,AppSettingData.ScreenCapDirName); 35. string ScreenCapDirDirPath = Path.Combine(applicationBasePath, appSettingData.DataRelativePath); 36. if (string.IsNullOrWhiteSpace(ScreenCapDirDirPath) == false) 37. { * APPCOMMON.FILEDATAFOLDERSPATH.INIT(STRING APPLICATIONBASEPATH) IN FILEDATAFOLDERSPATH.CS + 16. public static string DocRawInputFolder = "docRawInput"; 17. public static string DocRawProcessedFolder = "docrawprocessed"; 18. public static string DocRawDuplicateFolder = "docrawduplicate"; 19. 20. public static void Init(string applicationBasePath) 21. { 22. FillDataRawFoldersPath(applicationBasePath); 23. ImageFoldersPath.FillImageFoldersPath(applicationBasePath); //Formira pathove od FOLDERA za sve u vezi ScreenCap - 2015-11-11T18:12 24. } 25. 26. /// <summary> 27. /// Formira pathove za DocRaw 28. /// </summary> * EMAILHUNTNT.STARTUP.CONFIGURE(IAPPLICATIONBUILDER APP, IWEBHOSTENVIRONMENT ENV) IN STARTUP.CS + 288. AutofacHost.InitAutofac(); 289. FileDataFoldersPath.Init(env.ContentRootPath); 290. InitApp.InitApplication(true); 291. 292. StartWorkflowInThread();//2024-01-01T22:46:15 293. 294. LoggerNT.Lgr.LogInformation("Application successfully started" + DateTime.Now); 295. } 296. 297. 298. /// <summary> 299. /// Workflow 300. /// 2024-01-01T22:46:10 * SYSTEM.RUNTIMEMETHODHANDLE.INVOKEMETHOD(OBJECT TARGET, VOID** ARGUMENTS, SIGNATURE SIG, BOOL ISCONSTRUCTOR) * SYSTEM.REFLECTION.METHODINVOKER.INVOKE(OBJECT OBJ, INTPTR* ARGS, BINDINGFLAGS INVOKEATTR) * SYSTEM.REFLECTION.RUNTIMEMETHODINFO.INVOKE(OBJECT OBJ, BINDINGFLAGS INVOKEATTR, BINDER BINDER, OBJECT[] PARAMETERS, CULTUREINFO CULTURE) * MICROSOFT.ASPNETCORE.HOSTING.CONFIGUREBUILDER.INVOKE(OBJECT INSTANCE, IAPPLICATIONBUILDER BUILDER) * MICROSOFT.ASPNETCORE.HOSTING.GENERICWEBHOSTSERVICE.STARTASYNC(CANCELLATIONTOKEN CANCELLATIONTOKEN) * MICROSOFT.EXTENSIONS.HOSTING.INTERNAL.HOST.STARTASYNC(CANCELLATIONTOKEN CANCELLATIONTOKEN) * MICROSOFT.EXTENSIONS.HOSTING.HOSTINGABSTRACTIONSHOSTEXTENSIONS.RUNASYNC(IHOST HOST, CANCELLATIONTOKEN TOKEN) * MICROSOFT.EXTENSIONS.HOSTING.HOSTINGABSTRACTIONSHOSTEXTENSIONS.RUNASYNC(IHOST HOST, CANCELLATIONTOKEN TOKEN) * MICROSOFT.EXTENSIONS.HOSTING.HOSTINGABSTRACTIONSHOSTEXTENSIONS.RUN(IHOST HOST) * EMAILHUNTNT.PROGRAM.MAIN(STRING[] ARGS) IN PROGRAM.CS + 11. public class Program 12. { 13. public static void Main(string[] args) 14. { 15. try 16. { 17. CreateHostBuilder(args).Build().Run(); 18. //2019-08-21T04:20:51 CreateWebHostBuilder(args).Build().Run(); 19. //2018-06-07 - 2:54 BuildWebHost(args).Run(); 20. 21. } 22. catch (Exception ex) 23. { * Show raw exception details Autofac.Core.DependencyResolutionException: An exception was thrown while activating AppBaseStack.MongoStack.MutblRepo`1[[AppCommon.AppSettingData, AppCommonExt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(AppBaseStack.MongoStack.IBaseRepoFactory`1[AppCommon.AppSettingData], AppBaseStack.MongoStack.RepoMetaData)' on type 'MutblRepo`1'. ---> System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/localhost:27050" }", EndPoint: "Unspecified/localhost:27050", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. [::1]:27050 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken) --- End of inner exception stack trace --- at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken) at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken) at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2024-06-02T23:42:51.1801857Z", LastUpdateTimestamp: "2024-06-02T23:42:51.1801866Z" }] }. at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description) at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask) at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken) at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.AreSessionsSupportedAfterServerSelection(CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.AreSessionsSupported(CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.StartImplicitSession(CancellationToken cancellationToken) at MongoDB.Driver.OperationExecutor.StartImplicitSession(CancellationToken cancellationToken) at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken) at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken) at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken) at MongoRepositoryNT.MongoCollectionPool`1.AddOneUniqueIndex(IMongoCollection`1 inCollection, String key) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 297 at MongoRepositoryNT.MongoCollectionPool`1.Init(IMongoCollection`1 inCollection, List`1 index, List`1 uniqueIndex) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 191 at MongoRepositoryNT.MongoCollectionPool`1.Create(IRepoDescData inRepoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 163 at MongoRepositoryNT.MongoCollectionPool`1.GetOrAdd(IRepoDescData inRepoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 124 at MongoRepositoryNT.RepoRestNative`1..ctor(IRepoDescData repoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\RestRepo\RepoRestNative.cs:line 69 at RepoLambda.BaseRepo`1..ctor(IRepoDescData repoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\RepoLambda\Repo\BaseRepo.cs:line 55 at AppBaseStack.MongoStack.BaseRepoFactory`1.GetOrCreateRepo(RepoMetaData repoMetaData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoStackExt\src\MongoStackExt\RepoFactory\BaseRepoFactory.cs:line 67 at AppBaseStack.MongoStack.EntityRepository`1..ctor(IBaseRepoFactory`1 baseRepoFactory, RepoMetaData repoMeta) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoStackExt\src\MongoStackExt\Repo\Base\EntityRepository.cs:line 73 at AppBaseStack.MongoStack.MutblRepo`1..ctor(IBaseRepoFactory`1 baseRepoFactory, RepoMetaData repoMeta) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoStackExt\src\MongoStackExt\Repo\BaseRepo\MutblRepo.cs:line 46 at lambda_method132(Closure, Object[]) at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() --- End of inner exception stack trace --- at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext ctxt, Action`1 next) at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next) --- End of inner exception stack trace --- at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt) at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request) at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request) at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, Parameter[] parameters) at AppCommon.AppSettingRepoHelper.GetAppSettingData() in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\AppCommonExt\AppCommonExt\AppSetting\AppSettingRepoHelper.cs:line 35 at AppCommon.FileDataFoldersPath.FillDataRawFoldersPath(String applicationBasePath) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\AppCommonExt\AppCommonExt\Util\FileDataService\FileDataFoldersPath.cs:line 31 at AppCommon.FileDataFoldersPath.Init(String applicationBasePath) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\AppCommonExt\AppCommonExt\Util\FileDataService\FileDataFoldersPath.cs:line 22 at EmailHuntNT.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env) in D:\Data\dev\Products\SkymemRex\Skymem\EmailHuntNT\src\EmailHuntNT\Startup.cs:line 294 at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder) at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host) at EmailHuntNT.Program.Main(String[] args) in D:\Data\dev\Products\SkymemRex\Skymem\EmailHuntNT\src\EmailHuntNT\Program.cs:line 17 * RETHROWEXCEPTION: RTYJ4R6UJK56UK- PUBLIC STATIC VOID MAIN(STRING[] ARGS) - : AN EXCEPTION WAS THROWN WHILE ACTIVATING APPBASESTACK.MONGOSTACK.MUTBLREPO`1[[APPCOMMON.APPSETTINGDATA, APPCOMMONEXT, VERSION=1.0.0.0, CULTURE=NEUTRAL, PUBLICKEYTOKEN=NULL]]. - -- METHOD: VOID EXECUTE(AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT, SYSTEM.ACTION`1[AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT]) -- METHOD: VOID <BUILDPIPELINE>B__1(AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT) -- METHOD: VOID INVOKE(AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT) -- METHOD: VOID EXECUTE(AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT, SYSTEM.ACTION`1[AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT]) -- METHOD: VOID <BUILDPIPELINE>B__1(AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT) -- METHOD: VOID EXECUTE(AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT, SYSTEM.ACTION`1[AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT]) -- METHOD: VOID <BUILDPIPELINE>B__1(AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT) -- METHOD: VOID <BUILDPIPELINE>B__1(AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT) -- METHOD: VOID EXECUTE(AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT, SYSTEM.ACTION`1[AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT]) -- METHOD: VOID <BUILDPIPELINE>B__1(AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT) -- METHOD: VOID INVOKE(AUTOFAC.CORE.RESOLVING.PIPELINE.RESOLVEREQUESTCONTEXT) -- METHOD: VOID INVOKEPIPELINE(AUTOFAC.RESOLVEREQUEST, AUTOFAC.CORE.RESOLVING.PIPELINE.DEFAULTRESOLVEREQUESTCONTEXT) -- METHOD: SYSTEM.OBJECT GETORCREATEINSTANCE(AUTOFAC.CORE.ISHARINGLIFETIMESCOPE, AUTOFAC.RESOLVEREQUEST) -- METHOD: SYSTEM.OBJECT EXECUTEOPERATION(AUTOFAC.RESOLVEREQUEST) -- METHOD: SYSTEM.OBJECT EXECUTE(AUTOFAC.RESOLVEREQUEST) -- METHOD: SYSTEM.OBJECT RESOLVECOMPONENT(AUTOFAC.RESOLVEREQUEST) -- METHOD: BOOLEAN TRYRESOLVESERVICE(AUTOFAC.ICOMPONENTCONTEXT, AUTOFAC.CORE.SERVICE, SYSTEM.COLLECTIONS.GENERIC.IENUMERABLE`1[AUTOFAC.CORE.PARAMETER], SYSTEM.OBJECT BYREF) -- METHOD: SYSTEM.OBJECT RESOLVESERVICE(AUTOFAC.ICOMPONENTCONTEXT, AUTOFAC.CORE.SERVICE, SYSTEM.COLLECTIONS.GENERIC.IENUMERABLE`1[AUTOFAC.CORE.PARAMETER]) -- METHOD: SYSTEM.OBJECT RESOLVE(AUTOFAC.ICOMPONENTCONTEXT, SYSTEM.TYPE, SYSTEM.COLLECTIONS.GENERIC.IENUMERABLE`1[AUTOFAC.CORE.PARAMETER]) -- METHOD: TSERVICE RESOLVE[TSERVICE](AUTOFAC.ICOMPONENTCONTEXT, SYSTEM.COLLECTIONS.GENERIC.IENUMERABLE`1[AUTOFAC.CORE.PARAMETER]) -- METHOD: TSERVICE RESOLVE[TSERVICE](AUTOFAC.ICOMPONENTCONTEXT, AUTOFAC.CORE.PARAMETER[]) -- LINE: 35 - METHOD: APPCOMMON.APPSETTINGDATA GETAPPSETTINGDATA() - FILENAME: D:\DATA\DEV\PRODUCTS\SKYMEMREX\SKYMEM\COMMONLIB\APPCOMMONEXT\APPCOMMONEXT\APPSETTING\APPSETTINGREPOHELPER.CS -- LINE: 31 - METHOD: VOID FILLDATARAWFOLDERSPATH(SYSTEM.STRING) - FILENAME: D:\DATA\DEV\PRODUCTS\SKYMEMREX\SKYMEM\COMMONLIB\APPCOMMONEXT\APPCOMMONEXT\UTIL\FILEDATASERVICE\FILEDATAFOLDERSPATH.CS -- LINE: 22 - METHOD: VOID INIT(SYSTEM.STRING) - FILENAME: D:\DATA\DEV\PRODUCTS\SKYMEMREX\SKYMEM\COMMONLIB\APPCOMMONEXT\APPCOMMONEXT\UTIL\FILEDATASERVICE\FILEDATAFOLDERSPATH.CS -- LINE: 294 - METHOD: VOID CONFIGURE(MICROSOFT.ASPNETCORE.BUILDER.IAPPLICATIONBUILDER, MICROSOFT.ASPNETCORE.HOSTING.IWEBHOSTENVIRONMENT) - FILENAME: D:\DATA\DEV\PRODUCTS\SKYMEMREX\SKYMEM\EMAILHUNTNT\SRC\EMAILHUNTNT\STARTUP.CS -- METHOD: SYSTEM.OBJECT INVOKEMETHOD(SYSTEM.OBJECT, VOID**, SYSTEM.SIGNATURE, BOOLEAN) -- METHOD: SYSTEM.OBJECT INVOKE(SYSTEM.OBJECT, INTPTR*, SYSTEM.REFLECTION.BINDINGFLAGS) -- METHOD: SYSTEM.OBJECT INVOKE(SYSTEM.OBJECT, SYSTEM.REFLECTION.BINDINGFLAGS, SYSTEM.REFLECTION.BINDER, SYSTEM.OBJECT[], SYSTEM.GLOBALIZATION.CULTUREINFO) -- METHOD: VOID INVOKE(SYSTEM.OBJECT, MICROSOFT.ASPNETCORE.BUILDER.IAPPLICATIONBUILDER) -- METHOD: VOID MOVENEXT() -- METHOD: VOID THROW() -- METHOD: VOID THROWFORNONSUCCESS(SYSTEM.THREADING.TASKS.TASK) -- METHOD: VOID HANDLENONSUCCESSANDDEBUGGERNOTIFICATION(SYSTEM.THREADING.TASKS.TASK) -- METHOD: VOID MOVENEXT() -- METHOD: VOID THROW() -- METHOD: VOID THROWFORNONSUCCESS(SYSTEM.THREADING.TASKS.TASK) -- METHOD: VOID HANDLENONSUCCESSANDDEBUGGERNOTIFICATION(SYSTEM.THREADING.TASKS.TASK) -- METHOD: VOID MOVENEXT() -- METHOD: VOID THROW() -- METHOD: VOID MOVENEXT() -- METHOD: VOID THROW() -- METHOD: VOID THROWFORNONSUCCESS(SYSTEM.THREADING.TASKS.TASK) -- METHOD: VOID HANDLENONSUCCESSANDDEBUGGERNOTIFICATION(SYSTEM.THREADING.TASKS.TASK) -- METHOD: VOID RUN(MICROSOFT.EXTENSIONS.HOSTING.IHOST) -- LINE: 17 - METHOD: VOID MAIN(SYSTEM.STRING[]) - FILENAME: D:\DATA\DEV\PRODUCTS\SKYMEMREX\SKYMEM\EMAILHUNTNT\SRC\EMAILHUNTNT\PROGRAM.CS * EMAILHUNTNT.PROGRAM.MAIN(STRING[] ARGS) IN PROGRAM.CS + 19. //2018-06-07 - 2:54 BuildWebHost(args).Run(); 20. 21. } 22. catch (Exception ex) 23. { 24. LoggerNT.Lgr.LogError(LogHlp.PackExc("5yujk4567k567u8k- public static void Main(string[] args)", ex));//2018-12-09 - 17:45 samo da vidim je li nesto grijesimo 25. throw new RethrowException(ex, LogHlp.PackExc("rtyj4r6ujk56uk- public static void Main(string[] args)", ex)); 26. //throw new RethrowException("345ry345th - Startup:Configure(..)", e); 27. } 28. } 29. 30. public static IHostBuilder CreateHostBuilder(string[] args) => 31. Host.CreateDefaultBuilder(args) * Show raw exception details LoggerNtNs.RethrowException: rtyj4r6ujk56uk- public static void Main(string[] args) - : An exception was thrown while activating AppBaseStack.MongoStack.MutblRepo`1[[AppCommon.AppSettingData, AppCommonExt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]. - -- Method: Void Execute(Autofac.Core.Resolving.Pipeline.ResolveRequestContext, System.Action`1[Autofac.Core.Resolving.Pipeline.ResolveRequestContext]) -- Method: Void <BuildPipeline>b__1(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void Invoke(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void Execute(Autofac.Core.Resolving.Pipeline.ResolveRequestContext, System.Action`1[Autofac.Core.Resolving.Pipeline.ResolveRequestContext]) -- Method: Void <BuildPipeline>b__1(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void Execute(Autofac.Core.Resolving.Pipeline.ResolveRequestContext, System.Action`1[Autofac.Core.Resolving.Pipeline.ResolveRequestContext]) -- Method: Void <BuildPipeline>b__1(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void <BuildPipeline>b__1(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void Execute(Autofac.Core.Resolving.Pipeline.ResolveRequestContext, System.Action`1[Autofac.Core.Resolving.Pipeline.ResolveRequestContext]) -- Method: Void <BuildPipeline>b__1(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void Invoke(Autofac.Core.Resolving.Pipeline.ResolveRequestContext) -- Method: Void InvokePipeline(Autofac.ResolveRequest, Autofac.Core.Resolving.Pipeline.DefaultResolveRequestContext) -- Method: System.Object GetOrCreateInstance(Autofac.Core.ISharingLifetimeScope, Autofac.ResolveRequest) -- Method: System.Object ExecuteOperation(Autofac.ResolveRequest) -- Method: System.Object Execute(Autofac.ResolveRequest) -- Method: System.Object ResolveComponent(Autofac.ResolveRequest) -- Method: Boolean TryResolveService(Autofac.IComponentContext, Autofac.Core.Service, System.Collections.Generic.IEnumerable`1[Autofac.Core.Parameter], System.Object ByRef) -- Method: System.Object ResolveService(Autofac.IComponentContext, Autofac.Core.Service, System.Collections.Generic.IEnumerable`1[Autofac.Core.Parameter]) -- Method: System.Object Resolve(Autofac.IComponentContext, System.Type, System.Collections.Generic.IEnumerable`1[Autofac.Core.Parameter]) -- Method: TService Resolve[TService](Autofac.IComponentContext, System.Collections.Generic.IEnumerable`1[Autofac.Core.Parameter]) -- Method: TService Resolve[TService](Autofac.IComponentContext, Autofac.Core.Parameter[]) -- Line: 35 - Method: AppCommon.AppSettingData GetAppSettingData() - FileName: D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\AppCommonExt\AppCommonExt\AppSetting\AppSettingRepoHelper.cs -- Line: 31 - Method: Void FillDataRawFoldersPath(System.String) - FileName: D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\AppCommonExt\AppCommonExt\Util\FileDataService\FileDataFoldersPath.cs -- Line: 22 - Method: Void Init(System.String) - FileName: D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\AppCommonExt\AppCommonExt\Util\FileDataService\FileDataFoldersPath.cs -- Line: 294 - Method: Void Configure(Microsoft.AspNetCore.Builder.IApplicationBuilder, Microsoft.AspNetCore.Hosting.IWebHostEnvironment) - FileName: D:\Data\dev\Products\SkymemRex\Skymem\EmailHuntNT\src\EmailHuntNT\Startup.cs -- Method: System.Object InvokeMethod(System.Object, Void**, System.Signature, Boolean) -- Method: System.Object Invoke(System.Object, IntPtr*, System.Reflection.BindingFlags) -- Method: System.Object Invoke(System.Object, System.Reflection.BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo) -- Method: Void Invoke(System.Object, Microsoft.AspNetCore.Builder.IApplicationBuilder) -- Method: Void MoveNext() -- Method: Void Throw() -- Method: Void ThrowForNonSuccess(System.Threading.Tasks.Task) -- Method: Void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) -- Method: Void MoveNext() -- Method: Void Throw() -- Method: Void ThrowForNonSuccess(System.Threading.Tasks.Task) -- Method: Void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) -- Method: Void MoveNext() -- Method: Void Throw() -- Method: Void MoveNext() -- Method: Void Throw() -- Method: Void ThrowForNonSuccess(System.Threading.Tasks.Task) -- Method: Void HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task) -- Method: Void Run(Microsoft.Extensions.Hosting.IHost) -- Line: 17 - Method: Void Main(System.String[]) - FileName: D:\Data\dev\Products\SkymemRex\Skymem\EmailHuntNT\src\EmailHuntNT\Program.cs ---> Autofac.Core.DependencyResolutionException: An exception was thrown while activating AppBaseStack.MongoStack.MutblRepo`1[[AppCommon.AppSettingData, AppCommonExt, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]. ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(AppBaseStack.MongoStack.IBaseRepoFactory`1[AppCommon.AppSettingData], AppBaseStack.MongoStack.RepoMetaData)' on type 'MutblRepo`1'. ---> System.TimeoutException: A timeout occurred after 30000ms selecting a server using CompositeServerSelector{ Selectors = MongoDB.Driver.MongoClient+AreSessionsSupportedServerSelector, LatencyLimitingServerSelector{ AllowedLatencyRange = 00:00:00.0150000 }, OperationsCountServerSelector }. Client view of cluster state is { ClusterId : "1", Type : "Unknown", State : "Disconnected", Servers : [{ ServerId: "{ ClusterId : 1, EndPoint : "Unspecified/localhost:27050" }", EndPoint: "Unspecified/localhost:27050", ReasonChanged: "Heartbeat", State: "Disconnected", ServerVersion: , TopologyVersion: , Type: "Unknown", HeartbeatException: "MongoDB.Driver.MongoConnectionException: An exception occurred while opening a connection to the server. ---> System.Net.Internals.SocketExceptionFactory+ExtendedSocketException (10061): No connection could be made because the target machine actively refused it. [::1]:27050 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at MongoDB.Driver.Core.Connections.TcpStreamFactory.Connect(Socket socket, EndPoint endPoint, CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.TcpStreamFactory.CreateStream(EndPoint endPoint, CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken) --- End of inner exception stack trace --- at MongoDB.Driver.Core.Connections.BinaryConnection.OpenHelper(CancellationToken cancellationToken) at MongoDB.Driver.Core.Connections.BinaryConnection.Open(CancellationToken cancellationToken) at MongoDB.Driver.Core.Servers.ServerMonitor.InitializeConnection(CancellationToken cancellationToken) at MongoDB.Driver.Core.Servers.ServerMonitor.Heartbeat(CancellationToken cancellationToken)", LastHeartbeatTimestamp: "2024-06-02T23:42:51.1801857Z", LastUpdateTimestamp: "2024-06-02T23:42:51.1801866Z" }] }. at MongoDB.Driver.Core.Clusters.Cluster.ThrowTimeoutException(IServerSelector selector, ClusterDescription description) at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChangedHelper.HandleCompletedTask(Task completedTask) at MongoDB.Driver.Core.Clusters.Cluster.WaitForDescriptionChanged(IServerSelector selector, ClusterDescription description, Task descriptionChangedTask, TimeSpan timeout, CancellationToken cancellationToken) at MongoDB.Driver.Core.Clusters.Cluster.SelectServer(IServerSelector selector, CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.AreSessionsSupportedAfterServerSelection(CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.AreSessionsSupported(CancellationToken cancellationToken) at MongoDB.Driver.MongoClient.StartImplicitSession(CancellationToken cancellationToken) at MongoDB.Driver.OperationExecutor.StartImplicitSession(CancellationToken cancellationToken) at MongoDB.Driver.MongoCollectionImpl`1.UsingImplicitSession[TResult](Func`2 func, CancellationToken cancellationToken) at MongoDB.Driver.MongoCollectionImpl`1.MongoIndexManager.CreateMany(IEnumerable`1 models, CreateManyIndexesOptions options, CancellationToken cancellationToken) at MongoDB.Driver.MongoIndexManagerBase`1.CreateOne(CreateIndexModel`1 model, CreateOneIndexOptions options, CancellationToken cancellationToken) at MongoRepositoryNT.MongoCollectionPool`1.AddOneUniqueIndex(IMongoCollection`1 inCollection, String key) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 297 at MongoRepositoryNT.MongoCollectionPool`1.Init(IMongoCollection`1 inCollection, List`1 index, List`1 uniqueIndex) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 191 at MongoRepositoryNT.MongoCollectionPool`1.Create(IRepoDescData inRepoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 163 at MongoRepositoryNT.MongoCollectionPool`1.GetOrAdd(IRepoDescData inRepoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\Base\Pool\MongoCollectionPool.cs:line 124 at MongoRepositoryNT.RepoRestNative`1..ctor(IRepoDescData repoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\MongoRepositoryNT\RestRepo\RepoRestNative.cs:line 69 at RepoLambda.BaseRepo`1..ctor(IRepoDescData repoDescData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoRepositoryExt\src\RepoLambda\Repo\BaseRepo.cs:line 55 at AppBaseStack.MongoStack.BaseRepoFactory`1.GetOrCreateRepo(RepoMetaData repoMetaData) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoStackExt\src\MongoStackExt\RepoFactory\BaseRepoFactory.cs:line 67 at AppBaseStack.MongoStack.EntityRepository`1..ctor(IBaseRepoFactory`1 baseRepoFactory, RepoMetaData repoMeta) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoStackExt\src\MongoStackExt\Repo\Base\EntityRepository.cs:line 73 at AppBaseStack.MongoStack.MutblRepo`1..ctor(IBaseRepoFactory`1 baseRepoFactory, RepoMetaData repoMeta) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\MongoStackExt\src\MongoStackExt\Repo\BaseRepo\MutblRepo.cs:line 46 at lambda_method132(Closure, Object[]) at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() --- End of inner exception stack trace --- at Autofac.Core.Activators.Reflection.BoundConstructor.Instantiate() at Autofac.Core.Activators.Reflection.ReflectionActivator.<>c__DisplayClass14_0.<UseSingleConstructorActivation>b__0(ResolveRequestContext ctxt, Action`1 next) at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next) --- End of inner exception stack trace --- at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next) at Autofac.Core.Resolving.Pipeline.ResolvePipelineBuilder.<>c__DisplayClass14_0.<BuildPipeline>b__1(ResolveRequestContext ctxt) at Autofac.Core.Pipeline.ResolvePipeline.Invoke(ResolveRequestContext ctxt) at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request) at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request) at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request) at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.Resolve(IComponentContext context, Type serviceType, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, IEnumerable`1 parameters) at Autofac.ResolutionExtensions.Resolve[TService](IComponentContext context, Parameter[] parameters) at AppCommon.AppSettingRepoHelper.GetAppSettingData() in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\AppCommonExt\AppCommonExt\AppSetting\AppSettingRepoHelper.cs:line 35 at AppCommon.FileDataFoldersPath.FillDataRawFoldersPath(String applicationBasePath) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\AppCommonExt\AppCommonExt\Util\FileDataService\FileDataFoldersPath.cs:line 31 at AppCommon.FileDataFoldersPath.Init(String applicationBasePath) in D:\Data\dev\Products\SkymemRex\Skymem\CommonLib\AppCommonExt\AppCommonExt\Util\FileDataService\FileDataFoldersPath.cs:line 22 at EmailHuntNT.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env) in D:\Data\dev\Products\SkymemRex\Skymem\EmailHuntNT\src\EmailHuntNT\Startup.cs:line 294 at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder) at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host) at EmailHuntNT.Program.Main(String[] args) in D:\Data\dev\Products\SkymemRex\Skymem\EmailHuntNT\src\EmailHuntNT\Program.cs:line 17 --- End of inner exception stack trace --- at EmailHuntNT.Program.Main(String[] args) in D:\Data\dev\Products\SkymemRex\Skymem\EmailHuntNT\src\EmailHuntNT\Program.cs:line 25 .NET 7.0.5 X64 v7.0.0.0 | Microsoft.AspNetCore.Hosting version 7.0.5+d47e49e9c1e173ac90821f7e89cc38e710274241 | Microsoft Windows 10.0.17763 | Need help?