Replies: 6 comments 3 replies
-
Solved using Python 3.12.1, installed via Still not sure what was the problem |
Beta Was this translation helpful? Give feedback.
-
I've now also seen this independent of Flask. I have a django app that uses requests to retrieve data from another server that shows this same error. |
Beta Was this translation helpful? Give feedback.
-
Hi @truthdoug did you in the meanwhile find a solution? I am encountering the same issue (for Quart so a derivative of Flask) and have no clue what else I could still try... |
Beta Was this translation helpful? Give feedback.
-
I think I finally solved this by fully uninstalling homebrew (using homebrew's uninstaller) and then reinstalling necessary stuff. My hypothesis is that my homebrew binaries were transferred from a previous mac (using apple's transfer tool) with an M1 chip. Perhaps there was a binary incompatibility with the M2. By forcing a full reinstall, everything was compiled natively. |
Beta Was this translation helpful? Give feedback.
-
Don't know if it´s related, but i had a similar problem today, and in my case is due astral/uv python (it uses python-build-standalone) on fedora 40, here for more info. Couldn't make it work on python 3.10.15, but it works on 3.10.0 |
Beta Was this translation helpful? Give feedback.
-
For me the issue actually occured on Windows - in the end the only solution that worked was completely reinstalling python. Even for the virtual environments and explicitly telling to copy everything it still used the original python installation for some files - seems that it was somehow corrupted (although I do not know how, day before it was still working as a charm) |
Beta Was this translation helpful? Give feedback.
-
Hi, to be honest I'm not quite sure about this current situation is related with Flask or not.
I'm having this strange error
ssl.SSLError: unknown error (_ssl.c:3098)
when performing HTTP call to any https url from any route served by Flask, but the error is not happening when I perform the request directly outside Flask.I'm using Python 3.11.6 amd64, on Fedora 39.
this is my
pyproject.toml
:sample Flask application:
and this is the very same function call, but outside Flask application
full traceback as follows:
I found this stackoverflow post and tried the solution mentioned there to no success. the error still same: https://stackoverflow.com/a/77498109/3584892
could anyone give me hint where to start digging? or is there any other informations that I should add?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions