Skip to main content
bhushanj475
January 14, 2025
Question

CORS request rejected, invalid request

  • January 14, 2025
  • 8 replies
  • 0 views

Hello All,

Our new RHEL9 Acceptance environment is upgraded to version 24.3 but after upgrade we are unable to access the one app server directly (without load balancer). Previously we could access app server directly using URL "https://{HOSTNAME}/suite/?signin=native" But now I can login but it gives me CORS request rejected error message.

Previously before upgrade I added {HOSTNAME} to embedded interface list in admin console and it was working. can you please help me in this how to bypass or update CORS valid list directly in database.

Not sure but looks like it is wiped out after upgrade. 

Here is error details :

2025-01-14 22:50:40,903 [ajp-nio-0.0.0.0-8009-exec-1] ERROR com.appiancorp.security.cors.CorsFilter - CORS request rejected; invalid request from XXX.XXX.XXX.25 to /auth jakarta.servlet.ServletException: CORS origin denied: {HOSTNAME} is not on the allowed list:[

Thanks, Bhushan

8 replies

mathieud0001
January 14, 2025

 [mention:c5aa63af88be41209c4f3645fcd22d2e:6b577b8c04704e209d29b6772bf67243] 

Check the hostname on the machine.

bhushanj475
January 14, 2025

Checked. Its correct. 

I also compared previous version custome.properties file with current version 24.3 custom.properties file and its same.

mathieud0001
January 14, 2025

What about the hostname of the machine itself?