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

when running on macos is error:ca key too small... #368

Open
lipaysamart opened this issue Nov 23, 2024 · 0 comments
Open

when running on macos is error:ca key too small... #368

lipaysamart opened this issue Nov 23, 2024 · 0 comments

Comments

@lipaysamart
Copy link

Describe the bug
I'm not sure what's going on, when I run krr simple...

To Reproduce
Steps to reproduce the behavior:

  1. krr simple

Desktop (please complete the following information):

  • System: MacOS Sequoia 15.1
  • K8s: 1.24
  • KRR Version: latest

Additional context

           WARNING  Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(397, '[SSL: CA_KEY_TOO_SMALL] ca key too small (_ssl.c:3917)'))':                        connectionpool.py:826
                    /api/v1/services?labelSelector=app.kubernetes.io%2Fname%3Dvmsingle                                                                                                                                                                         
           WARNING  Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(397, '[SSL: CA_KEY_TOO_SMALL] ca key too small (_ssl.c:3917)'))':                        connectionpool.py:826
                    /api/v1/services?labelSelector=app.kubernetes.io%2Fname%3Dvmsingle                                                                                                                                                                         
           WARNING  Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(397, '[SSL: CA_KEY_TOO_SMALL] ca key too small (_ssl.c:3917)'))':                        connectionpool.py:826
                    /api/v1/services?labelSelector=app.kubernetes.io%2Fname%3Dvmsingle                                                                                                                                                                         
           ERROR    An unexpected error occurred                                                                                                                                                                                                  runner.py:349
                    Traceback (most recent call last):                                                                                                                                                                                                         
                      File "urllib3/connectionpool.py", line 715, in urlopen                                                                                                                                                                                   
                      File "urllib3/connectionpool.py", line 404, in _make_request                                                                                                                                                                             
                      File "urllib3/connectionpool.py", line 1060, in _validate_conn                                                                                                                                                                           
                      File "urllib3/connection.py", line 419, in connect                                                                                                                                                                                       
                      File "urllib3/util/ssl_.py", line 418, in ssl_wrap_socket                                                                                                                                                                                
                    ssl.SSLError: [SSL: CA_KEY_TOO_SMALL] ca key too small (_ssl.c:3917)                                                                                                                                                                       
                                                                                                                                                                                                                                                               
                    During handling of the above exception, another exception occurred:                                                                                                                                                                        
                                                                                                                                                                                                                                                               
                    Traceback (most recent call last):                                                                                                                                                                                                         
                      File "robusta_krr/core/runner.py", line 342, in run                                                                                                                                                                                      
                      File "robusta_krr/core/runner.py", line 285, in _collect_result                                                                                                                                                                          
                      File "robusta_krr/core/runner.py", line 214, in _check_data_availability                                                                                                                                                                 
                      File "robusta_krr/core/runner.py", line 68, in _get_prometheus_loader                                                                                                                                                                    
                      File "robusta_krr/core/runner.py", line 57, in _get_prometheus_loader                                                                                                                                                                    
                      File "robusta_krr/core/integrations/prometheus/loader.py", line 37, in __init__                                                                                                                                                          
                      File "robusta_krr/core/integrations/prometheus/loader.py", line 64, in get_metrics_service                                                                                                                                               
                      File "robusta_krr/core/integrations/prometheus/metrics_service/prometheus_metrics_service.py", line 88, in __init__                                                                                                                      
                      File "robusta_krr/core/integrations/prometheus/metrics_service/victoria_metrics_service.py", line 20, in find_metrics_url                                                                                                                
                      File "robusta_krr/utils/service_discovery.py", line 74, in find_url                                                                                                                                                                      
                      File "robusta_krr/utils/service_discovery.py", line 30, in find_service_url                                                                                                                                                              
                      File "kubernetes/client/api/core_v1_api.py", line 18239, in list_service_for_all_namespaces                                                                                                                                              
                      File "kubernetes/client/api/core_v1_api.py", line 18346, in list_service_for_all_namespaces_with_http_info                                                                                                                               
                      File "kubernetes/client/api_client.py", line 348, in call_api                                                                                                                                                                            
                      File "kubernetes/client/api_client.py", line 180, in __call_api                                                                                                                                                                          
                      File "kubernetes/client/api_client.py", line 373, in request                                                                                                                                                                             
                      File "kubernetes/client/rest.py", line 241, in GET                                                                                                                                                                                       
                      File "kubernetes/client/rest.py", line 214, in request                                                                                                                                                                                   
                      File "urllib3/request.py", line 77, in request                                                                                                                                                                                           
                      File "urllib3/request.py", line 99, in request_encode_url                                                                                                                                                                                
                      File "urllib3/poolmanager.py", line 376, in urlopen                                                                                                                                                                                      
                      File "urllib3/connectionpool.py", line 829, in urlopen                                                                                                                                                                                   
                      File "urllib3/connectionpool.py", line 829, in urlopen                                                                                                                                                                                   
                      File "urllib3/connectionpool.py", line 829, in urlopen                                                                                                                                                                                   
                      File "urllib3/connectionpool.py", line 801, in urlopen                                                                                                                                                                                   
                      File "urllib3/util/retry.py", line 594, in increment                                                                                                                                                                                     
                    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='xxxxxxxx', port=6443): Max retries exceeded with url: /api/v1/services?labelSelector=app.kubernetes.io%2Fname%3Dvmsingle (Caused by SSLError(SSLError(397,                  
                    '[SSL: CA_KEY_TOO_SMALL] ca key too small (_ssl.c:3917)'))) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant