Closed Daniel-Mietchen closed 4 months ago
It seems to be blocked due to wrong CORS headers.
Quellübergreifende (Cross-Origin) Anfrage blockiert: Die Gleiche-Quelle-Regel verbietet das Lesen der externen Ressource auf https://portal.mardi4nfdi.de/w/api.php?origin=*&action=wbsearchentities&format=json&limit=50&continue=0&language=de&uselang=de&search=P31&type=property. (Grund: CORS-Kopfzeile 'Access-Control-Allow-Origin' fehlt). Statuscode: 200.
A quick workaround is to install (and enable https://addons.mozilla.org/en-US/firefox/addon/cors-everywhere/ ) At least this works for me.
@eloiferrer can you maybe look for a general solution?
I think this is a problem with our docker configuration. At the beginning of mardi, I spent already some time trying to fix it but did not succeed. I will have a look again. Just for reference, the issue was also described here: https://github.com/MaRDI4NFDI/portal-compose/issues/35 https://phabricator.wikimedia.org/T299067
Sorry, I wanted to reference this in a PR but not to close it. I am no deploying to staging for testing
Now, it works on staging. I'll try to deploy it to production.
works now
@physikerwelt The problem has returned a few days ago - not sure what the trigger was.
Not sure what is going on, just wanted to note that it works in staging https://query.staging.mardi4nfdi.org/ which in principle uses the same exact configuration
In production, I see a 502 for https://query.portal.mardi4nfdi.de/proxy/wikibase/w/api.php?origin=*&action=query&meta=siteinfo&format=json&siprop=languages On staging, I see no examples (which were there before). I always used the cat example for testing.
I fixed this a couple weeks ago but I was waiting for a new deployment to see if it would break. Since it is still working after the deployment from yesterday I consider this tentatively solved.
New feature description in words:
When hovering over Wikibase identifiers in other instances, the user is given a tooltip displaying the corresponding label, e.g. as shown here:
TODOS:
Considered Alternatives:
Checklist for this issue: