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.
--
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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.
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?
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.
--
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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijaG43QS2fPBbouPZ07ULRTsTDyRHQaHSLsUQs2GDgkg6g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/3BBA3ED3-747F-4105-9ED5-B5C5DFC78433%40gae123.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijZ1WPfQchx23OmD%2B_%2B4Be10Ak74351Gi5r2DMws4Bq8tA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/B9074312-12BD-45B3-A248-0B1A1245BAC0%40gae123.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CA%2BS7ija7iPY58-cWnA3FGURO83Q%3D6L8CSyVoYtZdCX37gEsSDA%40mail.gmail.com.
Remove it and try again. This is most likely your problem.
--Panos
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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%2BS7ijaG43QS2fPBbouPZ07ULRTsTDyRHQaHSLsUQs2GDgkg6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/3BBA3ED3-747F-4105-9ED5-B5C5DFC78433%40gae123.com.
--Regards,RajeshAccounting/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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijZ1WPfQchx23OmD%2B_%2B4Be10Ak74351Gi5r2DMws4Bq8tA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/B9074312-12BD-45B3-A248-0B1A1245BAC0%40gae123.com.
--Regards,RajeshAccounting/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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Hey Rajesh,
I'll second PK's advice, here - there should be no reason to add an additional security constraint to the remote API endpoint, and that's likely the root of the problem.
Cheers,
Nick
Cloud Platform Community Support
On Thursday, July 28, 2016 at 9:33:56 AM UTC-4, PK wrote:
Remove it and try again. This is most likely your problem.
--Panos
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
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%2BS7ijaG43QS2fPBbouPZ07ULRTsTDyRHQaHSLsUQs2GDgkg6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
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/3BBA3ED3-747F-4105-9ED5-B5C5DFC78433%40gae123.com.
--Regards,RajeshAccounting/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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CA%2BS7ijZ1WPfQchx23OmD%2B_%2B4Be10Ak74351Gi5r2DMws4Bq8tA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
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/B9074312-12BD-45B3-A248-0B1A1245BAC0%40gae123.com.
--Regards,RajeshAccounting/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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
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%2BS7ija7iPY58-cWnA3FGURO83Q%3D6L8CSyVoYtZdCX37gEsSDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/c402f6f4-35d0-4a33-84c2-478e67452ab5%40googlegroups.com.
Hey Rajesh,
If you believe this is a platform issue rather than possibly caused by code or actions on your end, then you should post to the Public Issue Tracker (this has also been mentioned in several prior threads), and be sure to include enough information, such as a curl request to /remote_api on the relevant service/version, the history of deployment, full error messages, a copy of your app.yaml / appengine-web.xml file, etc. etc.
This forum (Google Groups App Engine) is meant for general and high level discussion of the platform and services, questions about architecture and design patterns, comparison of different approaches to more high level problems, etc.
Please make a post to the Public Issue Tracker if you believe you're seeing a platform issue. My instinct is that some kind of change to your app, a recent deployment, a change to the default serving version / service, etc., likely made the handler start returning 404. When you post the issue, be sure to post a link here so I can continue to assist in the proper forum - I'll be happy to.
Sincerely,
Nick
Cloud Platform Community Support
On Wednesday, July 20, 2016 at 11:23:32 PM UTC-4, Rajesh Gupta wrote:
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?
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.
--Regards,RajeshAccounting/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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/4b0a5bb7-8400-49e9-8fb5-75ba089159fd%40googlegroups.com.
Hello Nick,I create a new project and tried. It is the same exception.Following code is not workingRemoteApiInstaller installer = new RemoteApiInstaller();RemoteApiOptions options =new RemoteApiOptions().server(domainName, portNumber).credentials(userName, passwd);installer.install(options);
Hey Rajesh,
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.
--Regards,RajeshAccounting/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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/4b0a5bb7-8400-49e9-8fb5-75ba089159fd%40googlegroups.com.
--Regards,RajeshAccounting/Inventory/Orders on Google Cloud Platform and Mobile
RemoteApiOptions options = new RemoteApiOptions()
.server("myappid.appspot.com", 443),
.useApplicationDefaultCredential();Hey Rajesh,
I've followed up in that thread. It appears that the method .credentials(userName, passwd) is deprecated, so as the Public Issue Tracker thread reply suggests, you should use the recommended methods from the documentation. Let me know how that works and I'll be happy to assist.
Cheers,
Nick
Cloud Platform Community Support
On Monday, August 1, 2016 at 3:11:54 AM UTC-4, Rajesh Gupta wrote:
Hello Nick,I create a new project and tried. It is the same exception.Following code is not workingRemoteApiInstaller installer = new RemoteApiInstaller();RemoteApiOptions options =new RemoteApiOptions().server(domainName, portNumber).credentials(userName, passwd);installer.install(options);
Hey Rajesh,
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.
--Regards,RajeshAccounting/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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/4b0a5bb7-8400-49e9-8fb5-75ba089159fd%40googlegroups.com.
--Regards,RajeshAccounting/Inventory/Orders on Google Cloud Platform and Mobile
--Regards,RajeshAccounting/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 google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/0ece6581-887e-4493-9662-df9b6d0b9333%40googlegroups.com.
Hello Nick,
There is no enough documentation to get started with using a localserver -> RemoteServerIt is suggested to use the following on the local server to access remoteRemoteApiOptions options = new RemoteApiOptions() .server("myappid.appspot.com", 443), .useApplicationDefaultCredential();What is 'useApplicationDefaultCredential() on the local server.What extra settings or login code is required on the local. I run a local server and login as te...@example.com. Is it good enough?There is some documentation on using the above in the standalone client. Not sure, what is the procedure from a local server client.Request the Google team to add more documentation and examples and help developers when there are changes made to the platform like this.
On Mon, Aug 1, 2016 at 9:12 PM, 'Nick (Cloud Platform Support)' via Google App Engine <google-appengine@googlegroups.com> wrote:
Hey Rajesh,
I've followed up in that thread. It appears that the method .credentials(userName, passwd) is deprecated, so as the Public Issue Tracker thread reply suggests, you should use the recommended methods from the documentation. Let me know how that works and I'll be happy to assist.
Cheers,
Nick
Cloud Platform Community Support
On Monday, August 1, 2016 at 3:11:54 AM UTC-4, Rajesh Gupta wrote:
Hello Nick,I create a new project and tried. It is the same exception.Following code is not workingRemoteApiInstaller installer = new RemoteApiInstaller();RemoteApiOptions options =new RemoteApiOptions().server(domainName, portNumber).credentials(userName, passwd);installer.install(options);
Hey Rajesh,
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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.
For more options, visit https://groups.google.com/d/optout.
--Regards,RajeshAccounting/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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/4b0a5bb7-8400-49e9-8fb5-75ba089159fd%40googlegroups.com.
--Regards,RajeshAccounting/Inventory/Orders on Google Cloud Platform and Mobile
--Regards,RajeshAccounting/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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/0ece6581-887e-4493-9662-df9b6d0b9333%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/2fa65841-a145-4f72-b3d4-03789c4cf06e%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/e62e8b9f-7e36-4fc9-ba14-cc0da90cee43%40googlegroups.com.