google-app-engine


Deployed Google Endpoints Quickstart app giving error message when i request url?


I am following the Quickstart for Cloud Endpoints Frameworks on App Engine in standard environment. I have deployed the sample API. When I open https://[my-project].appspot.com/ I get the error message:
Error: Not Found. The Requested URL / was not found on this server
The logs show the message:
No Handlers matched this url
The app.yaml handlers are the what came with the endpoints-frameworks-v2/echo sample:
handlers:
# The endpoints handler must be mapped to /_ah/api.
- url: /_ah/api/.*
script: main.api
I was having great difficulty generating the OpenAPI configuration file in a previous step of the quickstart. I got it to work by updating the system variable path for the SDK but I did get this error:
No handlers could be found for logger "endpoints.apiserving"
WARNING:root:Method echo.echo_path_parameter specifies path parameters buy you are
not using a ResourceContainer. This will fail in future releases; please
switch to using ResourceContainer as soon as possible.
I have no idea if this error is relavant to the current problem.
Any help would be much appreciated.
You need a url handler for / if that is a valid url:
handlers:
# The endpoints handler must be mapped to /_ah/api.
- url: /_ah/api/.*
script: main.api
- url: /.* # catchall for all other urls
script: main.api # or wherever you handle the request for `/` and others
Regarding the "No handlers could be found for logger..." you need to do this:
http://excid3.com/blog/no-handlers-could-be-found-for-logger
The other issue is a known issue:
What are ResourceContainers and how to use them for Cloud Endpoints?

Related Links

Flask subdomain routing?
Is it possible to use a Go package built from a different version?
GAE compatible java portal [duplicate]
GAE-Sessions: Where is settings.py?
Obtaining persistent token for accessing users data under Google domain
Restlet GWT in a Google Gadget
Alternative to Google App Engine API?
Google App Engine's data viewer for java is not showing utf8 char correctly
Download the code of sample application from GoogleApps
How to keep 3rd party's site credentials with GAE?
Migrating an App to High-Replication Datastore - now ancestor issues
gwt-appengine app with part of its content protected and the rest public
How to add the user name in the url for a Chrome extension?
Are there cloud / cluster / hosting providers that charge for actual CPU time used?
Updating data on mobile devices using App Engine (preferably avoiding “hot tablets”)
getting latest data with high replication datastore

Categories

HOME
url-redirection
cygwin
c99
telegram
wakanda
webdriver
rdbms
socket.io
error-handling
pclxl
grafana
static-site
entity-framework-core
google-apps
nested-if
mapbox
data-visualization
gluon-mobile
crystal-lang
vert.x
joomla3.0
fosrestbundle
32bit-64bit
heap
resultset
radgridview
intercom
onedrive-api
dynatrace
flash-player
3nf
http-post
video-editing
gmm
topology
visual-glitch
cgbitmapcontext
dataflow-diagram
postscript
motion-detection
android-things
ceylon
user-defined-functions
winpe
alm
calculation
left-join
keras-layer
python-import
fiware-cygnus
xajax
salesforce-communities
protein-database
recurrent-neural-network
opencmis
phpdbg
libgphoto2
sonarlint-eclipse
video-conferencing
arules
quicktime
janus
sandcastle
angular2-testing
pytables
mapxtreme
xcode-server
lrs
file-uri
i386
appscale
kango-framework
stream-processing
nss
beanstalk
kendo-upload
mobiledoc-kit
linklabel
xenomai
vigenere
rpart
typeconverter
actionfilterattribute
apache-spark-1.3
variadic-templates
boost-program-options
jbake
punycode
gii
trdion2011
build-script
matrix-inverse
winginx
menubar
high-resolution
time.h
diem
actiondispatch
apache-abdera
dajaxice
faye
apache-whirr
database-create
isa-swizzling
tournament
tmx
resharper-6.0
updatesourcetrigger
easyb
zen
windows-identity
application-planning
dsoframer

Resources

Encrypt Message