flet icon indicating copy to clipboard operation
flet copied to clipboard

Help on how to access HTTP web views instead of HTTPS bug

Open hanchenglong001 opened this issue 1 year ago • 1 comments

Android use webview Error accessing HTTP service How to support HTTP access and ignore SSL errors?

hanchenglong001 avatar Apr 24 '24 02:04 hanchenglong001

I started a Flask program in Fleet and used the Fleet UI to access it. But the Flask program is HTTP. I tried using the following method to start Flask and access HTTPS, but it still didn't work.

def run_flask_in_thread(): print("Starting Flask in thread...") ssl_context = ('assets/aaa.pem', 'assets/aaa-key.pem') app.run(host='0.0.0.0',port=5448,ssl_context=ssl_context)

hanchenglong001 avatar Apr 24 '24 09:04 hanchenglong001

Please use correct template to submit the issue.

FeodorFitsner avatar Apr 28 '24 17:04 FeodorFitsner