For some reason my project is not showing logs in the page https://console.cloud.google.com/logs/viewer and I'm prompted with the message:
Welcome to Cloud Logging
View, search, analyze, and download your project's log data, all in one place. This is where you will find the logs for all your projects and Cloud Platform services.
You do not have any logs in your project right now.
However I definitely have logs generated by a google app engine and cloud build, I can access them without a problem using the gcloud command:
gcloud logging read "resource.type=gae_app" --limit 10 --format json
Also, I've enabled error reporting and I can see the logs there for errors, but if I click the label "View Logs" it does nothing.
There's something broken in my project but I'm not sure how to reach support in this case, also has anyone ever experienced something similar ? Is there any action that I can perform that could fix this issue ?
Thank you for any help :)
It magically fixed itself this morning. Yesterday I've enabled stackdriver monitoring in the hope that it could fix the issue, I don't know if that is relevant.
For anyone facing the same problem, best suggestion would be to contact support. For me it fixed automatically after few days :)
Related
i can;t deploy app to GAE anymore.
App deploy was always stuck with time out.
Some days ago app was working fine. I was able to deploy. I'm sure.
I pickup old version, just to eliminate possibility that something wrong with app
I try to deploy with all reasonable parameters.
I try delete all services (except default which i can't delete, however i uploaded basic one line app)
I already try most of advice which i found on web
I try to disable App engine.. It failed, however after some time i was able to Disable it.
Now i'm not able to enable GAE.. i see folowing error:
ERROR: (gcloud.app.deploy) Unable to deploy to application [**************] with status [USER_DISABLED]: Deploying to stopped apps is not allowed.
Any advice is welcome:
- How to enable GAE
- How to avoid time outs during deploy App to GAE
Thanks a lot
The public issue tracker is a good place to put bugs and/or feature requests. For faster and more urgent issues, contact the Google Cloud Platform support team directly and they will be able to assist you.
Your issue could also simple be a propagation delay, so if in 24/48 hours and you still can't, then it's likely a bug. Furthermore, you can always deploy to another project if it's all the same to you.
While it is relatively simple to get the app logs on the AppEngine Java Dev server, I haven't been able to find how to get the request logs. This seems like such a basic feature that there must be an easy way to do it, but so far, I'm stumped. Any help would be appreciated.
There is no nice log viewer, logs are directly dumped to server STDOUT, if you use Idea IDE, you will see logs in Application Servers tab at the bottom. Logs are just dumped as they come in (each log.info("logged event"), it is not possible to view logs per request base.
I have been successfully using Netbeans to develop and deploy an app to the Google App Engine for ages through various application versions. That is all working normally and fine.
However (the problem), through the same account I created a new application (at the Google end) and at the application end the correct application id is in appengine-web.xml with a version of 1. All runs locally perfectly. But as soo as I deploy to GAE it fails:
com.google.appengine.tools.admin.HttpIoException: Error posting to URL:
404 Not Found
This application does not exist
Unable to update app: Error posting to URL: https://appengine.google.com/api/appversion/create?app_id=
404 Not Found
This application does not exist (app_id=u
Why??????
I have spent hours looking through the web for a solution. Lots of people have a similar problem but what is the solution? How can one app upload fine and the second fails?
PLEASE can someone give me some suggestions on how to fix the problem and successfully deploy?
I use Netbeans and have tried 6.9, 7.1, and 7.2 (I even tried installing Eclipse to solve the problem but it was horrendous to get going so I'm back to Netbeans). JDK 1.6.
Help!
Of course it works this way. After finally seeking help (from you chaps), within minutes I solve the problem (blind luck).
In case it helps anyone else, the basic issue was Google's account authentication model...
I needed to generate an application-specific password in Google Accounts (https://accounts.google.com/IssuedAuthSubTokens#accesscodes - that is, the Authorized Access to your Google Account area) to be used with the new application.
Then I needed to clear the existing email/password in Netbeans. This is a bit messy as I did that by deleting the 'deployment.properties' file you eventually find in C:\Users\User.netbeans\7.1\config\Preferences\org\netbeans\modules\j2ee\appengine.
You'll note I went back to Netbeans 7.1 because Netbeans 7.2 seems to store it in a different place which I couldn't find.
Back to Netbeans and hit the 'Deploy to Google App Engine' menu choice. It starts then asks for authentication. I used my normal (account) emailid and then the NEW application specific password. Miracle of miracles, it worked and the app fired up live.
I went and got a coffee
Perhaps Google could provide a slightly more meaningful error code than 404 Not Found???
Hopefully that helps anyone else with a similar problem.
Today, I had kind of the same problem. After some trial and error I found the solution.
Basically, starting from Netbeans 7.2. up, username and password are stored in something called "keyring".
In Windows 8 I found it under my current users directory: AppData\Roaming\NetBeans\7.3.1\config\Preferences\org\netbeans\modules\keyring.
I had to delete the GAE password information from the configuration file there. Then I cleared some registry keys (that might not be mandatory) and restarted Netbeans IDE. Then got prompted for new credentials.
See the full HowTo under:
http://donkeytech.wordpress.com/2013/08/06/change-google-app-engine-deployment-userdata-in-netbeans-from-7-2/
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 am using the Eclipse with the Google AppEngine plugins (Java) and following the http://code.google.com/appengine/docs/java/gettingstarted/uploading.html tutorial.
Everything works fine locally, but when I try to deploy to AppEngine I get an error
"Error While signing in"
An error occurred while trying to sign in 400 bad request. See the error logs for more details.
This error is before I enter any login info or anything.
I am copy/pasting the App ID from the AppEngine website so Im pretty sure I got it right.
I have no idea where the logs are on this thing, so any help there would also be appreciated.
Try logging out and back in again. That worked for me.
Change your proxy settings!
Please go to Window -> Preferences
Then from General find Network Connections and update your proxy settings.
This must solve your issue.