Just started a new project. Using 1.8.0 and working fine on the localdevelopment server. The problem is that on the production appengine,
image.ServingURL is not returning a valid a valid url; there are no errors
reported by the api call.
blob, err := blobstore.Stat(c, kb)
if err != nil { c.Errorf("Stat: %v",err); serveError(c, w, err); return }
url, err := image.ServingURL(c, blob.BlobKey, nil)
if err != nil { c.Errorf("ServeingURL: %v",err); serveError(c, w, err); return }
I've verified that the blobs exists through the blobstore viewer. For example, the go app
responds with a list of images that looks like this:
[["back-200x200.jpg","/2hwrtuHZ830X7dmS3MUd9Hz57m2wmwAqMkwi-con9SCkdoXBhZ3xDMaTaH5tPfLZrjHIlBxevgAsOKTUBSTqQOk"],["front-200x200.jpg","/cciRG-fmCR3hoGqtMc8PZ0pTDfZVSUv21N6WS5NJ1EleE9VXY8xLBASkDPhswFihimICDFSztVbsz0saaRceKPE"]]
on the development server it looks like this:
[["back-200x200.jpg","/_ah/img/ueNsp-HONVcLq7qpn_8z9Q=="],["front-200x200.jpg","/_ah/img/vBzgvM4xF_uksCvBy8m2Pw=="]]
I thought the URL generated should start with /_ah/img/ or have some /_ah/ prefix
but that doesn't seem to be the case on the appengine.
I must be missing something!
I should clarify that requests to the url are returning 404. Is there some
to the application.