ssl.SSLEOFError: EOF occurred in violation of protocol

hi all,

ive made a flask-wtf web form and in the console sometimes, i sometimes get this error

ssl.SSLEOFError: EOF occurred in violation of protocol (_ssl.c:2406)

i only get it when i keep on pressing f5 ie refresh on the form, when i just click and release f5 over and over again i dont

i know you wouldnt normally keep on pressing f5 down but im just checking different scenarios

thanks,
rob

ok ive read this

and ive done

ssl_context='adhoc'

and also trying to install a self signed cert, both methods work fine as i can access the web page via https but i still get that error when i keep on holding f5