I installed openziti with "host it anywhere", when i wanted to access https://${CONTROLLER_FQDN}:${Controller_Fabric_Port}/fabric/v1, but can not access it. The value of ${Controller_Fabric_Port} is 8440.
I changed the yaml of controller like this
ctrl:
options:
advertiseAddress: tls:ec*****.eu-central-1.compute.amazonaws.com:8440
# (optional) settings
# set the maximum number of connect requests that are buffered and waiting to be acknowledged (1 to 5000, default 1)
#maxQueuedConnects: 1
# the maximum number of connects that have begun hello synchronization (1 to 1000, default 16)
#maxOutstandingConnects: 16
# the number of milliseconds to wait before a hello synchronization fails and closes the connection (30ms to 60000ms, default: 5000ms)
#connectTimeoutMs: 5000
listener: tls:0.0.0.0:8440
.....
.....
web:
# name - required
# Provides a name for this listener, used for logging output. Not required to be unique, but is highly suggested.
- name: client-management
# bindPoints - required
# One or more bind points are required. A bind point specifies an interface (interface:port string) that defines
# where on the host machine the webListener will listen and the address (host:port) that should be used to
# publicly address the webListener(i.e. mydomain.com, localhost, 127.0.0.1). This public address may be used for
# incoming address resolution as well as used in responses in the API.
bindPoints:
#interface - required
# A host:port string on which network interface to listen on. 0.0.0.0 will listen on all interfaces
- interface: 0.0.0.0:8441
# address - required
# The public address that external incoming requests will be able to resolve. Used in request processing and
# response content that requires full host:port/path addresses.
address: ec*******.eu-central-1.compute.amazonaws.com:8441
- interface: 0.0.0.0:8440
address: ec*******.eu-central-1.compute.amazonaws.com:8440
It's on the same port as the management API. You should be able to access it using port :8441 without modifying your config file. Port 8440 is generally the port routers connect to the controller. I would undo those changes and use port 8441 and it should be fine.
{"error":{"cause":{"code":"UNHANDLED","message":"path /fabric/v1 was not found"},"code":"NOT_FOUND","message":"The resource requested was not found or is no longer available","requestId":"tttSq9Fvi"},"meta":{"apiEnrollmentVersion":"1.0.0","apiVersion":"1.0.0"}}
Can you check your config file? Under the web section there should be an apis list. The health-checks endpoint is not required, but the other three should be there.