Arthur
Arthur
CDCloudflare Developers
Created by Arthur on 1/28/2025 in #general-help
IPv6 cloudflared (zero trust tunnels)
Hi, I'm trying to run cloudflared on a IPv6 only machine, but am having some troubles. I used the --edge-ip-version 6 param. This is within docker.
cloudflared-1 | 2025-01-28T10:47:24Z ERR Failed to dial a quic connection error="failed to dial to edge with quic: INTERNAL_ERROR (local): write udp [::]:43281->[2606:4700:a0::4]:7844: sendmsg: network is unreachable" connIndex=0 event=0 ip=2606:4700:a0::4
cloudflared-1 | 2025-01-28T10:47:24Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=2606:4700:a0::4
cloudflared-1 | 2025-01-28T10:47:24Z ERR Failed to dial a quic connection error="failed to dial to edge with quic: INTERNAL_ERROR (local): write udp [::]:43281->[2606:4700:a0::4]:7844: sendmsg: network is unreachable" connIndex=0 event=0 ip=2606:4700:a0::4
cloudflared-1 | 2025-01-28T10:47:24Z INF Retrying connection in up to 1m4s connIndex=0 event=0 ip=2606:4700:a0::4
I have changed my /etc/docker/daemon.json to:
{
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64"
}
{
"ipv6": true,
"fixed-cidr-v6": "2001:db8:1::/64"
}
3 replies
CDCloudflare Developers
Created by Arthur on 6/3/2024 in #general-help
How to disable human verification for cloudflare tunnels?
No description
10 replies
CDCloudflare Developers
Created by Arthur on 4/30/2023 in #workers-help
Workers fetch cache not working?
I'm using an external api, which is rate limited. But I need more requests than that the limit allows, therefore I want to use cloudflare workers to cache the request and work as a middle man. I'm using the hono framework to handle my requests (but I don't think that should affect this issue). I'm using this function to cache my requests.
export const cachedFetch = async (url: string, time = 60 * 60) =>
await fetch(url, {
cf: {
cacheTtl: time,
cacheEverything: true,
cacheKey: url,
},
});
export const cachedFetch = async (url: string, time = 60 * 60) =>
await fetch(url, {
cf: {
cacheTtl: time,
cacheEverything: true,
cacheKey: url,
},
});
But when runnin this, I'm still getting rate-limited by the external api? Even tough 1 hour is plenty below the rate limit?
5 replies