Skip to content

[Bug]: Unable to view the content of .ipynb Visual Studio Code (VSCode) files when accessed from a different machine. #6220

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

Closed
4 tasks done
thevedicdeveloper opened this issue May 18, 2023 · 2 comments
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer

Comments

@thevedicdeveloper
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: firefox, edge, google chrome
  • Local OS: macos
  • Remote OS: ubuntu-server
  • Remote Architecture: arm64
  • code-server --version:latest

Steps to Reproduce

  1. Open Visual Studio Code on one machine.
  2. Create or open a file in the editor.
  3. Save the file.
  4. Access the same file from a different machine using a network or cloud storage.
  5. Attempt to view the file content.

Expected

I should be able to view the content of the .ipynb file from a different machine, when I accessed the vscode container using the IP address of the machine which is running the vs code container.

Actual

I am able to see the vscode when accessed over the network, but is not able to view the content of the file.

Although I can see the cells in the outline section of the vscode (bottom left)

  • When accessing the vscode from the machine which is running the vscode container --> able to see the content of the file.
    Screenshot 2023-05-18 at 12 21 11 PM

  • when accessing the vscode from a different machine using ip address of the machine which is running the vscode container. ---> the file content is not visible on the editor, but we can see the content in the left side of the outline pannel
    Screenshot 2023-05-18 at 12 21 59 PM

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over HTTPS?

  • I am using HTTPS.

Notes

I have not tried in VS CODE and GitHub Codespaces.

Please let me know if I need to provide any other information

@thevedicdeveloper thevedicdeveloper added bug Something isn't working triage This issue needs to be triaged by a maintainer labels May 18, 2023
@benz0li
Copy link
Contributor

benz0li commented May 19, 2023

You are not using HTTPS. This is required for Jupyter notebooks.
ℹ️ Fully qualified domain name (FQDN) required, too. TLS for an IP is not sufficient.

HTTP only works for 127.0.0.1 / localhost.

Cross reference: #5475 (comment)

@BouarfaMahi
Copy link

fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage This issue needs to be triaged by a maintainer
Projects
None yet
Development

No branches or pull requests

4 participants