fetch worker originating server is in US

I'm in VN. i created a worker that fetches another resource.
return new Response(JSON.stringify({country: request.cf.country, response:await response.json() }));
return new Response(JSON.stringify({country: request.cf.country, response:await response.json() }));
im returning the country code and also returning the response from the fetched resource
{"country":"VN","response":{"status":"failure","error_code":1002,"error":"Access from your current location (US) is blocked. Please check your location and try again."}
{"country":"VN","response":{"status":"failure","error_code":1002,"error":"Access from your current location (US) is blocked. Please check your location and try again."}
the above is my response. Im the only one who knows this endpoint url. I'm the one making the requests right now from VN yet the worker server location is still US? how long do i wait until it updates to VN? or Will it? how can i bypass this?
No description
4 Replies
Hello, I’m Allie!
If the service uses GeoIP, then your location will always resolve to the US, since Cloudflare’s Egress IPs are registered in the US, and afaik you can’t change that
sty
styOP14mo ago
if smart placement changes to VN, will the worker making the fetch request always be in US still?
Hello, I’m Allie!
No. Even in this case, the request is probably coming from Vietnam, it is just that since the IP is registered in the US, it will show the request as coming from US
sty
styOP14mo ago
ahh i understand thank you so much!
Want results from more Discord servers?
Add your server