I have deployed my site in django in an Ubuntu droplet.
I have no problem with the deployment and everything seems to be in order. However, when I want to start a session, it does not persist, therefore I do not maintain the session. The service runs with supervisor, and in the tests removing it the problem continues.
In local tests in production environment this problem does not appear. Could it be some strange configuration or behavior of the droplet?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
I’ve had issues in the past with the SESSION_COOKIE_SECURE setting. See if it’s set to true, if it is, try to turn it off and see how it’s going, maybe the issue is caused by it just like in my case.