miguelgrinberg / Flask-SocketIO

Socket.IO integration for Flask applications.
MIT License
5.36k stars 890 forks source link

Option to redirect http to https instead of raising errors #2002

Closed Ashenguard closed 9 months ago

Ashenguard commented 1 year ago

Is your feature request related to a problem? Please describe. Every time I check my server logs for potential issues... I find SSL errors spamming it.

Describe the solution you'd like I would like to remove them from logging... If I can redirect users to https too it would be great!

Describe alternatives you've considered In my searches, I found Flask-SSLify, which works fine with Flask. But unfortunately, there is no support for Flask-SocketIO

miguelgrinberg commented 1 year ago

I'm not sure I understand. This package is not a web server and has nothing to do with SSL. The errors that you get are coming from your web server I think, so that is where your request should be directed.