Yasgui icon indicating copy to clipboard operation
Yasgui copied to clipboard

502 Bad Gateway when querying a HTTP endpoint on https://yasgui.triply.cc

Open yoge1 opened this issue 2 years ago • 2 comments

When using the service https://yasgui.triply.cc, a SPARQL query to a HTTP endpoint, e.g. http://dbpedia.org/sparql gives a 502 Bad Gateway error.

(We also get the Mixed Content error in the browser's console for the ASK query Yasgui makes when inputing the SPARQL endpoint URL, which causes Yasgui to use its CORS proxy. This implies that we shouldn't use an HTTP endpoint when using Yasgui via HTTPS.)

This can be worked around by using a HTTPS endpoint (if there's one available), but it would be nice to support queries to HTTP endpoints as we have previously created Yasgui short links for such queries (which don't function anymore due to this problem).

yoge1 avatar Jun 29 '22 10:06 yoge1

+1

markwilkinson avatar Sep 25 '22 13:09 markwilkinson

I get the same bad gateway error even if I proxy the sparql endpoint. It works in other Web-based SPARQL environments (e.g. it works in Virtuoso's SPARQL editor), and it works from code libraries, but YASGUI throws the 502 error with the same endpoint and same query, whether it is http or https. Very frustrating!

markwilkinson avatar Sep 25 '22 14:09 markwilkinson