Stephen
Explore posts from serversHHASS.Agent
•Created by Stephen on 6/23/2024 in #💬・get-help
Setting Up Notifications
That could be why its wasn't working 🥲, I do not have an MQTT broker installed. I checked out the following article https://everythingsmarthome.co.uk/how-to-install-an-mqtt-broker-mosquitto-install-config-on-debian-ubuntu-mint-fedora-raspbian/ however I am unsure whether this would work since my home assistant instance is running within a docker container. That's why I originally was opting for the local API as all I need is notifications, not any of the other features which require MQTT.
14 replies
HHASS.Agent
•Created by Stephen on 6/23/2024 in #💬・get-help
Setting Up Notifications
no the computer will never leave the local network. I am just referring to the 2fa I have enabled on home assistant, since when I entered my home assistant username and password to setup mqtt it failed and never asked for a 2fa code. I think I just don’t understand what credentials it needs or how it functions.
14 replies
HHASS.Agent
•Created by Stephen on 6/23/2024 in #💬・get-help
Setting Up Notifications
Yes I did perform port reservation, I wasn't sure how mqtt works especially considering 2fa
14 replies
CCoder.com
•Created by SpraY on 5/2/2024 in #help
How to use experimental port sharing
I am assuming you didn't mean to @me and instead the coder team member Steven!
18 replies
CCoder.com
•Created by Stephen on 4/27/2024 in #help
Unable To Use DERP On Cloudflare Tunnel
ok, thank you everyone for your help (:
18 replies
CCoder.com
•Created by Stephen on 4/27/2024 in #help
Unable To Use DERP On Cloudflare Tunnel
Indeed, I am primarily using public hostnames, the private network is only used in one special case. So it sounds as if the UDP protocol isn’t supported when using public hostnames on cloudflare tunnels, hence Coder cannot use DERP and defaults to using web sockets. Is that essentially what you are saying?
18 replies
CCoder.com
•Created by Stephen on 4/27/2024 in #help
Unable To Use DERP On Cloudflare Tunnel
Not quite, I have setup a docker container running 'cloudflared' using a tunnel token generated from Cloudflares zero trust dashboard connected to my domain. This docker container is connected to a virtual docker network named 'backend' on my home server, which has all other containers which need access to the tunnel added to it including Coder. Inside the Zero Trust dashboard I have configured the necessary DNS records for these services, with coder this is *.mydomain.com -> http://Coder:7080, which is the name of the Coder container on the 'backend' network. The public hostnames are ordered so that the wildcard is the last record which catches all requests to subdomains which aren't configured, as a result this lets me use workspace port forwarding while also not having to purchase the advanced SSL certificate from cloudflare which is required for 3rd level domains on the cloudflare network e.g. WorkspacePort.coder.mydomain.com. I hope that all makes sense, if you need any clarification about anything just let me know (:
18 replies
CCoder.com
•Created by Stephen on 4/27/2024 in #help
Unable To Use DERP On Cloudflare Tunnel
I can do, but I feel as if this is a cloudflare issue or even maybe a configuration issue, not a bug with coder. But if you think it’s helpful for the development of coder I can
18 replies
CCoder.com
•Created by Stephen on 4/27/2024 in #help
Unable To Use DERP On Cloudflare Tunnel
Yea, it seems like the same issue with Cloudflare stripping data required to switch to the DERP protocol however the solutions listed appeared to just involve disabling cloudflare proxying (impossible when using tunnels for obvious reasons) or sending DERP packets outside from the proxy which wouldn't work with my use case since if I were to bypass the tunnel there next to no benefit to having the tunnel.
18 replies
CCoder.com
•Created by Flyingdog on 4/3/2024 in #help
Change port forward url to coder.domain.tld/xxxxx
I am by no means an expert when it comes to Coder however I have ran into the same issue myself in the past. I don't believe it's possible to use ports in your suggested format as I did ask when I first ran into this & I don't think this has changed since. One way I got around this was using *.domain.tld this way all traffic to the domain which wasn't going to an already configured subdomain would point to coder, however I appreciate that this is not ideal as if a user went to a slight variation of the base domain that hadn't been configured they would instantly be shown coder! The other alternative I found was to have cloudflare route traffic using the wildcard.coder.domain.tld without enabling its proxy feature, this way you could run it into a reverse proxy which could then apply an SSL certificate issued by lets encrypt or some similar service. This way you still have HTTPS and dodge the advanced certificate as they are not the ones issuing the wildcard certificate! Hope this helps, I am sure a coder representative will reply at some point who may help better
4 replies