FHIR icon indicating copy to clipboard operation
FHIR copied to clipboard

The application or context root for this request has not been found: /openapi/ui/

Open darmawan01 opened this issue 3 years ago • 1 comments

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

darmawan01 avatar Jun 06 '22 14:06 darmawan01

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"

lmsurpre avatar Jun 08 '22 01:06 lmsurpre