Hey Cloudflared devs 👋
I've been trying to use the Quick Tunnels service for quick deployment.
But every time I'd make a quick tunnel, I get this error message:
failed to request quick Tunnel: Post "https://api.trycloudflare.com/tunnel": dial tcp: lookup api.trycloudflare.com on [::1]:53: read udp [::1]:44994->[::1]:53: read: connection refused
In fact, this problem occurs in every request to the host api.trycloudflare.com.
Full Installation command
wget --no-check-certificate https://github.com/cloudflare/cloudflared/releases/latest/download/cloudflared-linux-arm64 -O cloudflared > /dev/null 2>&1
Used command
./cloudflared tunnel -url <URL> --log-file <FILE.log>
Environment and versions
Other contexts
- I can't directly share the project files or code for a few reasons, but the server is a PHP server, serving an HTML file.
nslookup api.trycloudflare.com succeeded.
- I ran a standalone Go file using
net.LookupHost, which resolved properly:
package main
import (
"fmt"
"net"
)
func main() {
ips, err := net.LookupHost("api.trycloudflare.com")
fmt.Println(ips, err)
}
$PREFIX/etc/resolv.conf contains valid nameservers.
CODEBUG=netdns=go+1 reports:
Go package net: using the Go DNS resolver.
Hey Cloudflared devs 👋
I've been trying to use the Quick Tunnels service for quick deployment.
But every time I'd make a quick tunnel, I get this error message:
In fact, this problem occurs in every request to the host
api.trycloudflare.com.Full Installation command
Used command
Environment and versions
Other contexts
nslookup api.trycloudflare.comsucceeded.net.LookupHost, which resolved properly:$PREFIX/etc/resolv.confcontains valid nameservers.CODEBUG=netdns=go+1reports: