C
Coder.com5mo ago
Pyenb

Code-server frequent 404 errors via CF Tunnels

Hi, I tried setting up a code-server instance via Docker and exposing it to the internet via CF Tunnels. But now I have the problem that the page only loads about 10% of the time, if at all, on the other occassions, it just throws me a bunch of 404 errors in the console. Any ideas?
No description
17 Replies
Codercord
Codercord5mo ago
Codercord
Codercord5mo ago
<#1371729656453005342>
Category
Help needed
Product
code-server
Platform
Linux
Logs
Please post any relevant logs/error messages.
Pyenb
PyenbOP5mo ago
compose:
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- HASHED_PASSWORD=xxx
- PROXY_DOMAIN=code.pyenb.network #optional
- DEFAULT_WORKSPACE=/Projects #optional
volumes:
- ./config:/config
- /home/xxx/Projects:/Projects
ports:
- 8443:8443
restart: unless-stopped
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Berlin
- HASHED_PASSWORD=xxx
- PROXY_DOMAIN=code.pyenb.network #optional
- DEFAULT_WORKSPACE=/Projects #optional
volumes:
- ./config:/config
- /home/xxx/Projects:/Projects
ports:
- 8443:8443
restart: unless-stopped
Pyenb
PyenbOP5mo ago
Also sometimes getting this error about nls
No description
Pyenb
PyenbOP5mo ago
Linuxserver.io version: 4.100.0-ls271
Build-date: 2025-05-12T18:54:00+00:00
Linuxserver.io version: 4.100.0-ls271
Build-date: 2025-05-12T18:54:00+00:00
I am not sure what it is, as I was having simmilar problems with coder itself (https://discord.com/channels/747933592273027093/1371064755615305828/1371237468279668838) But every all the services I expose over CF Tunnels work just fine Also ofc no errors in the container logs or anything
ÙwÚ
ÙwÚ5mo ago
I'm running coder here under CF tunnel, and it runs fine for me What your config looks like?
Pyenb
PyenbOP5mo ago
What config? It's a clean install with nothing configured except the docker compose and the CF DNS entry But might be uninteresting for now, my router apparrently died, so I can't access anything rn anyways
ÙwÚ
ÙwÚ5mo ago
oops my bad, I thought you were running coder dont know about coder-server
Pyenb
PyenbOP5mo ago
ÙwÚ
ÙwÚ5mo ago
for debugging that coder-server, i think you'll have a better luck in linuxserver discord, find them at linuxserver io i think ? I post the link to the server result in a timeout lol
ÙwÚ
ÙwÚ5mo ago
but ye if you use their image then ask it there
No description
Pyenb
PyenbOP5mo ago
Yeah maybe, I'll see
Phorcys
Phorcys5mo ago
@Pyenb closing this one in favor of https://discord.com/channels/747933592273027093/1371064755615305828 so to keep all the info in one place we own code-server so this Discord is as appropriate as it gets :-)
Codercord
Codercord5mo ago
@Phorcys closed the thread.
ÙwÚ
ÙwÚ5mo ago
Oh lol, I always thought that code-server is microsoft things 🤣
Pyenb
PyenbOP5mo ago
Honestly, same haha
Phorcys
Phorcys5mo ago
Microsoft has VSCode Web, which is a different thing but admittedly pretty similar code-server came way before Microsoft supported it and we were just patching VSCode to run on the web

Did you find this page helpful?