When I try to deploy my Google App Engine application to the cloud, I get
Error 404: --- begin server output ---
This application does not exist (app_id=u'blindmaaaps').
--- end server output ---
Under https://appengine.google.com, it says
Welcome to Google App Engine
...
Create application
But under https://console.developers.google.com, it shows my project as existing.
I have already tried passing the options --no_cookies and --email=my#email.com to the appcfg.py script, with no success. I have only one Google account.
What should I do to deploy?
It can happen if you have more than one Google account. Make sure that you are logged in under the correct account when you deploy.
Eclipse shows the account in the right bottom corner. Other tools may have an option that forces them to ask for your account credentials when you deploy.
Related
I try to create my first Google Project, and i got this error
Create Project: My Project
APPHOSTING_ADMIN Cloud Service disabled by admin. Please contact admin to restore service. com.google.apps.framework.request.StatusException: generic::FAILED_PRECONDITION: APPHOSTING_ADMIN Cloud Service disabled by admin. Please contact admin to restore service
Anyone any idea?
I am the admin from the GSuite account. I had checked my permission stuff in my account and I don't think there is a place for me to disable me from using GCP.
One possible reason for such error message would be the disabled G-Suite access to the Google Developers Console service.
Check in your GSuite Admin console Apps -> Additional Google services if Google Developers Console is enabled:
If it's not - enable it and re-try
Sorry to bump an old thread - but I just ran into this and wasted 20 minutes trying to figure out. Google Cloud Project (and Dev Console) were on for everyone but I could not create a project logged in as the Super Admin.
Go to Apps and click on Google Cloud Console. There's a single option 'Allow users to create projects' and for some reason in this company's tenant... It was unchecked. Checked it and project created. Bizarre. Has always been on for other clients apparently.
It seems I had the same or a similar issue- "google cloud platform service has been disabled error". Due to it, I could not create projects.
It seems the trouble was related to my university's email account
foo#mail.huji.ac.il. Once I used my gmail account the problem was solved.
This response from Google support resolved the issue for us:
To activate this service, please follow the steps:
1- Access the admin console and go to Apps -> Additional Google Services
2- Look for the service “Google Cloud Platform” and click on the box next to it
3- In to top right corner click in “ON”
4- Confirm you want to turn it on in the pop-up box.
I searched the web for a while, but can't seem to find the right answer.
I have created a VM Instance on Google Compute Engine and I am running Jenkins on it. This instance checks a code repository I have and when a change occurs, I want to run the following command
gcloud --project=test preview app deploy -q app.yaml --version=dev
When I want to trigger a build, or it triggers it by himself, I get the following error:
Beginning deployment...
ERROR: Error Response: [403] Request had insufficient authentication scopes.
ERROR: (gcloud.preview.app.deploy) Could not retrieve the default Google Cloud Storage bucket for [test].
Please try again or use the [bucket] argument.
The VM instance does have acces to the storage as you can see in the following image, so I don't understand why this error pops up.
Go to the App Engine developer console https://appengine.google.com/ and in
Application Settings > Cloud integration > and turn ON the Google Cloud Storage
so this will set up the default bucket for you. This something that the new Google Developer Console will do automatically.If the project is created on the old console you have to do it manually.
I have created an google app engine project and wanted to deploy it via
mvn appengine:update
the browser window openend and I was asked for oauth permission by google, I then copied the key / code and pasted it in the console, just when I realised that I was logged in with the wrong google account.
so my question is: how do I reset the authentication to deploy it to a different account?
Ok, I found the solution by just carefully reading the Documentation on https://developers.google.com/appengine/docs/java/tools/maven .
On a Mac at least, you have to rename or delete the .appcfg_oauth2_tokens_java file in you home directory, so that the next time you try to deploy it, it will ask again for authentication.
Using Eclipse, I am experiencing an error when trying to deploy a rather basic web app with JAX-RS and JAXB. It runs okay locally, but when trying it on the remote servers I get the message shown below...
'Deploying to Google' has encountered a problem / This application does not exist
Below shows my appengine-web.xml
The XML file illustrates that I am using the same name in the xml as what's specified in the project properties...
The output window show...
------------ Deploying frontend ------------
Preparing to deploy:
Created staging directory at: '/var/folders/n8/6by626014jbfc0dwmxnb0ly00000gn/T/appcfg2754901216637807129.tmp'
Scanning for jsp files.
Scanning files on local disk.
Initiating update.
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=hillingarincident&version=0&
404 Not Found
This application does not exist (app_id=u'hillingarincident').
Debugging information may be found in /private/var/folders/n8/6by626014jbfc0dwmxnb0ly00000gn/T/appengine-deploy447984481661870877.log
The referenced debug logs show...
Unable to update:
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=hillingarincident&version=0&
404 Not Found
This application does not exist (app_id=u'hillingarincident').
at com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:293)
at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:253)
at com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:232)
at com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:644)
at com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:449)
at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:124)
at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:371)
at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:53)
at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:433)
at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:148)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Any answers will be appreciated. At one point my browser was not logged in to the target google account, so I swapped to the correct one a little later, Google does render the application name as expected.
Okay, this was simple in the end! Eclipse performs an auto-login to the Google account, unfortunately I created the Eclipse project whilst being logged in to one Google account and then tried to specify the application name afterwards.
You'll see in the bottom-right (or bottom-left in some versions) a Google icon with the name of the user that you are logged in as. If that's not the account where your application is defined, then simply logout of that account, then login as the correct Google account.
Now there's no error :-)
I know this question is super old but I had this issue all day and finally I found a solution. Maybe it will help someone out in the future.
After you create a project in Google Cloud Platform, you must go to google cloud shell in your project and run the command
gcloud beta app create
After you run this command, you will get prompted to choose a region. Then go back to eclipse and try deploying it. It worked for me.
There are not just 1 way can cause this problem. For me, I have this problem when I create the project using Maven. But I don't have the same issue if I directly create the project from the Google plugin.
There might be another issue, when you register with Google App Engine, you receive email indicating your activation. If you have not received the email yet, this problem could occur too.
Another issue could be to use the gmail account for the Google App Engine to avoid any such errors.
I want to deploy Vosao from appcfg.sh. I never knew I have to
activate my account before executing the script for deployment. Prior to that for other GAE apps I used to deploy my app from Eclipse plugin.
http://appengine.google.com/promo/java_runtime
On this page I have following message.
Thanks for signing up. Once your account is activated, you will
receive an email with more information.
When my account will be activated so that I can deploy my app?
Thanks
You've somehow stumbled onto the page for when - years ago - the Java runtime was still in Trusted Tester. That isn't the case anymore, and you don't need to wait for your account to be activated - you can use it immediately.