Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oauth2.googleapis.com API request is not going through proxy #924

Open
vineshraja opened this issue Mar 18, 2024 · 2 comments
Open

oauth2.googleapis.com API request is not going through proxy #924

vineshraja opened this issue Mar 18, 2024 · 2 comments

Comments

@vineshraja
Copy link

We are using FireBaseSDK(firebase-admin-9.2.0) to push notifications, while testing we noted below.

-- Request going through proxy
POST https://fcm.googleapis.com/v1/projects/
image

--Request not going through proxy
POST https://oauth2.googleapis.com/token

Kindly let us know why oauth2 request is not going through proxy.

@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@LucasJC
Copy link

LucasJC commented Jan 27, 2025

hi! I may have the same issue, has anyone found out how to fix it?

EDIT: nevermind! Just found out in my case at least it was a misconfiguration:
I had this line when setting up the HttpAsyncClientBuilder:
.setRoutePlanner(new SystemDefaultRoutePlanner(ProxySelector.getDefault()))

This ended up with a wrong route planner configuration. I removed this line and it started to work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants