cloudflare / cloudflare/cloudflared
Tunnel info show information of another tunnel🐛
- Dominant language
- Go
- Stars
- 15.6k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
I created 2 tunnels via cli following the documentation here in https://developers.cloudflare.com/cloudflare-one/connections/connect-apps/install-and-setup/tunnel-guide/local/#set-up-a-tunnel-locally-cli-setup
**To Reproduce**
Steps to reproduce the behavior:
create 2 tunnels
run tunnel list
```
cloudflared tunnel list
You can obtain more detailed information for each tunnel with `cloudflared tunnel info `
ID NAME CREATED CONNECTIONS
1a712bc2-1951-4f00-bb8f-c2e129ac4235 cheng-api 2022-11-25T02:49:17Z 1xLAX, 2xSJC
08e2f45a-f04d-4f9f-9b7b-ef01f695169d cheng-qing 2022-11-25T12:04:18Z 2xSJC
```
you can see there are 2 tunnels with different id.
then run tunnel info on each one, the output is same for both cheng-api and cheng-qing .
```
cloudflared tunnel info cheng-api
NAME: cheng-api
ID: 1a712bc2-1951-4f00-bb8f-c2e129ac4235
CREATED: 2022-11-25 02:49:17.449689 +0000 UTC
CONNECTOR ID CREATED ARCHITECTURE VERSION ORIGIN IP EDGE
13bfc78a-c93d-48a9-ac66-51e2f75b24da 2022-11-25T12:13:05Z darwin_amd64 2022.10.3 113.89.91.133 1xLAX, 2xSJC
```
```
cloudflared tunnel info cheng-qing
NAME: cheng-api
ID: 1a712bc2-1951-4f00-bb8f-c2e129ac4235
CREATED: 2022-11-25 02:49:17.449689 +0000 UTC
CONNECTOR ID CREATED ARCHITECTURE VERSION ORIGIN IP EDGE
13bfc78a-c93d-48a9-ac66-51e2f75b24da 2022-11-25T12:13:05Z darwin_amd64 2022.10.3 113.89.91.133 1xLAX, 2xSJC
```
If it's an issue with Cloudflare Tunnel:
4. Tunnel ID :
08e2f45a-f04d-4f9f-9b7b-ef01f695169d
6. cloudflared config:
```
url: http://localhost:3000
tunnel: 08e2f45a-f04d-4f9f-9b7b-ef01f695169d
credentials-file: //Users/chengyang/.cloudflared/08e2f45a-f04d-4f9f-9b7b-ef01f695169d.json
```
**Expected behavior**
`tunnel info ` should show the same ID as `tunnel list` , in this case, it should show a different id for `cheng-qing`
**Environment and versions**
- OS: [MacOS]
- Architecture: [AMD]
- Version: [cloudflared version 2022.10.3 (built 2022-10-26-1004 UTC)]
**Logs and errors**
If applicable, add logs or errors to help explain your problem.
**Additional context**
Add any other context about the problem here.
Contributor guide
Assessment
This issue has not been assessed yet.