Uploaded image for project: 'Red Hat OpenShift AI Engineering'
  1. Red Hat OpenShift AI Engineering
  2. RHOAIENG-234

Unable to view .ipynb files in VSCode on Google Chrome in Insecured cluster

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Can't Do
    • Icon: Critical Critical
    • None
    • RHOAI_2.6.0
    • IDE
    • False
    • Hide

      None

      Show
      None
    • False
    • Release Notes
    • Hide
      When you use the code-server notebook image on Google Chrome in an insecure cluster, you cannot view .ipynb files.

      Workaround
          Use a different browser.
      Show
      When you use the code-server notebook image on Google Chrome in an insecure cluster, you cannot view .ipynb files. Workaround     Use a different browser.
    • Known Issue
    • Done
    • RHOAI IDE 2.5 Extended

      What steps did you take and what happened:

      Unable to view `.ipynb` files in vscode in Insecured cluster.

      Steps to reproduce:

      1. Login to an insecured cluster (example: OSIA)
      2. Start a vscode notebook.
      3. Create a file `sample.ipynb`
      4. You will see the following error after certain amount of loading time:

      Could not initialize webview: Error: Could not register service worker: SecurityError: Failed to register a ServiceWorker for scope 
      ('https://vscode-test.apps.hnalla.dev.datahub.redhat.com/vscode/stable-
      2ccd690cbff1569e4a83d7c43d45101f817401dc/static/out/vs/workbench/contrib/webview/browser/pre/') with script 
      ('https://vscode-test.apps.hnalla.dev.datahub.redhat.com/vscode/stable-
      2ccd690cbff1569e4a83d7c43d45101f817401dc/static/out/vs/workbench/contrib/webview/browser/pre/service-worker.js?
      v=4&vscode-resource-base-authority=vscode-resource.vscode-cdn.net&remoteAuthority=vscode-
      test.apps.hnalla.dev.datahub.redhat.com'): An SSL certificate error occurred when fetching the script..}
      

      What did you expect to happen:

      Anything else you would like to add:

      [Miscellaneous information that will assist in solving the issue.]

      Environment:

      • OpenDatahub Version: (please check the operator version)
      • Workbench: (all, data-science, etc)
      • Workbench Version: (2023.1, etc)
      • Specific tool: (jupyterlab, rstudio, vscode, elyra-pipelines,etc)
      • Notebook-Controller Version: (please check the image version in notebook-controller deployment)

        1. screenshot-9.png
          85 kB
          Jiri Daněk
        2. screenshot-8.png
          47 kB
          Jiri Daněk
        3. screenshot-7.png
          93 kB
          Jiri Daněk
        4. screenshot-6.png
          85 kB
          Jiri Daněk
        5. screenshot-5.png
          95 kB
          Jiri Daněk
        6. screenshot-4.png
          53 kB
          Jiri Daněk
        7. screenshot-3.png
          67 kB
          Jiri Daněk
        8. screenshot-2.png
          83 kB
          Jiri Daněk
        9. screenshot-12.png
          113 kB
          Jiri Daněk
        10. screenshot-11.png
          50 kB
          Jiri Daněk
        11. screenshot-10.png
          68 kB
          Jiri Daněk
        12. screenshot-1.png
          70 kB
          Jiri Daněk
        13. new-tab-expected-http.png
          26 kB
          Jiri Daněk
        14. first-cell-run.png
          51 kB
          Jiri Daněk
        15. bottom-right-popup.png
          15 kB
          Jiri Daněk

            Unassigned Unassigned
            aparedes@redhat.com Adriel Paredes
            Adriana Theodorakopoulou, Harshad Reddy Nalla
            RHOAI IDE
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: