-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add https support to the app #38
Comments
Great, linking to publiclab/mapknitter#1191 as well! |
Hi @tech4GT i hope you're well! We got the Ruby exporter online at https://stable.mapknitter.org today; docs here: https://publiclab.org/wiki/mapknitter-cloud-exporter Next up will be connecting this one. I think SSL is still needed? |
Hi @jywarren Long time! Actually my health has not been the best, past few months. Sorry for that. Could you point me to some docs about setting up https on google cloud? I've done it on aws quite a few times but I can't seem to find the docs for google cloud. Do they have something like certificateManager? |
Oh gosh i'm sorry to hear that. Please don't worry about this if it's any distraction! My first inclination was to try https://34.74.118.242/api/v2/export/?url=http://mapknitter.org/maps/ceres--2/warpables.json&scale=30 but SSL on an IP address doesn't seem quite right: https://stackoverflow.com/questions/2043617/is-it-possible-to-have-ssl-certificate-for-ip-address-not-domain-name#2043645 I guess we need to run it at https://exportjs.mapknitter.org or something. One way to test this is to compare these two pages (say, swapping the export URL while running this locally, maybe?):
On looking closer i think this may be a question for @icarito -- I find this documentation on running SSL on a cluster in Google Cloud:
I will ask @icarito if this sounds familiar. Best wishes for your health and please don't worry about this unless you really want to. Sending ❤️ and glad to hear from you!! |
Input from @icarito --
|
Hi Jeff, thanks a lot for your wishes. I'll try my best to put in this work as soon as possible. I did go through this documentation but it looks like we would have to configure out exporter on a domain first, since to generate a certificate we need the domain that we'll be using. Anyway, would it be okay if we asked @icarito to help us on this since this uses a lot of stuff I'm not particularly familiar with. In any case I'll work my way through the documentation trying to make sense. 😊 |
I also found this article which documents the process pretty comprehensively! Also, could you please point me to our deployment on gcloud? Thanks! |
Hi, |
For now I've added a DNS entry at http://export-js.mapknitter.org/ |
Awesome! Thanks @icarito!! So testing would be at: |
Thanks a lot for your help @icarito 😊 |
Today I removed all deployment / services / ingresses related to this in our cluster, then went step by step thru https://cloud.google.com/kubernetes-engine/docs/how-to/managed-certs and still I get 502 server error from the external endpoint. I tried it without the ingress setup (just a load balancer) and it worked. Also the ingresses say backend services are UNHEALTHY whatever that means. I'll keep poking for solutions, sorry for the delay! |
Hi @jywarren I was trying out the export on |
Hi Varun,
I believe you are looking for this address? <http://34.107.200.136/>
It is erroring, let me know if you need me to look into it.
Regards,
Sebastian
El jue, 4 de jun de 2020 a las 08:50, Varun Gupta
<[email protected]> escribió:
… Hi @jywarren <https://github.com/jywarren> I was trying out the
export on http://34.74.118.242/api/v2/export/?url=. It does not load
though.. did we move the deployment?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABQYS7Q3NLV7CVI36DAERLRU67EZANCNFSM4KFS3YEQ>.
|
No description provided.
The text was updated successfully, but these errors were encountered: