GoogleCloudPlatform / gradle-appengine-templates

Freemarker based templates that build with the gradle-appengine-plugin
437 stars 205 forks source link

DevAppServer wrong host for /_ah/api/static/proxy.html #71

Closed CrandellWS closed 8 years ago

CrandellWS commented 8 years ago

see google/google-api-javascript-client#175

As suggested at: https://cloud.google.com/appengine/docs/java/tools/devserver#Command_Line_Arguments https://cloud.google.com/tools/android-studio/app_engine/run_test_deploy

When attempting to run the sample running the DevAppServer using Android Studio on pc and accessing via external device, "Chrome://inspect" shows an error connection refused because the usl points to localhost and it should be pointed to the host ip not the client.

This error is only found when the host and client have different localhosts (ie they are different machines).

tried answer at http://stackoverflow.com/a/33316693/1815624 but to no avail, though setting the ip to 0.0.0.0 might help track this: i71wdm amlayl

http://stackoverflow.com/questions/20031426/failed-to-retrieve-api-configs-with-status-404-google-app-engine

CrandellWS commented 8 years ago

opened issue in more appropriate location at GoogleCloudPlatform/gradle-appengine-plugin#240