-
-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] psycopg-binary breaks TLS connections to Postgres #53
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
I've also identified a possible fix: removing After uninstalling with This appears to be a side effect of how
In order to support this fairly common use-case of secure TLS connections we may have to remove |
After some testing it looks like uninstalling I added this to pip uninstall -y psycopg-binary |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
Look like they've removed the binary package from requirements netbox-community/netbox@93c9f8c Is this still an issue that you're seeing? |
That change seems to have resolved the issue. We've been running the stock run script on Netbox 4 for a little while now. |
Is there an existing issue for this?
Current Behavior
rqworker
crashes due to segmentation faults when processing requests:Expected Behavior
rqworker
should not segfault 😆Steps To Reproduce
HOME=.
in a env var sincelibpq
will look for CA certs in~/.postgresql/root.crt
by default and will fail since/root/.postgresql/root.crt
is not accessable to theabc
user thatuwsgi
and it's children run as.configuration.py
to securely connect to Postgres like so:rqworker
has startedEnvironment
CPU architecture
x86-64
Docker creation
Snippet from
docker-compose.yml
:Excerpt from
configuration.py
:netbox.env
:Container logs
The text was updated successfully, but these errors were encountered: