-
Notifications
You must be signed in to change notification settings - Fork 382
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
Unsuccessful response status code. Request failed with status code 404 #1706
Comments
@matt-oakes Could you provide the output of |
We're also seeing this issue when deploying an App Engine instance with Firebase after updating several packages. Manually installing [email protected] as a dependency also worked for us. Here's our readout of
|
Hmmm, I'm not seeing how it is possible to fail here with that setup: google-auth-library-nodejs/src/auth/googleauth.ts Lines 314 to 318 in e8966d1
I see Still investigating... |
Finally able to reproduce. There's a very strange and bizarre issue with mkdir repro
cd repro
npm init -y Create import {GoogleAuth} from 'google-auth-library';
import assert from 'assert';
try {
const auth = await new GoogleAuth().getClient();
console.log('No problem');
} catch (e) {
console.log({e});
assert.equal(e.status, 404);
} Reproduction: npm i @google-cloud/logging-winston
npm ls google-auth-library gaxios # lgtm
node index.mjs # No problem, works fine
rm -rf node_modules/ package-lock.json
npm i firebase-admin
npm ls google-auth-library gaxios # everything, _looks_ correct...
node index.mjs # Error, as GaxiosError != GaxiosError Where google-auth-library-nodejs/src/auth/googleauth.ts Lines 314 to 318 in e8966d1
|
This is breaking our live operation right now, any idea how this will be released? |
@sebasrobert this will be released immediately upon approval. This should happen shortly as soon as the team is available. Alternatively, pinning to v9.2.0 of this library should work just fine. |
Thanks for the quick turn around. Just to confirm that when I upgrade to |
This issue broken my API even though my code does not directly use Installing the v9.2 package fixed the issue for me. (It was not previously in my packages.json.) I have not tested v9.4.1 yet. |
After extensive research and debugging I've found this TypeScript issue to be the root cause of this issue: |
Thanks for getting this fixed so quick! |
@danielbankhead for visibility, I can only assume some mix of google packages does not play nicely right now, I cannot create a minimal repro at this time. |
@SimonSchick hmmmm, that's very strange as it no longer depends on a particular instance of Follow-ups:
|
We do use yarn in this case so and our entire pipeline uses reproducable builds, we had to roll back our deployment after the version update and haven't had the time to investigate again. |
I am using the
google-auth-library
to run v2 Firebase task functions as per the documentation. After I deployed today, I was getting this error everytime another function tried to queue a task:The issue seems to have been introduced by #1692 (cc @danielbankhead).
It suddenly appeard for me because Firebase doesn't respect your lockfile when deploying. My
package.json
specified"google-auth-library": "^9.2.0"
but I was getting the latest9.4.0
when deploying. I can resolve this issue by instead fixing my dependency to"google-auth-library": "9.2.0"
. The error when goes away and I am able to queue tasks correctly.Environment details
google-auth-library
version: 9.4.0The text was updated successfully, but these errors were encountered: