Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: Can't modify metadata through FDP-web-UI when Dgraphdb.external-url is set #394

Open
jagerda opened this issue Feb 24, 2023 · 0 comments

Comments

@jagerda
Copy link

jagerda commented Feb 24, 2023

@a-tassoni, @sdvr

Extension part
overall

The Question

Hi all,

not sure if I'm now at the right place to ask this, I originally posted this on ejp-rd-vp/FiaB#4 and then @markwilkinson said I should rather ask here.
Maybe I'm just overlooking something trivial, I'm thankful for any hints.

For exact steps for reproduction please check this original issue, will not duplicate entire description of FiaB here. So to explain in short:

We are running a FAIR Data Point with

  • fairdata/fairdatapoint:1.15.0
  • fairdata/fairdatapoint-client:1.15.0
  • ontotext/graphdb:10.1.2

We are using apache2 as reverse proxy, minimal exemplar configuration:

<VirtualHost *:80>

    ServerName localhost
    ErrorLog /var/log/apache2/error_log
    TransferLog /var/log/apache2/access_log

    <LocationMatch /fairdatapoint-ctsr>
      ProxyPass http://localhost:7070
      ProxyPassReverse http://localhost:7070
    </LocationMatch>

    <LocationMatch /graphdb-ctsr>
      ProxyPass http://localhost:7200
      ProxyPassReverse http://localhost:7200
    </LocationMatch>

</VirtualHost>

If we want graphdb-web-ui to correctly render, then we need to set
command: ["-Dgraphdb.home=/opt/graphdb/home -Dgraphdb.external-url=http://localhost/graphdb-ctsr"] for the graphdb-container
see also ejp-rd-vp/FiaB#2

But as soon as we do that, we can no longer edit any data inside FDP - not through API nor through FDP web interface.
We can see that the query reaches the graphdb-container but it just never terminates and runs for minutes.

When we disable command: ["-Dgraphdb.home=/opt/graphdb/home -Dgraphdb.external-url=http://localhost/graphdb-ctsr"] for the container, then again we can edit data inside FDP both through API and through FDP web interface.

Many thanks!

Dagmar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant