Accessing application via coder reverse proxy #7616
-
Hi Coder itself is working as normal - I can use the VScode IDE in the web browser, I can use the terminal etc.. However, I have setup an application in the template with the following config (which I copied from an example template for 'Matlab' - as I really didn't know what I was doing)
When I click on the link to the application in the workspace, the following error is shown
I don't understand why it is using that IPV6 address as I am not (intentionally) using IPV6. I will now try and describe my setup I have a linux machine running clear linux called 'devserver1'. This is where coder runs (inside docker) and all of my workspaces will run inside this docker instance. For my application router, I use 'traefik'. All of my workspaces have the relevant traefik labels added to the docker container to allow connection from inside my network on (workspace-name).devserver1 and is http only, not https (yet) Coder itself is also routed via traefik - this is the config from the docker-compose file that runs traefik
this means that develop.gdt-software-solutions.co.uk or any subdomain will route to coder. I am not using subdomains yet though. If you could give me some tips as to how I might find out exactly what is going wrong here, I would really appreciate it Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
What version of Coder are you using? We disallow public apps that aren't on a subdomain, but if it is this we're certainly giving you a bad error. |
Beta Was this translation helpful? Give feedback.
-
when you are not using a subdomain some This is a very old version and is not guaranteed to work. I ended up setting up a wildcard subdomain. |
Beta Was this translation helpful? Give feedback.
-
You need to set the |
Beta Was this translation helpful? Give feedback.
You need to set the
url
property ofcoder_app
to a url of typehttp://localhost:PORT