Internal IP address of host vs service name for local federation #7
Labels
bug:functional
Functional defects resulting from feature changes.
type:bug
Defects in shipped code and fixes for those defects
In the
local_federation
setup, we uselocalhost
for theAPI_QUERY_URL
to refer to the federation API running on the host machine, This works fine for the requests made by clicking thesubmit query
on the query tool interface from the browser (i.e., client side) but this is an issue for requests made in thefetch
hook cycle that are made from the query tool container inside the docker network for whichlocalhost
refers to the query tool container. Not thehost
running the docker compose stack, therefore, requests to retrieve diagnosis, assessments, and nodes fail.To resolve this
See also #5
The text was updated successfully, but these errors were encountered: