Page MenuHomePhabricator

Superraptor123
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Tuesday

  • Clear sailing ahead.

User Details

User Since
Mar 11 2021, 5:33 AM (62 w, 3 d)
Availability
Available
LDAP User
Unknown
MediaWiki User
Superraptor123 [ Global Accounts ]

Recent Activity

Thu, May 19

Superraptor123 closed T308180: Can't Set CORS with Blazegraph, which is needed to communicate with Wikidata Query Service GUI on Localhost as Resolved.
Thu, May 19, 2:26 AM · Wikidata-Query-Service, Wikidata, Wikibase (3rd party installations)
Superraptor123 added a comment to T308180: Can't Set CORS with Blazegraph, which is needed to communicate with Wikidata Query Service GUI on Localhost.

Okay, so I think I've figured out how to do this, based on a hint in this article here. You actually need to use a proxy server. This will be different for people running different servers, but since mine is Apache2, I was able to find a relatively simple guide here. What I did was set up a proxy server on port 9000, which redirects to port 9999 (where Blazegraph is located). After doing this, the Wikidata Query Service GUI actually returns results! However, the links are a bit wonky still, so some formatting needs to be done.

Thu, May 19, 2:25 AM · Wikidata-Query-Service, Wikidata, Wikibase (3rd party installations)

Wed, May 18

Superraptor123 closed T308625: Blazegraph cannot find or load main class org.eclipse.jetty.runner.Runner as Resolved.
Wed, May 18, 11:01 PM · Wikidata, Wikidata-Query-Service
Superraptor123 added a comment to T308180: Can't Set CORS with Blazegraph, which is needed to communicate with Wikidata Query Service GUI on Localhost.

After finally figuring out the other error, as documented here, I'm back at this error again, with the CORS issue. Any thoughts?

Wed, May 18, 10:55 PM · Wikidata-Query-Service, Wikidata, Wikibase (3rd party installations)
Superraptor123 added a comment to T308625: Blazegraph cannot find or load main class org.eclipse.jetty.runner.Runner.

So it appears that there was something, somewhere which was still connected to the previous Maven instance, and resetting the whole server worked in order to get Blazegraph itself running... however, I'm just back at square one, being unable to set CORS so that the Wikidata Query GUI can access the Wikidata Query Service. It's the same as what I've documented here, so I'll return over to that thread.

Wed, May 18, 10:54 PM · Wikidata, Wikidata-Query-Service
Superraptor123 updated the task description for T308625: Blazegraph cannot find or load main class org.eclipse.jetty.runner.Runner.
Wed, May 18, 1:08 AM · Wikidata, Wikidata-Query-Service
Superraptor123 updated the task description for T308625: Blazegraph cannot find or load main class org.eclipse.jetty.runner.Runner.
Wed, May 18, 12:36 AM · Wikidata, Wikidata-Query-Service
Superraptor123 added a comment to T308180: Can't Set CORS with Blazegraph, which is needed to communicate with Wikidata Query Service GUI on Localhost.

I haven't found a solution. I have tried rebuilding things from scratch multiple times encountering different, seemingly unrelated, errors each time. I think it's still useful for this to be considered, however, so a solution should still be sought after. For the time being, I am focused on one of those different errors which I've documented here.

Wed, May 18, 12:34 AM · Wikidata-Query-Service, Wikidata, Wikibase (3rd party installations)
Superraptor123 edited projects for T308180: Can't Set CORS with Blazegraph, which is needed to communicate with Wikidata Query Service GUI on Localhost, added: Wikidata-Query-Service; removed Wikidata Query UI.
Wed, May 18, 12:32 AM · Wikidata-Query-Service, Wikidata, Wikibase (3rd party installations)
Superraptor123 created T308625: Blazegraph cannot find or load main class org.eclipse.jetty.runner.Runner.
Wed, May 18, 12:27 AM · Wikidata, Wikidata-Query-Service

Mon, May 16

Superraptor123 added a comment to T308180: Can't Set CORS with Blazegraph, which is needed to communicate with Wikidata Query Service GUI on Localhost.

This bug continues to be pervasive... just in case, I've attempted several tests with mvn install, mvn clean install, and mvn package. mvn package runs without error, but the other two each produce the following error:

Mon, May 16, 8:02 PM · Wikidata-Query-Service, Wikidata, Wikibase (3rd party installations)
Superraptor123 added a comment to T308180: Can't Set CORS with Blazegraph, which is needed to communicate with Wikidata Query Service GUI on Localhost.

So I've pulled apart the logs of mvn install clean, mvn install, and mvn package in the ./wikidata-query-rdf directory, and it turns out that it is deleting the jetty-servlets-9.4.12.v20180830.jar in ./wikidata-query-rdf/war/target/blazegraph-service-0.3.111-SNAPSHOT/WEB-INF/lib, as indicated with the following trace output:

Mon, May 16, 2:03 AM · Wikidata-Query-Service, Wikidata, Wikibase (3rd party installations)

Sat, May 14

Superraptor123 added a comment to T308180: Can't Set CORS with Blazegraph, which is needed to communicate with Wikidata Query Service GUI on Localhost.

Attempted another solution, listed here, still no dice. This potential solution involved:

Sat, May 14, 2:24 PM · Wikidata-Query-Service, Wikidata, Wikibase (3rd party installations)

Fri, May 13

Superraptor123 added a comment to T308180: Can't Set CORS with Blazegraph, which is needed to communicate with Wikidata Query Service GUI on Localhost.

I tried one other potential solution, as listed here:

Fri, May 13, 10:06 PM · Wikidata-Query-Service, Wikidata, Wikibase (3rd party installations)
Superraptor123 added a comment to T308180: Can't Set CORS with Blazegraph, which is needed to communicate with Wikidata Query Service GUI on Localhost.

I have attempted to change each web.xml to include the following, but it still isn't functional (same errors):

Fri, May 13, 9:17 PM · Wikidata-Query-Service, Wikidata, Wikibase (3rd party installations)

Thu, May 12

Superraptor123 added a comment to T308180: Can't Set CORS with Blazegraph, which is needed to communicate with Wikidata Query Service GUI on Localhost.

Additional information: so when I copy and paste the URL http://localhost:9999/bigdata/sparql?query=SELECT%20*%20where%20%7B%3Fa%20%3Fb%20%3Fc%7D%20LIMIT%2010 into the browser, it spits out valid XML, it just doesn't when the request is made from the GUI, which results in a net::ERR_FAILED 200, which I believe is a CORS issue.

Thu, May 12, 11:29 PM · Wikidata-Query-Service, Wikidata, Wikibase (3rd party installations)

Wed, May 11

Superraptor123 updated the task description for T308180: Can't Set CORS with Blazegraph, which is needed to communicate with Wikidata Query Service GUI on Localhost.
Wed, May 11, 7:38 PM · Wikidata-Query-Service, Wikidata, Wikibase (3rd party installations)
Superraptor123 closed T307951: Issue with runUpdate.sh with local instance of Wikibase and Wikidata Query Service as Resolved.

For the most part, this is now resolved. Because I was tunneling into the instance remotely, I needed to use:

Wed, May 11, 7:36 PM · Wikidata, Wikidata-Query-Service, Wikibase (3rd party installations)
Superraptor123 created T308180: Can't Set CORS with Blazegraph, which is needed to communicate with Wikidata Query Service GUI on Localhost.
Wed, May 11, 7:31 PM · Wikidata-Query-Service, Wikidata, Wikibase (3rd party installations)

Mon, May 9

Superraptor123 created T307951: Issue with runUpdate.sh with local instance of Wikibase and Wikidata Query Service.
Mon, May 9, 6:06 PM · Wikidata, Wikidata-Query-Service, Wikibase (3rd party installations)

Mar 19 2021

Superraptor123 added a comment to T186161: What to do if the WDQS does not synchronise with Wikibase?.

@Addshore I'm confused by your link (https://doc.wikimedia.org/Wikibase/master/php/md_docs_topics_options.html#conceptBaseUri); so if I want to change the URIs from the default http://wikibase.svc/entity/Q39 to localhost:8181/entity/Q39, I do this by adding something to LocalSettings.php?

Mar 19 2021, 2:58 PM · wdwb-tech, Wikidata, Wikibase-Docker-2017+

Mar 18 2021

Superraptor123 added a comment to T186161: What to do if the WDQS does not synchronise with Wikibase?.

This is my current YAML (it still isn't working):

Mar 18 2021, 9:38 PM · wdwb-tech, Wikidata, Wikibase-Docker-2017+
Superraptor123 added a comment to T186161: What to do if the WDQS does not synchronise with Wikibase?.

Okay, wow I'm dumb. Running this inside the wikibase WDQS docker container made queries work:

Mar 18 2021, 7:46 PM · wdwb-tech, Wikidata, Wikibase-Docker-2017+
Superraptor123 added a comment to T186161: What to do if the WDQS does not synchronise with Wikibase?.

@Addshore so sorry to keep bothering, I'm just trying to make sure I'm following everything correctly.

Mar 18 2021, 6:44 PM · wdwb-tech, Wikidata, Wikibase-Docker-2017+
Superraptor123 added a comment to T186161: What to do if the WDQS does not synchronise with Wikibase?.

@Addshore yeah so I was so knee deep in errors, I deleted everything with my first try and attempted to use this Git directory instead: https://github.com/wmde/wikibase-docker/blob/master/README-compose.md

Mar 18 2021, 5:05 PM · wdwb-tech, Wikidata, Wikibase-Docker-2017+
Superraptor123 added a comment to T186161: What to do if the WDQS does not synchronise with Wikibase?.

@Addshore thank you so much for the response. I ended up deleting everything and attempted to follow a different set of Wikibase install instructions (except now post-load runUpdate.sh just runs forever (even though there is very little that I added to the database); localhost:8282 queries are stall forever.

Mar 18 2021, 3:19 PM · wdwb-tech, Wikidata, Wikibase-Docker-2017+

Mar 16 2021

Superraptor123 added a comment to T186161: What to do if the WDQS does not synchronise with Wikibase?.

@Addshore thank you so much for responding!

Mar 16 2021, 12:27 AM · wdwb-tech, Wikidata, Wikibase-Docker-2017+

Mar 11 2021

Restricted Application added a project to T186161: What to do if the WDQS does not synchronise with Wikibase?: wdwb-tech.

@Louperivois I've run into the issue of docker_compose_files_wdqs-updater_1 crashing and restarting constantly as well.

Mar 11 2021, 5:44 AM · wdwb-tech, Wikidata, Wikibase-Docker-2017+