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

Missing path of KIE_SANDBOX_EXTENDED_SERVICES_URL when setting Extended service in KIE sandbox #2670

Open
phungvannarich-kepler-aavn opened this issue Oct 16, 2024 · 5 comments

Comments

@phungvannarich-kepler-aavn

I try to config Extended service with host has a path to ensure it connect directly. But it's not appear on UI.
image
image

Note: When I config it manually on UI with the path, it worked.

@phungvannarich-kepler-aavn phungvannarich-kepler-aavn changed the title Missing path of KIE_SANDBOX_EXTENDED_SERVICES_URL when setting Extended service Missing path of KIE_SANDBOX_EXTENDED_SERVICES_URL when setting Extended service in KIE sandbox Oct 16, 2024
@phungvannarich-kepler-aavn
Copy link
Author

Could someone please help me with this issue? Thanks in advance!

@thiagoelg
Copy link
Member

Hello, @phungvannarich-kepler-aavn! Thanks for reporting.

This is a known issue (tracked here apache/incubator-kie-issues#387), but it still needs to be fixed.

@phungvannarich-kepler-aavn
Copy link
Author

Hi @thiagoelg Thank you for your response! Could you please provide some suggestions for a workaround? I would really appreciate it!

@thiagoelg
Copy link
Member

I don't really think there is a workaround, unfortunately.

Changing the URL via the UI seems to be the only option for now.

@phungvannarich-kepler-aavn
Copy link
Author

Thanks for your response @thiagoelg !

We discovered a workaround by setting a cookie. If anyone encounters the same issue, you can follow this approach.

For example, with Nginx:
add_header Set-Cookie "kie-tools-COOKIE__kie-sandbox-extended-services--host=https://rules-dev.klara.tech/kie-sandbox-extended; Path=/kie-sandbox"; add_header Set-Cookie "kie-tools-COOKIE__kie-sandbox-extended-services--port=; Path=/kie-sandbox";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants