Im getting some strange behaviour in prod when my worker's fetch to googleapis is hanging / timing out.
When I run request via curl with the same params, the request succeeds. Am I missing something obvious?
Im not using the google node library, Im just making a standard HTTP request.
Everything works ok in dev so Im trying to figure out what about the prod worker doesnt work right.
curl -X POST
-H "Content-Type: application/x-www-form-urlencoded"
--data-urlencode "client_id={GOOGLE_OAUTH_CLIENT_ID}"
--data-urlencode "client_secret={GOOGLE_OAUTH_SECRET}"
--data-urlencode "refresh_token={USER_REFRESH_TOKEN}"
--data-urlencode "grant_type=refresh_token"
"https://oauth2.googleapis.com/token"