Skip to content

Unable to connect to WSGI daemon process #929

@Srushtipatilp9

Description

@Srushtipatilp9

Hi,
I am currently facing an issue with the WSGI daemon process connection. The WSGI file created on the server and all required Python packages being installed are in the attachment for reference. But the application is not functioning as expected and is throwing 50X errors frequently.

python packages.txt

wsgi.txt

Please find the error logs below for reference:

`2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636700 2025] [wsgi:error] [pid 25398:tid 26174] self._conn.request("POST", "v0.7/config", payload, self._headers) [Tue Mar 25 03:40:06.636700 2025] [wsgi:error] [pid 25398:tid 26174] self._conn.request("POST", "v0.7/config", payload, self._headers)
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636708 2025] [wsgi:error] [pid 25398:tid 26174] File "/usr/lib64/python3.7/http/client.py", line 1281, in request
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636715 2025] [wsgi:error] [pid 25398:tid 26174] self._send_request(method, url, body, headers, encode_chunked)
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636723 2025] [wsgi:error] [pid 25398:tid 26174] File "/usr/lib64/python3.7/http/client.py", line 1327, in _send_request
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636729 2025] [wsgi:error] [pid 25398:tid 26174] self.endheaders(body, encode_chunked=encode_chunked)
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636735 2025] [wsgi:error] [pid 25398:tid 26174] File "/usr/lib64/python3.7/http/client.py", line 1276, in endheaders
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636741 2025] [wsgi:error] [pid 25398:tid 26174] self._send_output(message_body, encode_chunked=encode_chunked)
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636747 2025] [wsgi:error] [pid 25398:tid 26174] File "/usr/lib64/python3.7/http/client.py", line 1036, in _send_output
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636754 2025] [wsgi:error] [pid 25398:tid 26174] self.send(msg)
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636760 2025] [wsgi:error] [pid 25398:tid 26174] File "/usr/lib64/python3.7/http/client.py", line 976, in send
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636766 2025] [wsgi:error] [pid 25398:tid 26174] self.connect()
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636771 2025] [wsgi:error] [pid 25398:tid 26174] File "/usr/lib64/python3.7/http/client.py", line 948, in connect
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636778 2025] [wsgi:error] [pid 25398:tid 26174] (self.host,self.port), self.timeout, self.source_address)
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636783 2025] [wsgi:error] [pid 25398:tid 26174] File "/usr/lib64/python3.7/socket.py", line 728, in create_connection
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636790 2025] [wsgi:error] [pid 25398:tid 26174] raise err
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636796 2025] [wsgi:error] [pid 25398:tid 26174] File "/usr/lib64/python3.7/socket.py", line 716, in create_connection
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636802 2025] [wsgi:error] [pid 25398:tid 26174] sock.connect(sa)
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.636808 2025] [wsgi:error] [pid 25398:tid 26174] ConnectionRefusedError: [Errno 111] Connection refused
  2025-03-25T03:40:06.000Z[Tue Mar 25 03:40:06.014205 2025] [wsgi:error] [pid 31924:tid 31924] (2)No such file or directory: [client 10.116.0.150:61886] mod_wsgi (pid=31924): Unable to connect to WSGI daemon process 'revo6004dompe' on '/run/httpd/wsgi.22725.0.5.sock' as user with uid=48.`

Could you please help investigate the issue and provide guidance on resolving it?
Please help to verify the wsgi content as well created on the server.

Let me know if you need any additional details from my end.

Thanks,
Srushti Patil

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions