-
Notifications
You must be signed in to change notification settings - Fork 214
Description
I am currently building a Next.js app that utilizes API routes to fetch data from BigQuery. Initially, I was able to successfully run it locally using a service account. However, the app recently stopped working, and I suspect that it may be due to my network being behind a proxy server instead of being directly connected
FetchError: request to https://www.googleapis.com/oauth2/v4/token failed, reason: connect ETIMEDOUT 172.217.160.74:443 at ClientRequest.<anonymous> (/Users/---/node_modules/next/dist/compiled/node-fetch/index.js:1:65756) at ClientRequest.emit (node:events:513:28) at TLSSocket.socketErrorListener (node:_http_client:494:9) at TLSSocket.emit (node:events:513:28) at emitErrorNT (node:internal/streams/destroy:157:8) at emitErrorCloseNT (node:internal/streams/destroy:122:3) at processTicksAndRejections (node:internal/process/task_queues:83:21)
If anyone have experience or fixes for client connection behind a proxy?