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

BSP Solo Migration - 9/2/2024, 7:40 PM #15057

Closed
pipedream-component-development opened this issue Dec 22, 2024 · 15 comments
Closed

BSP Solo Migration - 9/2/2024, 7:40 PM #15057

pipedream-component-development opened this issue Dec 22, 2024 · 15 comments
Labels
bug Something isn't working triaged For maintainers: This issue has been triaged by a Pipedream employee user request

Comments

@pipedream-component-development
Copy link
Collaborator

App

BSP Solo Migration - 9/2/2024, 7:40 PM

Summary:

Still Not Fixed: Outdated Firebase Admin SDK

Details:

The previous issue, #15033, did not get fixed by the PR's and commits that purported to do so. We still get this every day:

`
Error

Credential implementation provided to initializeApp() via the "credential" property failed to fetch a valid Google OAuth2 access token with the following error: "The incoming JSON object does not contain a client_email field".
Details

at null.null (/pipedream/dist/code/dca91ca86b38d2999b8e2cc5e8ac19c846ecf18fbeee9cb18d24e1698f96d784/node_modules/.pnpm/firebase-admin@13.0.0/node_modules/firebase-admin/lib/app/firebase-app.js:87:19)
at null.disableUserByEmail (file:///pipedream/dist/code/dca91ca86b38d2999b8e2cc5e8ac19c846ecf18fbeee9cb18d24e1698f96d784/component.mjs:40:28)
at Object.run (file:///pipedream/dist/code/dca91ca86b38d2999b8e2cc5e8ac19c846ecf18fbeee9cb18d24e1698f96d784/component.mjs:74:7)
at null.executeComponent (/var/task/launch_worker.js:292:22)
at MessagePort.messageHandler (/var/task/launch_worker.js:792:28)`

As said before, this is us being affected by firebase/firebase-admin-node#2778 and we know it is still this issue because the version in the file paths is still 13.0.0. Again, this needs to be fixed with priority.

Screenshots:

No screenshots included

@WindowsUser
Copy link

That appears to be a generic GitHub help line, not a Pipedream-specific one.

@andrewjschuang
Copy link
Collaborator

This is Pipedream's issue cards. What is BSP Solo Migration?

@sergio-eliot-rodriguez
Copy link
Collaborator

Looks more like helpline for Firebase on their firebase-admin-node GItHub repository.

User flagged issue in the wrong repo, imo. (if this is a mistake feel free to reopen)

@sergio-eliot-rodriguez
Copy link
Collaborator

Reopened, having second thoughts. Let's await user for further input.

@WindowsUser
Copy link

WindowsUser commented Dec 23, 2024 via email

@sergio-eliot-rodriguez
Copy link
Collaborator

I understand now.
So the stracktrace says PD is using 13.0.0 of the Firebase Admin SDK.
Now, PD should update its Firabse related components to use a newer Firebase Admin SDK such that includes the fix.
Ok, so I'll leave it open.

cc @malexanderlim revisit of #15033

As of "BSP Solo Micrgration" you are doing some migration on a software called BSP Solo which like needs to use Firebase Admin SDK.

@sergio-eliot-rodriguez
Copy link
Collaborator

Unsure if you tried this: from @andrewjschuang 's input in the 15033

@WindowsUser just to make sure, did you update the action? If it's a trigger, you'd have to create a new one.
Could you share what is the component name and version? You should see that info in the Details section of the component while in the workflow inspector

@WindowsUser
Copy link

WindowsUser commented Dec 23, 2024 via email

@WindowsUser
Copy link

WindowsUser commented Dec 23, 2024 via email

@malexanderlim
Copy link
Contributor

@WindowsUser I updated the Firebase version here: #15062

Can you remove and re-add the trigger, or update the action and let me know if it works for you now?

@WindowsUser
Copy link

WindowsUser commented Dec 23, 2024 via email

@WindowsUser
Copy link

Unfortunately, it did not work. I tried creating a new trigger but the step still uses version 13.0.0 and (thus, likely) returns the same exact error when I do "run now".

@WindowsUser
Copy link

WindowsUser commented Dec 24, 2024

As for component version, I think this is what you're referring to:

Message:Credential implementation provided to initializeApp() via the "credential" property failed to fetch a valid Google OAuth2 access token with the following error: "The incoming JSON object does not contain a client_email field". Total Duration:6,504 ms Execution Start:2024-12-24T09:15:13.541Z Execution End:2024-12-24T09:15:20.045Z Steps Executed:6 / 11 credits:2 Version:202 (d_1gsQrggo)

@vunguyenhung vunguyenhung added the triaged For maintainers: This issue has been triaged by a Pipedream employee label Dec 26, 2024
@andrewjschuang
Copy link
Collaborator

I was able to locate your workflow using the deployment version you shared, thanks. Looks like it needed a new updated deployment. @WindowsUser could you please try again now?

@WindowsUser
Copy link

Confirming the issue is resolved, but for future reference, I thought I did redeploy. I guess it did not go through properly because it did not update the version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triaged For maintainers: This issue has been triaged by a Pipedream employee user request
Projects
None yet
Development

No branches or pull requests

7 participants
@WindowsUser @andrewjschuang @vunguyenhung @malexanderlim @sergio-eliot-rodriguez @pipedream-component-development and others