Imagine I have a RDF4J server and workbench running on an AWS server at http://1.2.3.4
...and I recently registered the domain example.com
via AWS route 53 and pointed it to http://1.2.3.4
My AWS security group has all ports open for the laptop I'm using now.
If I use a web browser to visit http://example.com:8080/rdf4j-server
, the expected web interface comes up immediately.
However, if I try to visit http://example.com:8080/rdf4j-workbench
, the page takes roughly one minute to load. Once it does, the RDF4J Server URL
is set to http://example.com:8080/rdf4j-server
. Clicking any of the exploration links on the left lead to waiting...
If I change the RDF4J Server URL
to http://localhost:8080/rdf4j-server
in the web interface, then I am able to browse, explore, query, etc.
Is there a way to set the workbench's default server? I didn't see any parameter files that look relevant in my RDF4J home /opt/tomcat/.RDF4J
I didn't see any errors in the log files in that folder, either.
There are timeout errors in catalina.out that might be relevant:
23-May-2017 14:45:09.597 WARNING [http-nio-8080-exec-6] org.eclipse.rdf4j.workbench.proxy.ServerValidator.canConnect java.net.ConnectException: Connection timed out (Connection timed out)
java.net.ConnectException: Connection timed out (Connection timed out)
I am also open to name-resolution tricks. I added the following line to /etc/hosts
. That seems to work, but it seems a little too sneaky for my taste.
127.0.0.1 example.com