Just remove the protocol:ip:port prefix before you store the serving
url.

On Nov 18, 3:03 pm, andrew <aute...@gmail.com> wrote:
> I am having issues getting a url for an image to be served from the
> ImageService when running locally on the dev server.
>
> The code (which works fine when deployed) is this:
>
>                 ImagesService imagesService =
> ImagesServiceFactory.getImagesService();
>                 String imageLocation = imagesService.getServingUrl(blobKey);
>
> When running on the dev server locally (with a server URL ofhttp://127.0.0.1)
> the ImageService returns a URL of:
>
> http://0.0.0.0:80/_ah/img/{key}
>
> I also see that in the local dashboard there is no blobviewer.
>
> Should I take this to mean that there is no image serving of blobs
> when running on the dev server?
>
> If so, it makes debugging more painful...
>
> thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to