Hello forum,
My site works fine locally. When I publish to Azure, I get Error 502. The log file looks like this: DEBUG 2016-07-11 11:22:37,368 [1 ] Abp.Modules.AbpModuleManager - Loading Abp modules... DEBUG 2016-07-11 11:22:37,822 [1 ] Abp.Modules.AbpModuleManager - Found 15 ABP modules in total. DEBUG 2016-07-11 11:22:37,822 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Haufe.CosmosMoon.Web.CosmosMoonWebModule, Haufe.CosmosMoon.Web, Version=1.7.1.1, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,822 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Web.AbpWebModule, Abp.Web, Version=0.7.7.2, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,837 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AbpKernelModule, Abp, Version=0.7.7.2, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,837 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Web.Mvc.AbpWebMvcModule, Abp.Web.Mvc, Version=0.7.7.2, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,837 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Haufe.CosmosMoon.CosmosMoonDataModule, Haufe.CosmosMoon.EntityFramework, Version=1.7.1.1, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,837 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.EntityFramework.AbpZeroEntityFrameworkModule, Abp.Zero.EntityFramework, Version=0.7.7.0, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,837 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.Zero, Version=0.7.7.0, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,837 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFramework.AbpEntityFrameworkModule, Abp.EntityFramework, Version=0.7.7.2, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,837 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Haufe.CosmosMoon.CosmosMoonCoreModule, Haufe.CosmosMoon.Core, Version=1.7.1.1, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,837 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.Ldap.AbpZeroLdapModule, Abp.Zero.Ldap, Version=0.7.7.0, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,837 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Haufe.CosmosMoon.CosmosMoonApplicationModule, Haufe.CosmosMoon.Application, Version=1.7.1.1, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,837 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=0.7.7.2, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,837 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Haufe.CosmosMoon.WebApi.CosmosMoonWebApiModule, Haufe.CosmosMoon.WebApi, Version=1.7.1.1, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,853 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.WebApi.OData.AbpWebApiODataModule, Abp.Web.Api.OData, Version=0.7.8.0, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,853 [1 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.WebApi.AbpWebApiModule, Abp.Web.Api, Version=0.7.7.2, Culture=neutral, PublicKeyToken=null DEBUG 2016-07-11 11:22:37,993 [1 ] Abp.Modules.AbpModuleManager - 15 modules loaded. DEBUG 2016-07-11 11:22:38,103 [1 ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource DEBUG 2016-07-11 11:22:38,103 [1 ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource DEBUG 2016-07-11 11:22:38,103 [1 ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource DEBUG 2016-07-11 11:22:38,103 [1 ] o.Configuration.LanguageManagementConfig - Converted CosmosMoon (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
Then it stops! Normally it would continue after a couple of seconds with DEBUG 2016-07-11 13:37:35,405 [1 ] Abp.Localization.LocalizationManager - Initializing 4 localization sources. (etc.)
I can see from my own Tracing that PreInitialize() is successfully called on all 5 modules, but Initialize() is never reached.
Any ideas? Thanks and regards, Robert
2 Answer(s)
-
0
Hi,
Maybe you can find a more detailed exception message on eventlog.xml file (in the logFiles folder). It might help us to better understand the problem.
-
0
Hi,
Thanks for the reference to eventlog.xml, which I wasn't aware of. There, I was able to see the exception details. I am using NetMQ to send events to other processes and apparently there is a problem loading the NetMQ assembly, so I will look into that.
Cheers!