-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Labels
bugSomething's wrongSomething's wrong
Description
description
According to the docs:
If you don't specify
persistentUrl, theclientUrlwill be used instead.
However, if we do not specify peristentUrl, the actual fallback value includes the app server port.
For example if we only specify clientUrl: http://localhost, and the app server (server.port) listens on 8080, the resulting persistentUrl value is http://localhost:8080, instead of the expected http://localhost.
As a result, the fdp rdf subject is wrong (note the mismatch between the highlighted strings):
and so are links like the following:
how to reproduce
- clone the FAIRDataTeam/compose repo
cd compose/fdp/ephemeral/v1- temporarily add a
compose.override.ymlfile in this dir, with the following contentservices: fdp: environment: INSTANCE_PERSISTENTURL: !reset null
docker compose up -d- visit
http://localhost/?format=ttlin your favorite browser
workaround
Always specify the persistentUrl explicitly, in addition to the clientUrl (or INSTANCE_PERSISTENTURL and INSTANCE_CLIENTURL, respectively).
Metadata
Metadata
Assignees
Labels
bugSomething's wrongSomething's wrong