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

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

Open
answerquest opened this issue Oct 15, 2018 · 3 comments

Comments

@answerquest
Copy link

@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
Copy link
Collaborator

batpad commented Oct 15, 2018

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:

  • We can definitely try setting up SSL again - configuring the SSL itself was not much of an issue, IIRC, but I don't think the bugs on Tasking Manager when running under https have been resolved.

  • If that doesn't work, we should look at upgrading to the new TM3 code-base at some point. If someone would have the bandwidth to look into it, I'm happy to try and support, but I don't think I have the bandwidth to take this on myself.

@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
Copy link
Member

@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
Copy link
Author

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.

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

3 participants