Getting SSL error in google app engine - google-app-engine

I have created google app engine application. It works fine in my local system and also deployee successfully on server. but that url http://****.appspot.com/_ah/api/employeeendpoint/v1/employee/1 gives me below response.
{"error":{"errors":[{"domain":"global","reason":"sslRequired","message":"SSL is required to perform this operation."}],"code":403,"message":"SSL is required to perform this operation."}}
I have also try with https://****.appspot.com/_ah/api/employeeendpoint/v1/employee/1 but still not working.

Certain Google Cloud Platform products require SSL, you can simply enable SSL from your Cloud Console and it should work.
The documentation for App Engine, for Compute Engine, and for Cloud SQL.

Related

Using remote data store on Google App Engine

I am trying to use the remote data store on Google App Engine on localhost, but I really can't get it to work.
I have tried following this advice Remote_api configuration with App Engine which does seem to handle the first request and uses the remote datastore (I think), but on the subsequent request it does not, and I get the error:
"BadRequestError: app s~myapp cannot access app dev~myapp's data"
I have also tried the following:
BadRequestError: app s~myapphr cannot access app dev~myapphr's data. Why?
Google App Engine trying to access dev data
and a lot of other suggestions, but without any luck.
Any ideas on how to use the remote datastore on localhost ?
thanks
Thomas

Google App Engine - Google APIs Console - Google Cloud Console

I wanted to ask what the difference between Google App Engine, Google APIs Console and Google Cloud Console is?
I will deploy a Project which will fetch some Websites and provide the data to my Android Application.
What is the best to use? I do not know what is for what.
Google App Engine lets you run web applications on Google's infrastructure : https://developers.google.com/appengine/docs/whatisgoogleappengine
Google APIs Console is Console to administrate Google API (deprecated)
Google Cloud Console is new version of Google APIs Console.
So for your Project use Google App Engine.
And for example use URL Fetch https://developers.google.com/appengine/docs/python/urlfetch/
A bit of background: At one point in time, Google APIs had its own console and Google App Engine had its own console. Eventually, it was decided that we should merge these two consoles into one console. We've already turned down the APIs console, and we're working on turning down the App Engine admin console.
So to answer your question: you should use the Cloud console unless you need to use the App Engine admin console for some obscure reason.

Using Google App Engine services outside of uploaded application

I am looking to use Google Cloud Storage services outside of launching a google app engine application. My application is designed for running on a hosted server of our own, and I would like to still use the cloud storage service.
I've written a dev app that did this, and ran it with dev_appserver.py in the python GAE framework. It seems the dev_appserver.py is necessary as it fills in how to perform the RPC functions the cloud storage provides.
Is there a way to easily use google cloud storage service without the rest of it?
There is gsutil command line tool:
https://developers.google.com/storage/docs/gsutil
There is an xml/json restful service all at:
https://developers.google.com/storage/index
You'll need to enable the google cloud storage on the google console at:
https://code.google.com/apis/console/ and get the necessary api keys.

Console - created new project; auto-created app engine app; can't set billing

I am getting very confused with the whole cloud console api console thing.
I just created a new Cloud Console project in order to setup some GCE instances. It seems to have auto-created an App Engine app. That is fine, but when I go to enable billing, it tells me that it cannot enable billing for app engine apps and that I need to do that in App Engine Console.
Earlier this week, I tried to setup a project to include both an existing App Engine app and Compute Engine. I was asked to got through the request access process like before GCE was available.
I created a project in the Cloud Console by starting in the App Engine console and choosing Cloud Integration. I said there was an error creating the project, but it seems like it created it. However, when I go to that project in Cloud Console, there is no option to even add Compute Engine.
Two questions:
(1) Is there something outlining the differences between Cloud Console and API Console and when it is most appropriate to use one over the other?
(2) How do I get a project (in either one I suppose) that includes an existing App Engine app and Compute Engine resources that I want to create in this project?
Thanks for your help.
-- Jay
Cloud Console is essentially a planned replacement for the API console,
however it may not have all functionality yet
Try going to appengine admin console application settings, and at the bottom of
the page cloud integration. Click on create project. Once it succeeds go to the cloud
console and enable billing for Compute Engine

Best practise for developing Google App Engine OAuth2 Java API application on local machine

I'm trying to debug a Google App Engine project locally and that application uses Google's OAuth2 API access (Google Drive access). I mapped a sub-domain to 127.0.0.1 in my hosts file and ensured that sub-domain didn't return a 404 publicly (Google does a basic test to see if there's anything there at the redirect location) and the redirect correct executes the servlet on my local machine.
The problem is that I seem to have an anonymous quota now and quickly exceeded my limit for the day. Is there a way to link me to my account with this setup to get the non-anonymous quota?
Need to enable Drive API in addition to Drive SDK in Google APIs Console

Resources