azukaar / Cosmos-Server

☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
https://cosmos-cloud.io
Other
3.45k stars 119 forks source link

[BUG]: Code-Server container error #182

Closed DavidHur closed 8 months ago

DavidHur commented 8 months ago

What happened?

When it is installed then open the browser

What should have happened?

Pop up the message as below; An unexpected error occurred that requires a reload of this page. The workbench failed to connect to the server (Error: "//{{port}}.192.168.0.24:7205" cannot be parsed as a URL.) IMG_5211

How to reproduce the bug?

  1. Open the Code-Server browser
  2. Showing error message
  3. Then Click on reload button
  4. Reload again and error message popup again.

Relevant log output

2024-01-20 16:59:13
 File not found: /app/code-server/lib/vscode/extensions/git-base/dist/browser/extension.js
2024-01-20 16:59:13
 File not found: /app/code-server/lib/vscode/extensions/merge-conflict/dist/browser/mergeConflictMain.js
2024-01-20 16:59:20
 File not found: /app/code-server/lib/vscode/extensions/git-base/dist/browser/extension.js
2024-01-20 16:59:20
 File not found: /app/code-server/lib/vscode/extensions/merge-conflict/dist/browser/mergeConflictMain.js

Other details

No response

System details

azukaar commented 8 months ago

Can you go to the containers details in the servapp page and tell me what the env var look like please?

DavidHur commented 8 months ago
스크린샷 2024-01-22 오전 1 42 11

Thanks for your help and this is great!

azukaar commented 8 months ago

Unfortunately the app itself does not seem to support being proxied without a domain (using an IP/port). You can either

And optionally you can open a ticket with the original app to try to get it supported