Opened 10 years ago

Closed 10 years ago

#23942 closed Bug (wontfix)

fastcgi with fork method got db error

Reported by: SmiteChow Owned by: nobody
Component: Core (Other) Version: 1.6
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

we use sqlalchemy + postgres in our app.

when we start server on fastcgi model with fork method, the db connection got error:SSL error: decryption failed or bad record mac

but, if we use fastcgi with thread method, everything is fine.

so, i guess there must a issue on django.

i initialnize my db connection in middleware class that design with singleton model.

sorry about my poor english.

Change History (1)

comment:1 by Tim Graham, 10 years ago

Resolution: wontfix
Status: newclosed

I am not familiar with FastCGI, but we've deprecated support for it starting in Django 1.7 so I think there will be little interest in fixing this issue (assuming the problem is indeed in Django). Hopefully deploying your project using WSGI will fix your issue.

Note: See TracTickets for help on using tickets.
Back to Top