Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [scaleph-api] scaleph-ui-react container access failed caused by cross-origin error on local environment #597

Open
2 of 3 tasks
moresun opened this issue Aug 10, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@moresun
Copy link

moresun commented Aug 10, 2023

Already searched before asking?

  • I had searched in the issues and found no similar issues.

Scaleph Version or Branch

Hi,
When I used docker-compose command to deploy schaleph, I could not go through the authorization with user and password.
The exception is as follows,

java.lang.IllegalArgumentException: When allowCredentials is true, allowedOrigins cannot contain the special value "*" since that cannot be set on the "Access-Control-Allow-Origin" response header. To allow credentials to a set of origins, list them explicitly or consider using "allowedOriginPatterns" instead.

What happened

java.lang.IllegalArgumentException: When allowCredentials is true, allowedOrigins cannot contain the special value "*" since that cannot be set on the "Access-Control-Allow-Origin" response header. To allow credentials to a set of origins, list them explicitly or consider using "allowedOriginPatterns" instead.

Error Exception

No response

Screenshots

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@moresun moresun added the bug Something isn't working label Aug 10, 2023
@kalencaya
Copy link
Collaborator

english please

@moresun
Copy link
Author

moresun commented Aug 11, 2023

Ok

@kalencaya kalencaya changed the title [Bug] [scaleph-api] docker本地部署出现跨域访问问题 [Bug] [scaleph-api] scaleph-ui-react container access failed caused by cross-origin error on local environment Aug 11, 2023
@zhoumwei
Copy link

So, how do you fix it

2 similar comments
@121-hello
Copy link

So, how do you fix it

@121-hello
Copy link

So, how do you fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants