Starts in:
2 DAYS
16 HRS
11 MIN
21 SEC
Starts in:
2 D
16 H
11 M
21 S

Activities of "gvnuysal"

Answer

you are awesome.thanks your link.

Question
  • ABP Framework version: v3.1.0
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hello support, When I upload the project to IIS, I get a CORS error in Update and Delete operations, but I do not get an error in the Insert process. However, http: // localhost: 4200 is written in the settings file of the project.

Access to XMLHttpRequest at 'http://localhost:7878/api/lepton-theme-management/settings' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I get CORS error for update processes, but if we do the insert process, I don't.

Access to XMLHttpRequest at 'http://10.100.20.101:8088/api/language-management/languages/806d5656-6deb-91bf-d532-39f6db038b0c/set-as-default' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

my appsettings { "App": { "SelfUrl": "http: // localhost: 8088", "ClientUrl": "http: // localhost: 4200", "CorsOrigins": "http: //*.TView.com,http: // localhost: 4200" } }

when I refresh the page in the browser

CORS error

  • ABP Framework version: v3.0.5
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular):no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

I have 3 questions. 1.q) When I deploy the project in IIS, when I refresh the page in the browser in angular project, I get a 404 error, but I can access the same page when I go from the menu. I do not get it when I run it with visual studio.

2.q) The error I get when I click the make language default button. This error is also running on IIS

http: // localhost:8088/api/language-management/languages/cb66ae93-ea97-bec5-9d21-39f6da954d03/set-as-default 'from origin' http://localhost:4200 'has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

my appsettings

{
   "App": {
     "SelfUrl": "http: // localhost: 8088",
     "ClientUrl": "http: // localhost: 4200",
     "CorsOrigins": "http: //*.TView.com,http: // localhost: 4200"
   }
}

By the way, I publish http on my local computer and when I publish on IIS, I publish http.

3.q) What kind of settings should we make while publishing a project on IIS?

  • ABP Framework version: v3.0.5
  • UI type: Angular
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

When I deploy the Angular project and try to login, I get the following error. When it is a http broadcast, the 'requireHttps' property is false but it still does not log in. Can you help with the solution?

ERROR issuer must use HTTPS (with TLS), or config value for property 'requireHttps' must be set to 'false' and allow HTTP (without TLS).

Thanks.

Hi @liangshiwei thanks your answer

Hi Mehmet, Thanks your answer.

  • ABP Framework version: v3.0.5
  • UI type:MVC
  • Tiered (MVC) or Identity Server Seperated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:

If I run it with https, I can login, but when I run it with http, I cannot login. If I use http in appsettings and iis settings, I cannot login. I wonder what I need to do to run it with http://localhost:XXXX.

Thanks.

Hi support, After publishing to server, I get some warnings like below in google console alerts. What settings should I make while publishing to Server? Thank you for your interest.

Showing 71 to 80 of 81 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06