FHIR Chat · (sin tema) · hapi

Stream: hapi

Topic: (sin tema)


view this post on Zulip Fernando Portilla (Oct 18 2017 at 15:38):

We have a problem with our hapi server: https://fhir1.salud.uy/ when we view the console in the hapi server the "FHIR Base" shows other direction : http://suyfhirtestapp01:8080/baseDstu3/ What could be the cause of the change of this parameter ? . The hapi server is deploying in back of a proxy server. We are using hapi-fhir-cli.jar library to deploy it. When we try a GET transaction the server shows error 500. Thanks for youor suggestions !

view this post on Zulip Patrick Werner (Oct 19 2017 at 07:40):

Hola Fernando, hapi tries to get the ServerBase URL from the web container or hostname. If you are proxying you have to set the Parameter: setServerAddressStrategy(new HardcodedServerAddressStrategy("http://mydomain.com/fhir/baseDstu3"));

view this post on Zulip Patrick Werner (Oct 19 2017 at 07:43):

As far as i know this parameter can't be set via the hapi-cli commandline. You have to build your own CLI Server, or even better/more performant build your won jpaexample server.


Last updated: Apr 12 2022 at 19:14 UTC