question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cluster dies when started with Postgres

See original GitHub issue

Using Python 2.7.9, Django 1.8.4, Postgres 9.4.4, django-q 0.7.5 with the ‘orm’ broker.

  18:17:21 [Q] INFO Q Cluster-9399 starting.
  18:17:21 [Q] INFO Process-1:1 ready for work at 9404
  18:17:21 [Q] INFO Process-1:2 ready for work at 9405
  18:17:21 [Q] INFO Process-1:3 ready for work at 9406
  18:17:21 [Q] INFO Process-1:4 ready for work at 9407
  18:17:21 [Q] INFO Process-1 guarding cluster at 9402
  18:17:21 [Q] INFO Process-1:5 monitoring at 9408
  18:17:21 [Q] INFO Process-1:6 pushing tasks at 9409
  18:17:21 [Q] INFO Q Cluster-9399 running.
  18:17:21 [Q] ERROR SSL error: decryption failed or bad record mac

Disabling SSL in the database options gets

  18:24:07 [Q] INFO Q Cluster-9827 running.
  18:24:07 [Q] ERROR server closed the connection unexpectedly
      This probably means the server terminated abnormally
      before or while processing the request.

Django_q is part of INSTALLED_APPS, the DB migrated without a problem, I don’t see any output from the devserver - I’m not sure where to go from here.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
marcelolimacommented, Jan 20, 2020

@Koed00 I’m getting the same with the new version: 1.1.0 (with 1.0.2 it was working fine)

psycopg2.OperationalError: SSL error: decryption failed or bad record mac
0reactions
Koed00commented, Sep 29, 2015

No problem. Thanks for making the effort to report the problem. I will usually do a release at the end of my day in about 7 hours.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Pg install: "The database cluster initialisation failed"
1) Open the command prompt and go to the following directory. · 2) Once you are inside the "C:\Program Files\PostgreSQL\10\bin" directory execute the...
Read more >
postgres installation the database cluster initialization failed ...
First of all run the set-up as administrator. Choose the installation folder inside program files( default); But chose your data location ...
Read more >
PostgreSQL Cluster Guide 101: Easy Set-Up and How to ...
This article dives into how to set up a PostgreSQL cluster and the multiple options available to create a high availability environment in ......
Read more >
How do you stop PostgreSQL from starting a cluster under ...
To start a cluster manually you can use pg_ctlcluster <version> <name> . Renaming the old / new cluster. The PostgreSQL scripts work on...
Read more >
Documentation: 15: postgres - PostgreSQL
It does not reflect parameters supplied when the cluster was started. ... This option is for debugging problems that cause a server process...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found