Here is the log there is no error
INFO 2019-08-01 01:55:48,606 [66 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS http://185.187.94.224:8888/api/services/app/HostSettings/GetAllSettings
INFO 2019-08-01 01:55:48,607 [66 ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO 2019-08-01 01:55:48,607 [66 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 0.3138ms 204
INFO 2019-08-01 01:55:48,608 [66 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS http://185.187.94.224:8888/api/services/app/CommonLookup/GetEditionsForCombobox?onlyFreeItems=false
INFO 2019-08-01 01:55:48,608 [66 ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO 2019-08-01 01:55:48,608 [66 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 0.2136ms 204
INFO 2019-08-01 01:55:48,627 [66 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://185.187.94.224:8888/api/services/app/HostSettings/GetAllSettings
INFO 2019-08-01 01:55:48,628 [66 ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO 2019-08-01 01:55:48,628 [66 ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
WARN 2019-08-01 01:55:48,629 [66 ] calization.RequestLocalizationMiddleware - AbpUserRequestCultureProvider returned the following unsupported cultures 'null'.
WARN 2019-08-01 01:55:48,629 [66 ] calization.RequestLocalizationMiddleware - AbpUserRequestCultureProvider returned the following unsupported UI Cultures 'null'.
WARN 2019-08-01 01:55:48,629 [66 ] calization.RequestLocalizationMiddleware - AbpDefaultRequestCultureProvider returned the following unsupported cultures 'null'.
WARN 2019-08-01 01:55:48,629 [66 ] calization.RequestLocalizationMiddleware - AbpDefaultRequestCultureProvider returned the following unsupported UI Cultures 'null'.
INFO 2019-08-01 01:55:48,629 [66 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'Soffa.Configuration.Host.HostSettingsAppService.GetAllSettings (Soffa.Application)'
INFO 2019-08-01 01:55:48,635 [66 ] ore.Mvc.Internal.ControllerActionInvoker - Route matched with {area = "app", action = "GetAllSettings", controller = "HostSettings"}. Executing action Soffa.Configuration.Host.HostSettingsAppService.GetAllSettings (Soffa.Application)
INFO 2019-08-01 01:55:48,635 [66 ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO 2019-08-01 01:55:48,643 [66 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Soffa.Configuration.Host.HostSettingsAppService.GetAllSettings (Soffa.Application) - Validation state: Valid
INFO 2019-08-01 01:55:48,646 [66 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action method Soffa.Configuration.Host.HostSettingsAppService.GetAllSettings (Soffa.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 3.3601ms.
INFO 2019-08-01 01:55:48,650 [120 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 GET http://185.187.94.224:8888/api/services/app/CommonLookup/GetEditionsForCombobox?onlyFreeItems=false
INFO 2019-08-01 01:55:48,650 [120 ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO 2019-08-01 01:55:48,651 [120 ] uthentication.JwtBearer.JwtBearerHandler - Successfully validated the token.
WARN 2019-08-01 01:55:48,651 [120 ] calization.RequestLocalizationMiddleware - AbpUserRequestCultureProvider returned the following unsupported cultures 'null'.
WARN 2019-08-01 01:55:48,651 [120 ] calization.RequestLocalizationMiddleware - AbpUserRequestCultureProvider returned the following unsupported UI Cultures 'null'.
WARN 2019-08-01 01:55:48,651 [120 ] calization.RequestLocalizationMiddleware - AbpDefaultRequestCultureProvider returned the following unsupported cultures 'null'.
WARN 2019-08-01 01:55:48,651 [120 ] calization.RequestLocalizationMiddleware - AbpDefaultRequestCultureProvider returned the following unsupported UI Cultures 'null'.
INFO 2019-08-01 01:55:48,651 [120 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'Soffa.Common.CommonLookupAppService.GetEditionsForCombobox (Soffa.Application)'
INFO 2019-08-01 01:55:48,657 [66 ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO 2019-08-01 01:55:48,658 [66 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Soffa.Configuration.Host.HostSettingsAppService.GetAllSettings (Soffa.Application) in 22.8757ms
INFO 2019-08-01 01:55:48,658 [66 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'Soffa.Configuration.Host.HostSettingsAppService.GetAllSettings (Soffa.Application)'
INFO 2019-08-01 01:55:48,658 [66 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 30.3197ms 200 application/json; charset=utf-8
INFO 2019-08-01 01:55:48,661 [120 ] ore.Mvc.Internal.ControllerActionInvoker - Route matched with {area = "app", action = "GetEditionsForCombobox", controller = "CommonLookup"}. Executing action Soffa.Common.CommonLookupAppService.GetEditionsForCombobox (Soffa.Application)
INFO 2019-08-01 01:55:48,661 [120 ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO 2019-08-01 01:55:48,669 [120 ] ore.Mvc.Internal.ControllerActionInvoker - Executing action method Soffa.Common.CommonLookupAppService.GetEditionsForCombobox (Soffa.Application) with arguments (False) - Validation state: Valid
INFO 2019-08-01 01:55:48,678 [57 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action method Soffa.Common.CommonLookupAppService.GetEditionsForCombobox (Soffa.Application), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 9.0693ms.
INFO 2019-08-01 01:55:48,692 [57 ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
INFO 2019-08-01 01:55:48,693 [57 ] ore.Mvc.Internal.ControllerActionInvoker - Executed action Soffa.Common.CommonLookupAppService.GetEditionsForCombobox (Soffa.Application) in 31.1736ms
INFO 2019-08-01 01:55:48,693 [57 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'Soffa.Common.CommonLookupAppService.GetEditionsForCombobox (Soffa.Application)'
INFO 2019-08-01 01:55:48,693 [57 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 42.5933ms 200 application/json; charset=utf-8
INFO 2019-08-01 01:55:56,973 [74 ] soft.AspNetCore.Hosting.Internal.WebHost - Request starting HTTP/1.1 OPTIONS http://185.187.94.224:8888/api/services/app/HostSettings/UpdateAllSettings
INFO 2019-08-01 01:55:56,973 [74 ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution successful.
INFO 2019-08-01 01:55:56,974 [74 ] soft.AspNetCore.Hosting.Internal.WebHost - Request finished in 0.3141ms 204
Hi
I want to check the emailaddress in ABPUsers if exist do come tticks related to my project where can I modify the code, because I found the CheckErrors() in CreateOrUpdateUser() function not clear CheckErrors(await UserManager.UpdateAsync(user));
Hi,
I am trying to Update in the user page some info the Cors origin block the url only on update.
Any help?
Hi,
I am trying to publish Angular project with th web host under the same route.
Default Web Site is localhost:80 and the Webhost is localhost:80/SoffaHost
"App": { "ServerRootAddress": "http://localhost:80/SoffaHost", "ClientRootAddress": "http://localhost:80/", "CorsOrigins": "http://localhost,http://185.187.94.224:9999", "SwaggerEndPoint": "/swagger/v1/swagger.json", "AllowAnonymousSignalRConnection": "true" }
"remoteServiceBaseUrl": "http://localhost:80/SoffaHost", "appBaseUrl": "http://localhost:80",
Any ideas?
I want to open a specific url " http://185.187.94.224:9999" to prevent blocking from cors policy how can I set it in
appsettings.Production.json { "ConnectionStrings": { "Default": "Server=VM-SOFFA\SQLEXPRESS; Database=SoffaV2; User=nwe; Password=nwesoffa@123;" }, "App": { "ServerRootAddress": "http://localhost:8080/", "ClientRootAddress": "http://localhost:80/", "CorsOrigins": "http://localhost, http://185.187.94.224:9999" } } because its only working for localhost but I want the second url
thank you done
Sorry here is my web.config file of angular:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<tracing>
<traceFailedRequests>
<add path="*">
<traceAreas>
<add provider="WWW Server" areas="Authentication,Security,Filter,StaticFile,CGI,Compression,Cache,RequestNotifications,Module,FastCGI,WebSocket" verbosity="Verbose" />
</traceAreas>
<failureDefinitions statusCodes="404.2" />
</add>
</traceFailedRequests>
</tracing>
</system.webServer>
</configuration>
thanks