-
-
Notifications
You must be signed in to change notification settings - Fork 22
Closed as not planned
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
Trying tp get two images from linuxserver for remote access. With no luck getting the
"An unexpected error occurred that requires a reload of this page.
The workbench failed to connect to the server (Error: WebSocket close with status code 1006)"
Below left the comments in config files to see what i've tried
Expected Behavior
No response
Steps To Reproduce
Docker compose SWAG
services:
swag:
container_name: nginx
image: linuxserver/swag
cap_add:
- NET_ADMIN
environment:
- PUID=1000
- PGID=1000
- URL=domain.com
- SUBDOMAINS=wildcard
- VALIDATION=dns
- DNSPLUGIN=cloudflare
- EMAIL=my email #optional
volumes:
- ./config:/config
ports:
- 443:443
- 80:80 #optional
restart: unless-stopped
docker compose VSCODE
services:
vscode:
container_name: vscode
image: linuxserver/code-server:latest
volumes:
- /Hass/config:/config:/home/coder/project
- /Hass/config/cs:/home/coder/.local/share/code-server
ports:
- "8443:8443"
environment:
- PUID=116
- PGID=812
- HOMEASSISTANT_URL=https://xxx
- HOMEASSISTANT_TOKEN=xxx
- DEFAULT_WORKSPACE=/home/coder/project
- PROXY_DOMAIN=vsc.domain.com
restart: unless-stopped
Site config Nginx
map $http_upgrade $connection_upgrade
{
default upgrade;
'' close;
}
server
{
listen 443 ssl;
listen [::]:443 ssl;
server_name vsc.domain.com
include /config/nginx/ssl.conf;
client_max_body_size 0;
location /
{
auth_basic "Restricted";
auth_basic_user_file /config/nginx/.htpasswd;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection upgrade;
# proxy_set_header Accept-Encoding gzip;
# proxy_set_header Origin https://$host;
# proxy_set_header Host $host;
# proxy_set_header X-Forwarded-For $remote_addr;
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app vscode internal ip;
set $upstream_port 8443;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
Environment
- OS:
- How docker service was installed:CPU architecture
x86-64
Docker creation
Mentioned aboveContainer logs
Applicable
File not found: /app/code-server/lib/vscode/extensions/merge-conflict/dist/browser/mergeConflictMain.js
File not found: /app/code-server/lib/vscode/extensions/git-base/dist/browser/extension.js
File not found: /app/code-server/lib/vscode/extensions/merge-conflict/dist/browser/mergeConflictMain.js
File not found: /app/code-server/lib/vscode/node_modules/vsda/rust/web/vsda_bg.wasm
File not found: /app/code-server/lib/vscode/node_modules/vsda/rust/web/vsda.jsMetadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done