-
Notifications
You must be signed in to change notification settings - Fork 27
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
Connection to Boundary fails #1687
Comments
Hi there. Thanks for trying Boundary and Boundary Desktop. It looks like CORS may be disabled or misconfigured. In order to connect to a controller, Boundary Desktop requires that CORS be enabled. The TCP listener documentation is a good place to start. |
@timm-e - Thanks again for trying out Boundary, can you verify whether or not this work around was successful for you? |
Hi,
sorry for the late reply. I was out of office for some time.
You are right, CORS was disabled, but commenting it out or enabling it
explicitly does not help. I also tried to set cors_allowed_origins, but
without success. I disabled TLS and address without success. Now, the
only thing left is:
listener "tcp" {
purpose = "api"
tls_disabled = true
}
My nginx configuration is striped down to:
server {
listen 443 ssl;
server_name boundary.inqi.essigke.net;
ssl_certificate ...
ssl_certificate_key ...
location / {
proxy_pass http://127.0.0.1:9200;
}
}
The webinterface still works and boundary-ui still fails. Any other hints?
Thanks,
Timm
Am 15.05.23 um 17:54 schrieb Randall Morey:
…
Hi there. Thanks for trying Boundary and Boundary Desktop. It looks
like CORS may be disabled or misconfigured. In order to connect to a
controller, Boundary Desktop requires that CORS be enabled. The TCP
listener documentation
<https://developer.hashicorp.com/boundary/docs/configuration/listener/tcp#cors_enabled>
is a good place to start.
—
Reply to this email directly, view it on GitHub
<#1687 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQYEW2XPPUYZSSVKKDEWWWLXGJGTVANCNFSM6AAAAAAYAI6Z4M>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thank you for the follow up. It appears as though the controller is now properly configured to allow incoming API requests from Boundary Desktop. Using Boundary Desktop 1.5.1 I am able to connect to your controller and browse available auth methods. Screen.Recording.2023-05-30.at.06.38.10.mov |
Describe the bug
When connecting with boundary desktop to my cluster URL, I get a failure instead of an authentication window.
Authentication to the web interface and the CLI works fine.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Authentication window should open.
Additional context
It is a cluster of three boundary servers behind a Amazon ELB load balancer and with Nginx to terminate SSL. The servers are running boundary v.12.1. The client Desktop Client v1.5.1 (amd64, deb)
I couldn't find anything helpful in the log files.
The text was updated successfully, but these errors were encountered: