The API sandbox for ORES sends requests over HTTP instead of HTTPS and doesn't work because of this. Happens on Safari 10 on OS X, not sure if it's browser specific.
Description
Details
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Change swagger scheme to SSL | mediawiki/services/ores/deploy | master | +1 -0 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Ladsgroup | T167223 Early June 2017 ORES prod deploy | |||
| Resolved | Ladsgroup | T162184 ORES swagger doc based API requests do not work |
Event Timeline
I think the problem here is that we detect the protocol used in the URL and set that to the protocol available in swagger. For some reason, we get http even when the request is https. This is probably due to varnish or some other weird intermediary.
You're right, but I think we'll still have the http/https problem after this gets merged.
I've pulled this task back into review because I'd like to see it deployed and working before we declare victory.
Confirmed that the sandbox still doesn't work. It's making requests to the http and that's not returning data.
For me it works: https://ores.wikimedia.org/v1, https://ores.wikimedia.org/v2, https://ores.wikimedia.org/v3. What am I doing wrong?
Change 357331 had a related patch set uploaded (by Ladsgroup; owner: amir):
[mediawiki/services/ores/deploy@master] Change swagger scheme to SSL
Change 357331 merged by Halfak:
[mediawiki/services/ores/deploy@master] Change swagger scheme to SSL