-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Failed to deploy - FileNotFoundException #3275
Comments
I just ran the command gcloud components update and upgraded to the following:
I attempted redeploying the same AppEngine build configuration but received the same error output. |
thanks for details @AdamSHurwitz in that error, could you possibly paste in all the way up the stack? It looks like you provided only the end. I'm wondering if there is anything there that can help us debug. |
on second look I see a couple potential issues:
|
The default app engine credentials worked. My app is deployed and running so a BIG thank you @etanshaul !!! I believe this is the credential type you are referring to under the Firebase documentation
My question with this implementation is am I supposed to save the code above to version control? How do I ensure anyone with this code cannot access my Firebase database? New Issue |
@AdamSHurwitz I'm glad using the default credentials worked for you.
Yes. That auth code can live in your vcs. Presumably you needed to authenticate in order to deploy your app in the first place to your GCP account. Only apps running on your account should have access via your application default credentials. Maybe I misunderstood the concern? Regarding the Firebase billing concern, I'll defer to @garrettjonesgoogle to please help with routing the question as I don't have all the relevant information on this. |
@etanshaul - My concern is if I shared my GitHub repository publicly someone would be able to run the authentication portion of code in order to interact with my Firebase database. Thank you for directing my Firebase/GCP project linking bug to @garrettjonesgoogle. |
The firebase billing thing is outside of the scope of my knowledge - sorry! |
For the firebase billing error, that should be filed with Firebase: https://firebase.google.com/support/contact/ The original issue appears to have been answered. Feel free to reopen if this is not the case. |
Expected
JAR deployment to AppEngine instance for Kotlin app.
Actual
During deployment to my AppEngine instance I am receiving the following FileNotFoundException. This error is not logical because the same built JAR runs the app successfully via IntelliJ prior to the deploy attempt.
Here is the Kotlin app file hierarchy which runs as expected both as an IntelliJ Application and JAR configuration. The "missing" directory/file is firebase/carpecoin-service-firebase-adminsdk-cyl9p-4b18763dbc.json which is nested under the main directory. The hierarchy was not altered after creating and building my JAR.
App Hiearchy
Build Config
Error
The text was updated successfully, but these errors were encountered: