tobi
CDCloudflare Developers
•Created by tobi on 10/4/2024 in #general-help
cloudflare quick tunnel / trycloudflare not getting requests from local dev server
Hi, this issue is plaqueing me now for almost 2 hours.
Im on mac os, latest version of cloudflared. i run these 2 commands:
on macOs, zsh.
in my browsers localhost:8000 works just fine and serves index.html
however from cloudflare tunnel i only get 404 Not found, but not from my local server but rather the cloudflared tunnel.
am i missing something obvious? In my opinion, when i run the second command i should just get everything that runs on localhost:8000 but via the dynamically generated domain.
42 replies
CDCloudflare Developers
•Created by tobi on 10/1/2023 in #workers-help
Workers - cronjob - scheduled event: possible to get colo information of scheduled event?
Hi, i would like to periodically request some data from an endpoint/server as a more nouanced health-check.
Request duration is of importance, however the response time varies quite a bit (i suspect because the cron is run in different datacenters)
Now i would like to know if it is possible to get the current location/datacenter, so that i see if it is my api that has a slow response time, or simply the request being made from far away.
I also thought about calling another worker from the cron worker, which does multiple requests to the api, and enable smart placement so that it gets positioned near my api. (there i should get the colo information, as it is not a cron trigger?)
Is there anything you think that is for/against doing this?
4 replies