Error 8 while writing to socket. EOF occurred in violation of protocol

SOFs_json = serializers.serialize('json', SOFs)
r.set("sof_" + str(userid), SOFs_json)
# ConnectionError at /service_orders/

Error 8 while writing to socket. EOF occurred in violation of protocol (_ssl.c:2396).

|Request Method:|GET|
| --- | --- |
|Request URL:|http://localhost:8000/service_orders/|
|Django Version:|4.2.13|
|Exception Type:|ConnectionError|
|Exception Value:|Error 8 while writing to socket. EOF occurred in violation of protocol (_ssl.c:2396).|

SOFs_json string is approx 5.42 MB - what am I supposed to watch out for ?

What is trying to use SSL?

The incoming request is http, not https, so there shouldn’t be any ssl involved here.

Since I’m on Windows, I’m using upstash.io for testing which requires SSL connection.