osm-in / osm-tasking-manager2

2.0 version of the Tasking Manager
http://tasks.openstreetmap.in
Other
2 stars 0 forks source link

Pink boundary not loading in OSM iD editor due to http / https blocking #14

Open answerquest opened 6 years ago

answerquest commented 6 years ago

@geohacker @batpad

Console log in OSM editor tab upon launching from tasking manager:

Mixed Content: The page at 'https://www.openstreetmap.org/edit?editor=id&#map=13/18.2252672941/73.7916905712&comment=%23hotosm-project-89%20%23rural-roads%20%23pune%20%23highway&gpx=http://tasks.openstreetmap.in/project/89/task/1543.gpx' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://tasks.openstreetmap.in/project/89/task/1543.gpx'. This request has been blocked; the content must be served over HTTPS.

I guess tasks.openstreetmap.in would have to get an SSL certificate to resolve this. Craig had mentioned in email that this issue seems to have come up with recent updates of web browsers, making the https requirement stricter.

batpad commented 6 years ago

Thanks for reporting, @answerquest

I guess tasks.openstreetmap.in would have to get an SSL certificate to resolve this.

From what I remember, when we last setup SSL for the site using letsencrypt, we got https working, but there were a number of things on the Tasking Manager that broke with https, and we had to roll back. I'm a bit worried that this (older) version of Tasking Manager we are running does not quite work correctly over HTTPS. And moving to the new Tasking Manager is potentially a bigger lift than we're able to do right now.

I see two options:

@geohacker please correct me if my memory is wrong - but I do remember setting up SSL for this, and then having to roll-back because of application-level errors with https. Do you know if they've been solved upstream?

geohacker commented 6 years ago

@answerquest thank you for the ticket.

@batpad yes, I do remember us setting up SSL and then running into problems with application requests. Looks like there's been a bunch of work to make TM2 work on https https://github.com/hotosm/osm-tasking-manager2/pulls?q=is%3Apr+is%3Aclosed - we could try to pull the latest code and setup SSL.

But I agree that we should just find some time and move to TM3.

answerquest commented 6 years ago

We've gotten project creating permissions on tasks.teachosm.org at our end, are using that to do activities this month, so no time pressure on this.