server_address ignored by Web Testpage Overlay

15 views
Skip to first unread message

Rob Ferguson

unread,
Jun 1, 2025, 6:51:46 PM6/1/25
to HAPI FHIR
If I set the server_address, for example:

```
server:
  max-http-request-header-size: 64KB
hapi:
  fhir:
    server_address: https://hapi-fhir.au.localhost:6443/fhir
    default_encoding: json

```

And enable TLS, I see the following error:

```
hapi-fhir | 2025-06-01T21:33:40.875Z WARN 1 --- [nio-8443-exec-5] ca.uhn.fhir.to.BaseController : Failed to load conformance statement, error was: ca.uhn.fhir.rest.client.exceptions.FhirClientConnectionException: HAPI-1361: Failed to parse response from server when performing GET to URL http://localhost:8080/fhir/metadata - org.apache.http.conn.HttpHostConnectException: Connect to localhost:8080 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
```

The Web Testpage Overlay is using the default URI (http://localhost:8080/fhir/metadata) rather then the provided server_address setting (https://hapi-fhir.au.localhost:6443/fhir/metadata).

Screenshot 2025-06-02 at 08.48.46.png

Also see: 
https://github.com/Robinyo/hapi-fhir-au/blob/main/docs/administrator/hapi-fhir/README.md


Rob Ferguson

unread,
Jun 1, 2025, 7:12:28 PM6/1/25
to HAPI FHIR
The FHIR Server has picked up the correct configuration:

```
```

Screenshot 2025-06-02 at 09.11.00.png


Reply all
Reply to author
Forward
0 new messages