Skip to content
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

TypeError: _SSHCipher() takes no arguments #10865

Closed
rameshboje opened this issue Apr 22, 2024 · 7 comments
Closed

TypeError: _SSHCipher() takes no arguments #10865

rameshboje opened this issue Apr 22, 2024 · 7 comments
Labels
Stale waiting-on-reporter Issue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.

Comments

@rameshboje
Copy link

import docker
[Mon Apr 22 10:44:55.659523 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] File "/opt/django-project/myvenv/lib/python3.12/site-packages/docker/init.py", line 1, in
[Mon Apr 22 10:44:55.659531 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] from .api import APIClient
[Mon Apr 22 10:44:55.659538 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] File "/opt/django-project/myvenv/lib/python3.12/site-packages/docker/api/init.py", line 1, in
[Mon Apr 22 10:44:55.659545 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] from .client import APIClient
[Mon Apr 22 10:44:55.659552 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] File "/opt/django-project/myvenv/lib/python3.12/site-packages/docker/api/client.py", line 18, in
[Mon Apr 22 10:44:55.659559 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] from ..transport import UnixHTTPAdapter
[Mon Apr 22 10:44:55.659566 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] File "/opt/django-project/myvenv/lib/python3.12/site-packages/docker/transport/init.py", line 9, in
[Mon Apr 22 10:44:55.659574 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] from .sshconn import SSHHTTPAdapter
[Mon Apr 22 10:44:55.659581 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] File "/opt/django-project/myvenv/lib/python3.12/site-packages/docker/transport/sshconn.py", line 1, in
[Mon Apr 22 10:44:55.659588 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] import paramiko
[Mon Apr 22 10:44:55.659595 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] File "/opt/django-project/myvenv/lib/python3.12/site-packages/paramiko/init.py", line 22, in
[Mon Apr 22 10:44:55.659602 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] from paramiko.transport import (
[Mon Apr 22 10:44:55.659609 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] File "/opt/django-project/myvenv/lib/python3.12/site-packages/paramiko/transport.py", line 93, in
[Mon Apr 22 10:44:55.659616 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] from paramiko.dsskey import DSSKey
[Mon Apr 22 10:44:55.659623 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] File "/opt/django-project/myvenv/lib/python3.12/site-packages/paramiko/dsskey.py", line 25, in
[Mon Apr 22 10:44:55.659631 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] from cryptography.hazmat.primitives import hashes, serialization
[Mon Apr 22 10:44:55.659638 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] File "/opt/django-project/myvenv/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/init.py", line 25, in
[Mon Apr 22 10:44:55.659645 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] File "/opt/django-project/myvenv/lib/python3.12/site-packages/cryptography/hazmat/primitives/serialization/ssh.py", line 101, in
[Mon Apr 22 10:44:55.659653 2024] [wsgi:error] [pid 1630:tid 139725902394944] [remote 172.16.100.1:57158] TypeError: _SSHCipher() takes no arguments

@rameshboje
Copy link
Author

image

@alex
Copy link
Member

alex commented Apr 22, 2024

Please provide instructions for us to reproduce. There's nothing we can do with a 0 context stack trace.

@alex alex added the waiting-on-reporter Issue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply. label Apr 22, 2024
@rameshboje
Copy link
Author

Hi @alex I simply installed docker library and then installed cryptography-42.0.5 package., And then it is automatically coming the error., When I execute touch wsgi.py And hard reload It shows apache 500 error page., When I checked apache error logs it's showing the below error.,

"aes256-ctr": _SSHCipher(

TypeError: _SSHCipher() takes no arguments

@alex
Copy link
Member

alex commented Apr 23, 2024 via email

@alex
Copy link
Member

alex commented Apr 23, 2024

See #9988 for a past instance of this bug -- it indicated a system error of some sort.

Copy link

This issue has been waiting for a reporter response for 3 days. It will be auto-closed if no activity occurs in the next 5 days.

@github-actions github-actions bot added the Stale label Apr 27, 2024
Copy link

github-actions bot commented May 2, 2024

This issue has not received a reporter response and has been auto-closed. If the issue is still relevant please leave a comment and we can reopen it.

@github-actions github-actions bot closed this as completed May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Stale waiting-on-reporter Issue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.
Development

No branches or pull requests

2 participants