Hi, It was working fine last 3-4 years. Why SO? This is not a code problem. Suddenly it stopped working. It is some configuration issue, after the google cloud moved completely into the new datastore admin console.
Any configuration changes on the appid is required? On Thu, Jul 21, 2016 at 3:48 AM, 'Nick (Cloud Platform Support)' via Google App Engine <[email protected]> wrote: > Hey Rajesh, > > As mentioned in previous threads, this forum should not be used for > troubleshooting posts like this. You should either post an issue like this > to the Public Issue Tracker if you are confident it's a platform issue (you > have read the documentation and the system is not behaving as it should), > or to Stack Overflow if it seems more like a possible confusion on your > end. > > Nonetheless, I'll help you with some basic advice on this problem: > > It seems that you have changed the authentication part of the code as a > result of 404 - this is unnecessary as it's *403 *which is the error > response for auth issues. 404 means "Not Found", so it seems that you > haven't deployed the remote API to the server you are trying to connect to. > See this doc > <https://cloud.google.com/appengine/docs/java/tools/remoteapi>, for > example, for the java way to configure remote API on the server (you need a > special remote api handler on /remote_api). > > Cheers, > > Nick > Cloud Platform Community Support > > > On Tuesday, July 19, 2016 at 7:30:20 AM UTC-4, Rajesh Gupta wrote: >> >> I tried the following also - using useApplicationDefaultCredentail. >> RemoteApiOptions options = >> new RemoteApiOptions().server(serverConfig.domainName, >> serverConfig.portNumber). >> useApplicationDefaultCredential(); >> >> installer.install() still throws error. >> >> >> I am running a local server and trying to access remote datastore. >> >> >> On Tue, Jul 19, 2016 at 1:24 PM, Rajesh Gupta < >> [email protected]> wrote: >> >>> I am using >>> RemoteApiInstaller installer = new RemoteApiInstaller(); >>> RemoteApiOptions options = >>> new RemoteApiOptions().server(domainName, portNumber) >>> .credentials(userName, passwd); >>> installer.install(options); >>> >>> It is throwing the follow exception >>> com.google.appengine.tools.remoteapi.LoginException: Bad authentication >>> response: 404 >>> >>> -- >>> Regards, >>> Rajesh >>> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>* >>> *www.GainERP.com <https://www.gainerp.com>* >>> *Accounting/Inventory/Orders on Google Cloud Platform and Mobile* >>> >>> >> >> >> -- >> Regards, >> Rajesh >> *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>* >> *www.GainERP.com <https://www.gainerp.com>* >> *Accounting/Inventory/Orders on Google Cloud Platform and Mobile* >> >> -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/google-appengine. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/b74faf87-0f62-45b2-8ce5-e206b0bd816a%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/b74faf87-0f62-45b2-8ce5-e206b0bd816a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Regards, Rajesh *www.VeersoftSolutions.com <http://www.VeersoftSolutions.com>* *www.GainERP.com <https://www.gainerp.com>* *Accounting/Inventory/Orders on Google Cloud Platform and Mobile* -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijbHh4JFp4eNtvGh09Aa87cE_Lxj-Xdaw6i47_-NxAU_pw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
