Visitar URL original
oauth2.googleapis.com API request is not going through proxy · Issue #924 · firebase/firebase-admin-java · GitHub
Skip to content

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

Description

@vineshraja

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.

Activity

  1. google-oss-bot commented on Mar 18, 2024

    @google-oss-bot

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

  2. LucasJC commented on Jan 27, 2025

    @LucasJC

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions