Since today I have the following problem while deploying a new version to Google App Engine from Eclipse:
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/updatepagespeed?app_id=MY_APP_ID&version=1&
302 Found
Further debug info:
Unable to update:
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: https://appengine.google.com/api/appversion/updatepagespeed?app_id=MY_APP_ID&version=1&
302 Found
at com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:336)
at com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:287)
at com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:266)
at com.google.appengine.tools.admin.NoLoggingClientDeploySender.send(NoLoggingClientDeploySender.java:35)
at com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:1168)
at com.google.appengine.tools.admin.AppVersionUpload.updatePagespeed(AppVersionUpload.java:588)
at com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:209)
at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:572)
at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:58)
at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:433)
at com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:158)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
I simply have no idea what is going wrong, since I did not change anything significant in my code or setup.
Anyone any clues on what is going wrong here?
Updating to the AppEngine SDK 1.9.32 seems to solve the problem (I was using 1.9.30). Updating from Eclipse did not show this update, so I downloaded it manually. Now it works again!
Hope I can help other people with this. Anyone any idea why this update is not being pushed with the Google Updater site?
EDIT:
About the updating:
First download the newest App Engine SDK from Google.
Update from Eclipse is done by 'Deploying to App Engine' -> 'App Engine Project Settings' -> 'Configure SDKs' -> 'Add...' -> 'Select folder with newest SDK'.
Simple as that!
Related
I am in the process of deploying a dynamic, React.js app to Heroku and wanted to test it out by using 'heroku local' to see if it works before pushing it to Heroku. Everything seemed to be working fine with the server - my database console.log message logs to the terminal signifying everything is going well - but when I try to access the website which is on localhost:5000, I get an error message of 'Cannot GET /' and the console prints a message saying , 'Failed to load resource: the server responded with a status of 404 (Not Found)'. My React.js files are all within the build folder which in conjunction with all of the other files, were pushed to git and commited, but for some reason my files are not showing up. I would greatly appreciate if someone could help me determine what went wrong. Sorry if my question is a little vague; please let me know if I can clarify something in better detail as I am fairly new to programming.
I've added a proxy to one of my package.json files to help with url routing; possibly this could be causing the issue?
Also, if it helps at all, a photo of my folders within Visual Studio code are listed below:
I am trying to deploy an app with
gcloud beta app deploy
I am confronted with
ERROR: (gcloud.beta.app.deploy) Error Response: [13] App Engine Flex failed to configure resources.
Has anyone seen this error?
I've run into the same error, my problem was that i left out the part:
network:
name: your-network-name
Maybe you've got another issue, but i'd recommend to trace back changes in your app.yaml.
Also you could inspect the used app.yaml via the Google Console -> App Engine -> Versions -> last column config: view
Hope this helps!
This may have been correlated with a recent release related to the "enable_health_checks:false" parameter for applications where split_health_checks are enabled.
Could you try to deploy with "enable_health_checks:true" or "split_health_checks=false" [1] ?
[1] https://cloud.google.com/appengine/docs/flexible/nodejs/configuring-your-app-with-app-yaml#health_checks
Gonna need a little more information:
What version of the SDK are you running? "Beta" on one version is different from "beta" on another...want to make sure we're talking about the same tools.
Have you ever been able to deploy this app before? With or without beta?
What's your app.yaml file look like? Please copy/paste the code into your question (removing sensitive information, obviously).
If you add this info to your question, we should be able to get further troubleshooting.
I am developing a Google App Engine application with IntelliJ idea, the app is running successfully on local machine but when I need to deploy it on my cloud it fails and I get the following error :
Password for myemail#gmail.com:
java.lang.RuntimeException: Bad authentication response: 404 Not Found
Unable to update app: Bad authentication response: 404 Not Found
please see the log
Having checked the log file the content was:
java.lang.RuntimeException: Bad authentication response: 404 Not Found
at com.google.appengine.tools.admin.ClientLoginServerConnection.getAuthToken(ClientLoginServerConnection.java:250)
at com.google.appengine.tools.admin.ClientLoginServerConnection.authenticate(ClientLoginServerConnection.java:86)
at com.google.appengine.tools.admin.ClientLoginServerConnection.doHandleSendErrors(ClientLoginServerConnection.java:120)
at com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:296)
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.LoggingClientDeploySender.send(LoggingClientDeploySender.java:47)
at com.google.appengine.tools.admin.ResourceLimits.remoteRequest(ResourceLimits.java:173)
at com.google.appengine.tools.admin.ResourceLimits.request(ResourceLimits.java:139)
at com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:467)
at com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:55)
at com.google.appengine.tools.admin.AppCfg$UpdateAction.execute(AppCfg.java:1347)
at com.google.appengine.tools.admin.AppCfg.executeAction(AppCfg.java:332)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:213)
at com.google.appengine.tools.admin.AppCfg.<init>(AppCfg.java:124)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:120)
Caused by: java.io.FileNotFoundException: https://www.google.com/accounts/ClientLogin
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1834)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1439)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at com.google.appengine.tools.admin.AbstractServerConnection.connect(AbstractServerConnection.java:133)
at
I also have searched for this error and I think this link should address this issue
Issue 12898: Some AppEngine deploys are failing
I uploaded a picture from the setting up App Engine deployment,
Question : What exactly should I change in order to get it working and successfully deploying on the App Engine Server?
I solved the issue by appcfg.cmd [options] update <war-location> and adding the argument --oauth2 to the command it should have been also solved by updating the sdk versionas mentioned in comments
Sample application works , unable to proceed with creating modifications to project
JDK included in build path (some posts say that lack of that might cause errors)
Error -> Error 403 in web page nothing else printed in console or web page
when I do localhost:8888/test.jsp I get a 404 error
console:
This works ->
<welcome-file>NewFile.html</welcome-file>
This FAILS ->
<welcome-file>guestbook.jsp</welcome-file>
my project directory from eclipse
where am i going wrong or missing something
it looked under WAR but it was not under WAR . some internal problem in my eclipse . now fixed
OLD
NEW
I have followed this google task api tutorial on GAE: https://developers.google.com/appengine/articles/python/getting_started_with_tasks_api
I have tried everything they did.
I have added this in the route:
('/mytask', mytask),
('/mytask'+ decorator.callback_path, decorator.callback_handler()),
yet I am getting following error:
Error: Not Found
The requested URL /oauth2callback?state=http://sadaf2605.appspot.com/mytask:rBFVjEpyDnAPoYsm-J6COToxMzY1NDM0ODg4&code=4/DVdE2clKgg1yfLTcFL9AdGzszVvj.snlDhp_QkQYZgrKXntQAax1q0onUewI was not found on this server.
Can you guys please tell me where can I expect a bug?
You're not attaching the handler to the right URL: you're prefixing it with '/mytask'. If you don't want it to serve on the default /oauth2callback, then you need to pass callback_path when you create the OAuth2Decorator