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

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

Open
yoge1 opened this issue Jun 29, 2022 · 2 comments
Open

Comments

@yoge1
Copy link

yoge1 commented Jun 29, 2022

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).

@markwilkinson
Copy link

+1

@markwilkinson
Copy link

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!

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

2 participants