Sending google API explorer to remote API instead of local

I am currently developing a (Java) backend for a mobile app using Google App Engine (SDK v1.8.8) and Cloud Endpoints. I am using Eclipse (Kepler) with Google Plugin (v3.8.0) to develop / deploy code.

I've been using Google API Explorer for many months during development to test endpoints and until yesterday everything worked fine ... if I ran App Engine locally I could test the endpoints at:

http://localhost:8888/_ah/api/explorer

Similarly, I could execute against the remote version:

https://1-dot-[my-app-id]-app.appspot.com/_ah/api/explorer

... in both cases, everything worked as expected.

However, as of yesterday, local execution no longer works ... instead my requests are sent to a remote version (like live!) Of my API. I am still accessing the browser API on localhost and, according to its output, my requests are still being published locally ... this is what is printed when I execute the "foo" function on the "admin" endpoint:

 Request
 POST `http://localhost:8888/_ah/api/adminendpoint/v1/foo`
 X-JavaScript-User-Agent:  Google APIs Explorer

      

However, for some reason these requests are sent to a live / deployed API instance.

I restarted my browser (Chrome) and cleared it, tried another browser (Safari), restarted the machine, redeployed the API ... It looks like something is being cached somewhere, but I'm running out of ideas.

Does anyone have any suggestions?

+3


source to share


1 answer


The bug has been fixed in the Google App Engine SDK for Java version 1.9.17 as stated in the release notes ( https://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes ). I updated my libraries to version 1.9.17 and the API started working again for localhost.



+1


source







All Articles