Questions tagged [remoteapi]

69 questions
49
votes
1 answer

Google App Engine Remote API does not work from local client

This is using the Python SDK version 1.8.0. My remote API works fine using remote_api_shell.py, but doesn't work when trying to accessing from within a python script. I'm using the sample code from google: from google.appengine.ext.remote_api…
drewlio
  • 767
  • 1
  • 6
  • 10
9
votes
3 answers

What is equivalent remote api command to 'docker run -d'?

I'm trying to call docker commands via remote api. Docker remote api does not seem to have 'Detached mode' option. http://docs.docker.io/en/latest/commandline/command/run/ I could use this app in the bash, and I would like to use this via remote…
user966151
  • 235
  • 1
  • 5
  • 10
6
votes
1 answer

Appengine remote_api_shell not working with application-default credentials since update

I recently updated my gcloud libraries from 118.0.0 to 132.0.0 and immediately remote_api_shell no longer worked. I went through a number of permutations of re-logging in, to set the application-default credentials through gcloud, and to use a…
Myles
  • 20,860
  • 4
  • 28
  • 37
6
votes
1 answer

Remote API with Google App Engine service accounts?

When employing the Remote API for Java for accessing another application's GAE datastore (as suggested here), do I have to use an admin password (as shown in sample code) or can I use service account credentials instead. Calls to the Remote API…
Drux
  • 11,992
  • 13
  • 66
  • 116
5
votes
2 answers

How do I get live data from my production App Engine app to my local dev app?

I'd like to know if anyone has pointers about how to configure AppEngine remote_api, to so that I can debug my code locally but use the remote_api to fetch some data from my server. That way, I can test against real information. Thanks!
Juan Carlos Coto
  • 11,900
  • 22
  • 62
  • 102
3
votes
0 answers

Using RemoteAPI to access the live datastore from my dev server

I've got an app that, in some situation I can't reproduce, locks up both Firefox and Chrome. I have no insight into what's causing the problem. I can't get any information because both browsers just lock up - even firebug and Chrome's developer…
Riley Lark
  • 20,660
  • 15
  • 80
  • 128
3
votes
0 answers

Web API vs. Remote API - What are the differences, or are they the same?

Wikipedia says: A Web API is an application programming interface for a web server (or web browser). And a Remote API is an application programming interface that allows developers to manipulate remote resources through protocols. So, since Web APIs…
3
votes
2 answers

Enable Docker Remote API - raspberry pi / raspbian

My starting point is: How to use docker remote api to create container?, so I edit /etc/init/docker.conf and update 2 occurrences of the DOCKER_OPTS variable to: DOCKER_OPTS='-H tcp://0.0.0.0:4243 -H unix:///var/run/docker.sock' Then, a simple…
tgogos
  • 23,218
  • 20
  • 96
  • 128
3
votes
1 answer

How to specify server to access datastore from Java app?

I'm trying to access Google Datastore from a standalone Java app (not a web application or servlet), using the low-level Java API, running on my local system. remoteapi appears the simplest way do this. However, I need to specify a server…
3
votes
1 answer

How can I recreate 'docker run' using the remote API?

What do the remote API calls look like to do the equivalent of, say $ docker run -d our-image There's a high-level view of what docker run is doing here, and this is a related question. I've tried coping the ContainerConfig portion of: curl -X GET…
jberryman
  • 16,334
  • 5
  • 42
  • 83
3
votes
1 answer

How to authenticate Google Appegine (Python) Remote API access

I wrote a script that is supposed to run locally on a computer and modify some GAE data store entries. This is how I connect to my GAE: def auth_func(): return ('username@gmail.com','topsecret') #return…
Alex
  • 267
  • 1
  • 2
  • 7
3
votes
1 answer

BadRequestError on AppEngine remote_api stub call

Trying to set up remote_api stubs in my Python 2.7 AppEngine application, to use datastore access in conjunction with my localhost debugger (test my app using real data). Now, I've followed the tutorial on this AppEngine Remote API article and came…
Juan Carlos Coto
  • 11,900
  • 22
  • 62
  • 102
3
votes
2 answers

Admin access error with remote_api handler on AppEngine

Trying to configure my AppEngine app's remote_api, I set up app.yaml with the required: builtins: - remote_api: on Then deployed to app engine. Now, I am system administrator (currently Owner) of this application, but when I access…
Juan Carlos Coto
  • 11,900
  • 22
  • 62
  • 102
2
votes
1 answer

GUI to admin the appengine through remote api appart of _ah/admin

I have seen that there is a programatic interface called remote api to manage the appengine instances. It's weird to me that no one developed a tool to access it from your desktop (I'm thinking on a swing app as JConsole). Do you know any or…
Jordi P.S.
  • 3,838
  • 7
  • 36
  • 59
2
votes
1 answer

remote api GAE/J: StackOverflowError?

I'm trying to query the datastore of one of my GAE/J application from another GAE/J app but I got this error using development server and also in production Error for /servlet_url java.lang.StackOverflowError at…
Hakim
  • 203
  • 1
  • 8
1
2 3 4 5