Skip to content

Workers connection refused #773

Description

@malevitzch

This is probably the second time this has happened to me when trying to enter the "Manage workers" tab on a local installation. The problem persists until the containers are brought down and back up again.

Image
[py] Internal Server Error: /workers/                                                                            
[py] Traceback (most recent call last):                                                                          
[py]   File "/sio2/.venv/lib/python3.13/site-packages/django/core/handlers/exception.py", line 55, in inner      
[py]     response = get_response(request)                                                                        
[py]   File "/sio2/.venv/lib/python3.13/site-packages/django/core/handlers/base.py", line 197, in _get_response  
[py]     response = wrapped_callback(request, *callback_args, **callback_kwargs)                                 
[py]   File "/usr/local/lib/python3.13/contextlib.py", line 85, in inner                                         
[py]     return func(*args, **kwds)                                                                              
[py]   File "/sio2/oioioi/oioioi/base/permissions.py", line 134, in _wrapped_view                                
[py]     return view_func(request, *args, **kwargs)                                                              
[py]   File "/sio2/oioioi/oioioi/workers/views.py", line 47, in show_info_about_workers                          
[py]     workers_info = get_info_about_workers()                                                                 
[py]   File "/sio2/oioioi/oioioi/workers/views.py", line 17, in get_info_about_workers                           
[py]     return server.get_workers()                                                                             
[py]            ~~~~~~~~~~~~~~~~~~^^                                                                             
[py]   File "/usr/local/lib/python3.13/xmlrpc/client.py", line 1096, in __call__                                 
[py]     return self.__send(self.__name, args)                                                                   
[py]            ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^                                                                   
[py]   File "/usr/local/lib/python3.13/xmlrpc/client.py", line 1435, in __request                                
[py]     response = self.__transport.request(                                                                    
[py]         self.__host,                                                                                        
[py]     ...<2 lines>...                                                                                         
[py]         verbose=self.__verbose                                                                              
[py]         )                                                                                                   
[py]   File "/usr/local/lib/python3.13/xmlrpc/client.py", line 1140, in request                                  
[py]     return self.single_request(host, handler, request_body, verbose)                                        
[py]            ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                        
[py]   File "/usr/local/lib/python3.13/xmlrpc/client.py", line 1152, in single_request                           
[py]     http_conn = self.send_request(host, handler, request_body, verbose)                                     
[py]   File "/usr/local/lib/python3.13/xmlrpc/client.py", line 1265, in send_request                             
[py]     self.send_content(connection, request_body)                                                             
[py]     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^                                                             
[py]   File "/usr/local/lib/python3.13/xmlrpc/client.py", line 1295, in send_content                             
[py]     connection.endheaders(request_body)                                                                     
[py]     ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^                                                                     
[py]   File "/usr/local/lib/python3.13/http/client.py", line 1362, in endheaders                                 
[py]     self._send_output(message_body, encode_chunked=encode_chunked)                                          
[py]     ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                          
[py]   File "/usr/local/lib/python3.13/http/client.py", line 1122, in _send_output                               
[py]     self.send(msg)                                                                                          
[py]     ~~~~~~~~~^^^^^                                                                                          
[py]   File "/usr/local/lib/python3.13/http/client.py", line 1066, in send                                       
[py]     self.connect()                                                                                          
[py]     ~~~~~~~~~~~~^^                                                                                          
[py]   File "/usr/local/lib/python3.13/http/client.py", line 1032, in connect                                    
[py]     self.sock = self._create_connection(                                                                    
[py]                 ~~~~~~~~~~~~~~~~~~~~~~~^                                                                    
[py]         (self.host,self.port), self.timeout, self.source_address)                                           
[py]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                           
[py]   File "/usr/local/lib/python3.13/socket.py", line 868, in create_connection                                
[py]     raise exceptions[0]                                                                                     
[py]   File "/usr/local/lib/python3.13/socket.py", line 853, in create_connection                                
[py]     sock.connect(sa)                                                                                        
[py]     ~~~~~~~~~~~~^^^^                                                                                        
[py] ConnectionRefusedError: [Errno 111] Connection refused                                                      
[py] [25/Jun/2026 16:46:13] "GET /workers/ HTTP/1.1" 500 166726                                                  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions