cloudflare / cloudflare/cloudflared
🐛 Can't use Unix Sockets in Quick Tunnel mode
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
A clear and concise description of what the bug is.
When you try to use a unix socket (`--unix-socket`) without a domain configured, `cloudflared` still asks for the --url parameter.
**To Reproduce**
Steps to reproduce the behavior:
1. Get a program to run on a unix socket
2. Run this comand
```bash
cloudflared tunnel --unix-socket /var/run/X.socket
```
If it's an issue with Cloudflare Tunnel:
4. Tunnel ID :
5. cloudflared config:
**Expected behavior**
A clear and concise description of what you expected to happen.
`cloudflared` tunneling the unix socket.
**Environment and versions**
- OS: Debian
- Architecture: X64
- Version:
**Logs and errors**
If applicable, add logs or errors to help explain your problem.
```
$ > ./cloudflared-linux-amd64 tunnel --unix-socket /var/run/X.socket
You did not specify any valid additional argument to the cloudflared tunnel command.
If you are trying to run a Quick Tunnel then you need to explicitly pass the --url flag.
Eg. cloudflared tunnel --url localhost:8080/.
Please note that Quick Tunnels are meant to be ephemeral and should only be used
for testing purposes.
For production usage, we recommend creating Named Tunnels. (https://developers.c
loudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-g
uide/)
```
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.