-
Notifications
You must be signed in to change notification settings - Fork 837
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
Kong manager not connecting to kong admin API #719
Comments
hi @andresmorago , do you think @teneous 's solution could work for you? |
I am facing a similar CORS problem when using docker compose and a reverse proxy that issues a cert for a single TDL over 443. I can override the ports by using KONG_ADMIN_GUI_API_URL (else the GUI wants to connect to 8444) but the GUI won't connect to the API with 405 method not allowed. My nginx reverse proxy is pointing to the GUI on 8002.
Has anybody this constellation working? |
If you’re enabling SSL, make sure to add certificates to the following environment variables: KONG_SSL_CERT: "/path/to/kong.crt"
KONG_SSL_CERT_KEY: "/path/to/kong.key"
KONG_ADMIN_SSL_CERT: "/path/to/kong.crt"
KONG_ADMIN_SSL_CERT_KEY: "/path/to/kong.key"
KONG_ADMIN_GUI_SSL_CERT: "/path/to/kong.crt"
KONG_ADMIN_GUI_SSL_CERT_KEY: "/path/to/kong.key" |
can we not expose admin api port and KONG_ADMIN_GUI_API_URL use internal network docker like http://service_name:admin_api_port ? |
Hello everyone,
I'm currently deploying a Docker Compose setup on my server, and I'm facing issues with accessing Kong Manager. It seems like the port mapping in my docker-compose.yml file isn't working correctly.
The primary goal is to access Kong Manager from a remote machine. Kong is running on my server, and I've customized the mapped ports. However, Kong Manager still tries to access port 8001 using my server's external IP instead of routing through Docker.
Here is the error that i see on the web page
as well as in the console
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://172.30.19.123:8001/workspaces?size=1000. (Reason: CORS request did not succeed). Status code: (null).
Here is my current docker-compose.yml
The text was updated successfully, but these errors were encountered: