Skip to content

auth_url is using http only #7

@msalmanmasood

Description

@msalmanmasood

Hi,

docker containers are up and running

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES a4ddcd2b3c2a call518/mcpo-proxy-openstack-ops:1.0.1 "mcpo --host 0.0.0.0…" 2 hours ago Up 2 hours 0.0.0.0:8080->8000/tcp, [::]:8080->8000/tcp mcp-openstack-ops-mcpo-proxy a2fdf8635693 ghcr.io/open-webui/open-webui:0.6.22 "bash start.sh" 2 hours ago Up 2 hours (healthy) 0.0.0.0:3000->8080/tcp, [::]:3000->8080/tcp mcp-openstack-ops-open-webui f728a1784cd7 call518/mcp-server-openstack-ops:1.0.1 "/bin/bash /app/scri…" 2 hours ago Up 2 hours (healthy) 0.0.0.0:8000->8000/tcp, [::]:8000->8000/tcp mcp-openstack-ops-mcp-server

Gemini-cli is inetegrated with following settings.json

{ "mcpServers": { "openstack-ops": { "httpUrl": "http://localhost:8000/mcp", "args": [], "env": { "OS_PROJECT_NAME": "admin", "OS_USERNAME": "admin", "OS_PASSWORD": "your-password", "OS_AUTH_HOST": "XXXXXX", "OS_AUTH_PORT": "13000", "OS_AUTH_URL": "https://XXXXXXXX:13000/v3" } } }

`> list down all instances of openstack

╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ ✓ get_instance (openstack-ops MCP Server) {"all_instances":true} │
│ │
│ { │
│ "instances": [], │
│ "count": 0, │
│ "total_count": 0, │
│ "error": "Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Unable to establish connection to http://XXXXXXXXXXXX:13000: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without │
│ response'))", │
│ "success": false, │
│ "mode": "detailed", │
│ "query_description": "All instances", │
│ "detailed": true │
│ } │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
✦ I'm sorry, but I'm unable to retrieve the list of OpenStack instances. The system encountered an error: "Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Unable to establish connection to http://jcpm.dts.lan:13000:
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))".

This usually indicates a problem with the OpenStack authentication URL or the network connection to the OpenStack identity service. Please verify that http://jcpm.dts.lan:13000 is the correct authentication URL and that the OpenStack services are running and accessible from where this
tool is being executed.

Using: 1 MCP server
`

where mcp server logs throws following exception:

mcp-openstack-ops-mcp-server | INFO:mcp.server.streamable_http_manager:Created new transport with session ID: 53d316b5e2a344648d6b1b46ec2ffd52 mcp-openstack-ops-mcp-server | INFO: 172.18.0.1:45308 - "POST /mcp HTTP/1.1" 200 OK mcp-openstack-ops-mcp-server | INFO: 172.18.0.1:45318 - "POST /mcp HTTP/1.1" 202 Accepted mcp-openstack-ops-mcp-server | INFO: 172.18.0.1:45308 - "GET /mcp HTTP/1.1" 200 OK mcp-openstack-ops-mcp-server | INFO:mcp.server.lowlevel.server:Processing request of type ListPromptsRequest mcp-openstack-ops-mcp-server | INFO: 172.18.0.1:45322 - "POST /mcp HTTP/1.1" 200 OK mcp-openstack-ops-mcp-server | INFO: 172.18.0.1:45318 - "POST /mcp HTTP/1.1" 200 OK mcp-openstack-ops-mcp-server | INFO:mcp.server.lowlevel.server:Processing request of type ListToolsRequest mcp-openstack-ops-mcp-server | INFO: 172.18.0.1:42246 - "POST /mcp HTTP/1.1" 200 OK mcp-openstack-ops-mcp-server | INFO:mcp.server.lowlevel.server:Processing request of type CallToolRequest mcp-openstack-ops-mcp-server | INFO:OpenStackService:Fetching all instances mcp-openstack-ops-mcp-server | WARNING:keystoneauth.identity.generic.base:Failed to discover available identity versions when contacting http://XXXXXXXXXX:13000. Attempting to parse version from URL. mcp-openstack-ops-mcp-server | WARNING:mcp_openstack_ops.connection:Cached connection invalid, creating new one: Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Unable to establish connection to http://XXXXXXX:13000: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) mcp-openstack-ops-mcp-server | INFO:mcp_openstack_ops.connection:Creating OpenStack connection with proxy host: XXXXXXXXXX mcp-openstack-ops-mcp-server | WARNING:keystoneauth.identity.generic.base:Failed to discover available identity versions when contacting http://XXXXXXXXX:13000. Attempting to parse version from URL. mcp-openstack-ops-mcp-server | ERROR:mcp_openstack_ops.connection:Connection test failed: Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Unable to establish connection to http://XXXXXXXXXX:13000: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) mcp-openstack-ops-mcp-server | ERROR:mcp_openstack_ops.connection:Failed to create OpenStack connection: Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Unable to establish connection to http://XXXXXXXXXX:13000: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')) mcp-openstack-ops-mcp-server | ERROR:mcp_openstack_ops.connection:Please check your OpenStack credentials and network connectivity mcp-openstack-ops-mcp-server | ERROR:mcp_openstack_ops.services.compute:Failed to get instance details: Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Unable to establish connection to http://XXXXXXXXXX:13000: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

FYI .env is with following details

MCP_LOG_LEVEL=INFO ALLOW_MODIFY_OPERATIONS=false PYTHONPATH=/app/src FASTMCP_TYPE=streamable-http FASTMCP_HOST=0.0.0.0 FASTMCP_PORT=8000 OS_PROJECT_DOMAIN_NAME=Default OS_USER_DOMAIN_NAME=Default OS_PROJECT_NAME=admin OS_TENANT_NAME=admin OS_USERNAME=admin OS_PASSWORD=RBsnfO7UM8zogtcQLM8tNQ5jL OS_AUTH_HOST=XXXXXXX OS_INTERFACE=public OS_ENDPOINT_TYPE=publicURL OS_IDENTITY_API_VERSION=3 OS_REGION_NAME=regionOne OS_AUTH_PLUGIN=password OS_AUTH_URL=https://XXXXXXXXX:13000/v3 OS_CACERT=/etc/ssl/certs/XXXXX-ca.pem OS_AUTH_PORT=13000 OS_COMPUTE_PORT=13774 OS_NETWORK_PORT=13696 OS_VOLUME_PORT=13776 OS_IMAGE_PORT=13292 OS_PLACEMENT_PORT=13778 OS_HEAT_STACK_PORT=13004 OS_HEAT_STACK_CFN_PORT=13005 COMPUTE_API_VERSION=2.19 DOCKER_EXTERNAL_PORT_OPENWEBUI=3000 DOCKER_EXTERNAL_PORT_MCP_SERVER=8000 DOCKER_EXTERNAL_PORT_MCPO_PROXY=8080

why the auth_url still pointing to AUTH_HOST with http protocol but https?

Advice pl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions