Page MenuHomePhabricator

wikibase-docker Quickstatements SSL error
Closed, ResolvedPublic

Description

Hi,
I just "docker-compose up" the wikibase-docker https://github.com/wmde/wikibase-docker/

The Quickstatement URL doesn't work : localhost:9191 complaining about "SSL error"

I found that a javascript loaded in the page is forcing to HTTPS :

Head of https://tools-static.wmflabs.org/magnustools/resources/vue/shared.js

// ENFORCE HTTPS
if (location.protocol != 'https:') location.href = 'https:' + window.location.href.substring(window.location.protocol.length);

This might be the cause. of the SSL error.

Anyway how can I "shoe horn" to resolve this issue with Docker ?

Thanks

Event Timeline

expressionlibre renamed this task from wikidata-docker Quickstatements SSL error to wikibase-docker Quickstatements SSL error.Oct 12 2018, 6:24 AM
expressionlibre updated the task description. (Show Details)
expressionlibre updated the task description. (Show Details)

It sounds like this shouldn't be so hardcoded in quickstatements.

Yes, this is a hack I put in for ToolForge. I should probably remove it. It can be removed without consequences, AFAICT.

It looks like this line is now commented out in the shared.js file in the docker image and linked to on tools-static above.

@expressionlibre is this now fixed for you if you pull the latest version of the image?

expressionlibre claimed this task.

Hi,
Thanks a lot: It works!