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

Running functions-framework for HTTP cloud functions with https locally #193

Open
istrupin opened this issue Jun 30, 2022 · 3 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@istrupin
Copy link

Is there a way to run functions-framework locally using HTTPS? If this is using Flask under the hood would there be a way to expose the flask run --cert=adhoc parameter in the functions-framework command?

@jama22
Copy link
Contributor

jama22 commented Jul 27, 2022

Hi @istrupin, you're correct, we are using Flask underneath the hood. Unfortunately, we currently don't have plans to add local HTTPS testing to functions-framework.

@xSAVIKx
Copy link

xSAVIKx commented Aug 7, 2022

@jama22 is there any particular reason or just a lack of people to do that change? I guess someone from the community can jump in. It doesn't look like a heavy change at all.

@jama22
Copy link
Contributor

jama22 commented Aug 8, 2022

No particular reason @xSAVIKx ; it's definitely more the latter where our teams are currently focused on tasks that support the GCF 2nd Generation release, and also some efforts to improve the authoring of functions across all languages.

I think local development / local iteration of functions is a really important aspect of functions-framework. We'd definitely welcome a PR from the community. However, something we've been wary of is exposing features in a way that creates too much reliance on the Flask framework itself.

@josephlewis42 josephlewis42 added the enhancement New feature or request label Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants