how to make the "Error loading webview: Service Workers are not enabled in browser. Webviews will not work." not show again #2821
              
                
                  
                  
                    Answered
                  
                  by
                    code-asher
                  
              
          
                  
                    
                      shangguandong1996
                    
                  
                
                  asked this question in
                Q&A
              
            -
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            code-asher
          
      
      
        Mar 5, 2021 
      
    
    Replies: 1 comment 3 replies
-
| The only way to prevent the error from appearing is to fix the error. It's most likely caused by using an insecure context so using HTTPS would fix it (even a self-signed certificate will work which code-server can generate for you). | 
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            
      Answer selected by
        shangguandong1996
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
The only way to prevent the error from appearing is to fix the error. It's most likely caused by using an insecure context so using HTTPS would fix it (even a self-signed certificate will work which code-server can generate for you).