Cannot access tunnel

Hi all I have tried creating a tunnel with the purpose of creating an api that I should be able to access from anywhere. I have a tunnel setup as shown. This is my config for the tunnel running on my raspberrypi GNU nano 7.2 /root/.cloudflared/config.yml
tunnel: tunnelid credentials-file: /root/.cloudflared/tunnelid.json ingress: - hostname: api.domainname.com service: http://192.168.0.168:5000 - service: http_status:404 I am running sudo cloudflared tunnel run tunnelid I have code that gets data with SELECT * from test_db and it successfully does when I go to 192.168.0.168:5000 on my local network. However when I go to api.mydomainname.com I get an error 1033 Im in desperate help please.
No description
No description
No description
3 Replies
MDev
MDev2mo ago
Any hints within the cloudflared logs?
SillyMonkey982
SillyMonkey982OP2mo ago
under Security > Analytics
No description
SillyMonkey982
SillyMonkey982OP2mo ago
mb sudo cloudflared tunnel run TUNNELID 2024-10-04T11:05:54Z INF Starting tunnel tunnelID=TUNNELID 2024-10-04T11:05:54Z INF Version 2024.9.1 2024-10-04T11:05:54Z INF GOOS: linux, GOVersion: go1.22.2, GoArch: arm64 2024-10-04T11:05:54Z INF Settings: map[cred-file:/root/.cloudflared/TUNNELID.json credentials-file:/root/.cloudflared/TUNNELID.json] 2024-10-04T11:05:54Z INF cloudflared will not automatically update if installed by a package manager. 2024-10-04T11:05:54Z INF Generated Connector ID: DIFFERENTCONNECTORIDTHANMYDASH 2024-10-04T11:05:54Z INF Initial protocol quic 2024-10-04T11:05:54Z INF ICMP proxy will use 192.168.0.167 as source for IPv4 2024-10-04T11:05:54Z INF ICMP proxy will use IPV6add in zone eth0 as source for IPv6 2024-10-04T11:05:54Z INF Starting metrics server on 127.0.0.1:33603/metrics 2024-10-04T11:05:55Z INF Registered tunnel connection connIndex=0 connection=CONNECTIONID event=0 ip=IP location=syd04 protocol=quic 2024-10-04T11:05:55Z INF Registered tunnel connection connIndex=1 connection=CONNECTIONID event=0 ip=IP location=syd06 protocol=quic 2024-10-04T11:05:56Z INF Registered tunnel connection connIndex=2 connection=CONNECTIONID event=0 ip=IP location=syd04 protocol=quic 2024-10-04T11:05:57Z INF Registered tunnel connection connIndex=3 connection=CONNECTIONID event=0 ip=IP location=syd01 protocol=quic I dont have log files setup but hopefully this is what is needed. Fixed it instead of the cname being my-tunnel.cfargotunnel.com changed it to <tunnel-id>.cfargotunnel.com
Want results from more Discord servers?
Add your server