FHIR
FHIR copied to clipboard
The application or context root for this request has not been found: /openapi/ui/
Help!
Run the fhir server using demo , no error but when access the swagger got the The application or context root for this request has not been found: /openapi/ui/
Accessing using http://localhost:9080/openapi/ui
Thanks for help
I confirmed that this is working just fine for me from main.
Did you confirm that the services say they are healthy?
$ docker compose ps
NAME COMMAND SERVICE STATUS PORTS
demo-fhir-server-1 "/opt/ibm-fhir-serve…" fhir-server running (healthy) 0.0.0.0:9080->9080/tcp, 0.0.0.0:9443->9443/tcp
demo-postgres-1 "/docker-entrypoint.…" postgres running (healthy) 0.0.0.0:5432->5432/tcp
Did you check the logs?
docker compose logs --tail [numberOfRows]
By default, the demo env logs everything at trace level "fine" which leads to pretty verbose logs. You can reduce that by changing this line of the docker-compose.yaml:
TRACE_SPEC: "com.ibm.fhir.*=FINE"
to
TRACE_SPEC: "com.ibm.fhir.*=INFO"