cloudflare / cloudflare/cloudflared

🐛 ingress rules are validated OK but WRN is shown when tunnel is run

Open
#1,081 1 comment 0 reactions 0 assignees View on GitHub
Priority: Normal Type: Bug
Dominant language
Go
Stars
15.6k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
when running the below
> cloudflared tunnel run [UUID]

the following error is shown in on screen logs
> WRN No ingress rules were defined in provided config (if any) nor from the cli, cloudflared will return 503 for all incoming HTTP requests

attempts to access the site via a browser result in the same error above being listed each time

no other errors show in the logs

**To Reproduce**
Steps to reproduce the behavior:
1. Configure zero trust tunnel locally/CLI

[UUID].yml contains the following

```
tunnel: [UUID]
credentials-file: /root/.cloudflared/[UUID].json

ingress:
- hostname: [subdomain].[domain].au
service: https://localhost:443
- service: http_status:404
```
when running

> cloudflared tunnel --config [UUID].yml ingress validate

results in..

> Validating rules from [UUID].yml
> OK

3. Run 'cloudflared tunnel run [UUID]'
connection messages display on screen
5. See error

> WRN No ingress rules were defined in provided config (if any) nor from the cli, cloudflared will return 503 for all incoming HTTP requests

**Expected behavior**
tunnel should run without above, website is viewable via browser

**Environment and versions**
- OS: [Ubuntu 22.04.3 LTS]
- Architecture: [x64]
- Version: [GNU/Linux 5.15.0-86-generic x86_64]

**Logs and errors**
shown in context above

**Additional context**
please let me know if additional detail is required

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.