dendronhq / dendron

The personal knowledge management (PKM) tool that grows as you do!
https://wiki.dendron.so
Apache License 2.0
6.52k stars 247 forks source link

Can not preview note in vscode.dev via tunnel #3965

Open SimonHaas opened 7 months ago

SimonHaas commented 7 months ago

Please select the area your bug applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

Describe the bug

When using vscode.dev via a tunnel, notes can not be previewed.

To Reproduce

Steps to reproduce the behavior:

  1. Run code tunnel
  2. Authenticate your tunnel
  3. Open your tunnel in vscode.dev
  4. Open Network via F12
  5. Try to preview a note

Expected behavior

A clear and concise description of what you expected to happen.

The expected behavior is to see a preview of the note.

Screenshots

If applicable, add screenshots to help explain your problem.

grafik

Desktop (please complete the following information)

Version: 1.84.2 Commit: 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e Datum: 2023-11-09T10:53:00.082Z (Vor 2 Woche(n)) Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0 dendron v0.124.0 Dendron Paste Image v1.1.1 Dendron Markdown Shortcuts v0.12.1 Dendron Snippet Maker v0.1.6

Additional context

Add any other context about the problem here.

The Plugin Dendron Markdown Preview Enhanced does not work at all.

Dendron Log file

Please attach the output of > Dendron:Dev: Open Logs here

{"level":30,"time":1700821351898,"pid":18593,"hostname":"ctvscode","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":[]}
{"level":30,"time":1700821351899,"pid":18593,"hostname":"ctvscode","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1700821351918,"pid":18593,"hostname":"ctvscode","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["/root/projects/athena/notes/test.md"]}
{"level":30,"time":1700821351920,"pid":18593,"hostname":"ctvscode","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1700821351980,"pid":18593,"hostname":"ctvscode","name":"dendron","ctx":"WindowWatcher:onDidChangeActiveTextEditor","editor":"/root/projects/athena/notes/test.md"}
{"level":30,"time":1700821352078,"pid":18593,"hostname":"ctvscode","name":"dendron","ctx":"updateDecorations","msg":"decorating...","payload":{"decorationsLength":2,"diagnosticsLength":0}}
{"level":30,"time":1700821353477,"pid":18593,"hostname":"ctvscode","name":"dendron","ctx":"dendron.togglePreview:run","msg":"pre-execute"}
{"level":30,"time":1700821353642,"pid":18593,"hostname":"ctvscode","name":"dendron","ctx":"dendron.togglePreview:run","msg":"post-execute"}
{"level":30,"time":1700821356774,"pid":18593,"hostname":"ctvscode","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":[]}
{"level":30,"time":1700821356776,"pid":18593,"hostname":"ctvscode","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
{"level":30,"time":1700821356778,"pid":18593,"hostname":"ctvscode","name":"dendron","ctx":"WindowWatcher:onDidChangeVisibleTextEditors","editorPaths":["/root/.vscode-server/data/logs/20231124T090215/exthost10/dendron.dendron/dendron.log"]}
{"level":30,"time":1700821356780,"pid":18593,"hostname":"ctvscode","name":"dendron","ctx":"refreshBacklinksChangeActiveTextEditor"}
MrEnigmamgine commented 4 months ago

I have a similar issue that is probably related. When installing the dendron extension in a github codespace and attempting to go through the tutorial, the rendered markdown preview fail to display and instead shows this error:

{"fileName":"https://vscode-remote+codespaces-002bturbo-002dspace-002dwinner-002d4qvjp5qxrxcpp.vscode-resource.vscode-cdn.net/home/codespace/.vscode-remote/extensions/dendron.dendron-0.124.0/dist/static/js/index.bundle.js","lineNumber":2,"columnNumber":1489453,"message":"Network Error","config":{}}

image