[google-appengine] what tool would you use? ///My company needs a system that automatically sends messages to users to request their documents,

2021-06-10 Thread j d
My company needs a system that automatically sends messages to users to 
request their documents. and that users can answer whether or not they can 
claim them. then use that data to convert it into information. there are 
hundreds of users and hundreds of documents to deliver. I'm thinking of 
making an AI system that sends messages to people's cell phones, but I 
don't know what google clud tool to use. 

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9d914dfc-6725-4502-8f2f-448df34650efn%40googlegroups.com.


[google-appengine] Re: App Engine Flexible Environment - Dockerfile installing outdated version of GDAL

2020-04-24 Thread j o
This is apparently happening as my app isn't running on port 8080 and App 
Engine is then crashing. How do I make sure that it is running on 8080? 

This is my app.yaml: 

EDIT:

My app.yaml:

# [START django_app] runtime: custom env: flex entrypoint: gunicorn -b :$PORT 
MyApplication.wsgi runtime_config: python_version: 3 # [END runtime] handlers: 
# This configures Google App Engine to serve the files in the app's static # 
directory. #- url: /static # static_dir: static/ #- url: /MyApplication/static 
# static_dir: MyApplication/static/ # This handler routes all requests not 
caught above to your main app. It is # required when static routes are defined, 
but can be omitted (along with # the entire handlers section) when there are no 
static files defined. - url: /.* script: auto # [END django_app] resources: 
cpu: 1 memory_gb: 2 disk_size_gb: 10


On Thursday, 23 April 2020 16:34:29 UTC+1, j o wrote:
>
>  am trying to use a Docker image on Google App Engine Flexible Environment.
>
> FROM ubuntu:bionic
>
>
> ENV PYTHONUNBUFFERED 1
> ENV DEBIAN_FRONTEND noninteractive
> ENV LANG C.UTF-8
>
> RUN apt-get update -qq && apt-get install -y -qq \
> # std libs
> git less nano curl \
> ca-certificates \
> wget build-essential\
> # python basic libs
> python3.8 python3.8-dev python3.8-venv gettext \
> # geodjango
> gdal-bin binutils libproj-dev libgdal-dev \
> # postgresql
> libpq-dev postgresql-client && \
> apt-get clean all && rm -rf /var/apt/lists/* && rm -rf /var/cache/apt/*
>
> # install pip
> RUN wget https://bootstrap.pypa.io/get-pip.py && python3.8 get-pip.py && rm 
> get-pip.py
> RUN pip3 install --no-cache-dir setuptools wheel -U
>
> CMD ["/bin/bash"]
>
>
>
>
> The docker image appears to build correctly but when the service deploys 
> the application crashes and i get this error message:
>
>  File 
> "/Users/NAME/Documents/gcp/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py",
>  line 183, in IsDone encoding.MessageToPyValue(operation.error))) 
> OperationError: Error Response: [9] 
>
> Application startup error! Code: APP_CONTAINER_CRASHED ERROR: 
> (gcloud.app.deploy) Error Response: [9] Application startup error! Code: 
> APP_CONTAINER_CRASHED
>
> This is failing as the Dockerfile is installing a significantly outdated 
> version of the GDAL package which conflicts with the more current python 
> installation.
>
> How do I ensure that the dockerfile has the correct package repository and 
> is installing the right, up to date, versions? Is there some line that I 
> can insert to update the repository, or at least print the repository, 
> before it starts installing?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8c5b0d27-17fd-438d-bc1c-7769a7c79898%40googlegroups.com.


[google-appengine] App Engine Flexible Environment - Dockerfile installing outdated version of GDAL

2020-04-23 Thread j o


 am trying to use a Docker image on Google App Engine Flexible Environment.

FROM ubuntu:bionic


ENV PYTHONUNBUFFERED 1
ENV DEBIAN_FRONTEND noninteractive
ENV LANG C.UTF-8

RUN apt-get update -qq && apt-get install -y -qq \
# std libs
git less nano curl \
ca-certificates \
wget build-essential\
# python basic libs
python3.8 python3.8-dev python3.8-venv gettext \
# geodjango
gdal-bin binutils libproj-dev libgdal-dev \
# postgresql
libpq-dev postgresql-client && \
apt-get clean all && rm -rf /var/apt/lists/* && rm -rf /var/cache/apt/*

# install pip
RUN wget https://bootstrap.pypa.io/get-pip.py && python3.8 get-pip.py && rm 
get-pip.py
RUN pip3 install --no-cache-dir setuptools wheel -U

CMD ["/bin/bash"]




The docker image appears to build correctly but when the service deploys 
the application crashes and i get this error message:

 File 
"/Users/NAME/Documents/gcp/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py",
 line 183, in IsDone encoding.MessageToPyValue(operation.error))) 
OperationError: Error Response: [9] 

Application startup error! Code: APP_CONTAINER_CRASHED ERROR: 
(gcloud.app.deploy) Error Response: [9] Application startup error! Code: 
APP_CONTAINER_CRASHED

This is failing as the Dockerfile is installing a significantly outdated 
version of the GDAL package which conflicts with the more current python 
installation.

How do I ensure that the dockerfile has the correct package repository and 
is installing the right, up to date, versions? Is there some line that I 
can insert to update the repository, or at least print the repository, 
before it starts installing?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/202a0ca3-7c09-4332-a728-edd54d4a2f77%40googlegroups.com.


[google-appengine] Re: Will App Engine Flex Environment ever support Memcache?

2019-07-04 Thread Madan J
I would say try out redis, if not an option easy way to workaround s to 
deploy a GAE Standard service to act as a proxy between memcache and ur gae 
flex app

On Thursday, July 4, 2019 at 2:13:17 AM UTC+8, Harmit Rishi (Cloud Platform 
Support) wrote:
>
> Hi, 
>
> Thank you for using Google Groups!
>
> Looks like the signup sheet for the alpha is no longer available. However, 
> I was able to find the following documentation 
> 
>  
> that mentions using Cloud Memorystore for Memcache service with Google App 
> Engine flexible. Let us know if this would work in your use case. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8320b2cb-448b-45c2-a480-bcd819c0c5d0%40googlegroups.com.


[google-appengine] Server Timeout whilst trying to add a Custom Domain to App Engine

2019-01-09 Thread Bradley J. Gibby

Hi all,

I've been trying to add a custom domain to my App Engine project and I have 
been getting the following error for the last 24 hours.

Anyone know what's going on with the Custom Domain's for App Engine?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/bfed5266-9d82-45e4-bcb8-56b62639301e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] [Error: Server Error] GAE Nodejs8 Standard. Upgrade to Nuxtjs@2.0.0 and deployment fails (could be unrelated)

2018-09-27 Thread David J. Davis
I've decided to move to another hosting platform, there's clearly not
enough support especially with the absense of Error reporting for Nodejs
standard.

On Thu, Sep 27, 2018 at 10:33 AM David Davis  wrote:

> [image: Screen Shot 2018-09-26 at 3.35.02 PM.png]
> I've been building and deploying on Nodejs8 standard and everything was ok
> untill today when I upgraded from Nuxtjs 1.4.x to 2.0. Everything works
> fine locally but upon deploying am getting this 500 error. According to
> these docs
> https://cloud.google.com/error-reporting/docs/setup/app-engine-standard-environment
> the nodejs8 environement doesn't allow error reporting. I see this in the
> console. Honestly confused how Im supposed to debug and proceed without any
> sort of error reporting. Please advise if anyone knows what to do.
>
> Project ID
> agency-215614
> Project number
> 885488244632
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at https://groups.google.com/group/google-appengine.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-appengine/e4da13a3-ced1-4e24-b5b4-63acf4586c46%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BeXqL_NoJXbAMNkCN0iFffpiM%2BrTmc5sQLQkv%2Boi2o36%3DxS%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: java.lang.NoClassDefFoundError: javax.servlet.FilterChain is a restricted class.

2016-02-29 Thread J Han
I just created a Google Web Application Project, see attached screenshot 
gae-2.jpg, and without any changes,  run it as Web Application.

On Wednesday, February 24, 2016 at 2:44:17 PM UTC-8, Nick (Cloud Platform 
Support) wrote:
>
> It appears that some code you are attempting to use (possibly in a 
> library?) is attempting to access javax.servlet.FilterChain, which, as 
> described, is disallowed by the GAE runtime environment. Could you share 
> some more details about your project?
>
> On Tuesday, February 23, 2016 at 8:14:46 PM UTC-5, J Han wrote:
>>
>>
>> I am new to Google App Engine. When try to use it, I immediately hit this 
>> exception. I have googled that problem and found a couple of solutions. But 
>> none of the solutions applied to my case. 
>> Anyone have idea what could be wrong?
>>
>> I am use Java8, Eclipse Luna, and installed Google plugin to my Eclipse. 
>> See attached screenshot gae-1.jpg.
>> I created a web Application Project and run it as Web Application. See 
>> attached gae-2.jpg.
>>
>> When I point my browser to http://localhost:/gaeservlet, it returns 
>> HTTP 500 error. And there is exception in my Eclipse application console:
>>
>> Feb 23, 2016 5:03:10 PM java.util.prefs.WindowsPreferences 
>> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at 
>> root 0x8002. Windows RegCreateKeyEx(...) returned error code 5.
>> 
>> There is a new version of the SDK available.
>> ---
>> Latest SDK:
>> Release: 1.9.32
>> Timestamp: Thu Dec 10 11:32:34 PST 2015
>> API versions: [1.0]
>>
>> ---
>> Your SDK:
>> Release: 1.9.30
>> Timestamp: Wed Nov 04 17:09:48 PST 2015
>> API versions: [1.0]
>>
>> ---
>> Please visit https://developers.google.com/appengine/downloads for the 
>> latest SDK.
>> 
>> Feb 23, 2016 5:03:12 PM 
>> com.google.appengine.tools.development.SystemPropertiesManager 
>> setSystemProperties
>> INFO: Overwriting system property key 'java.util.logging.config.file', 
>> value 
>> 'C:\eclipse\plugins\com.google.appengine.eclipse.sdkbundle_1.9.30\appengine-java-sdk-1.9.30\config\sdk\logging.properties'
>>  
>> with value 'WEB-INF/logging.properties' from 
>> 'C:\Users\jhan\workspace\GaeServlet\war\WEB-INF\appengine-web.xml'
>> Feb 23, 2016 5:03:12 PM com.google.apphosting.utils.jetty.JettyLogger info
>> INFO: Logging to JettyLogger(null) via 
>> com.google.apphosting.utils.jetty.JettyLogger
>> Feb 23, 2016 5:03:12 PM com.google.apphosting.utils.jetty.JettyLogger info
>> INFO: jetty-6.1.x
>> Feb 23, 2016 5:03:13 PM com.google.apphosting.utils.jetty.JettyLogger info
>> INFO: Started SelectChannelConnector@127.0.0.1:
>> Feb 23, 2016 5:03:13 PM 
>> com.google.appengine.tools.development.AbstractModule startup
>> INFO: Module instance default is running at http://localhost:/
>> Feb 23, 2016 5:03:13 PM 
>> com.google.appengine.tools.development.AbstractModule startup
>> INFO: The admin console is running at http://localhost:/_ah/admin
>> Feb 23, 2016 5:03:13 PM 
>> com.google.appengine.tools.development.DevAppServerImpl doStart
>> INFO: Dev App Server is now running
>> Feb 23, 2016 5:03:21 PM com.google.apphosting.utils.jetty.JettyLogger warn
>> WARNING: Error for /gaeservlet
>> java.lang.NoClassDefFoundError: javax.servlet.FilterChain is a restricted 
>> class. Please see the Google  App Engine developer's guide for more details.
>> at 
>> com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:52)
>> at 
>> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
>> at 
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>> at 
>> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:125)
>> at 
>> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
>> at 
>> com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectRequest(DevAppServerModulesFilter.java:366)
>> at 
>> com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectModuleRequest(DevAppServerModulesFilter.java:349)
>> at 
>> com.google.appengine.tools.development.DevAppServerModulesFilter.doFilter(DevAppServerModulesFilter.java:116)
>> at 
>> org.mortbay.jett

Re: [google-appengine] Re: Why are cloud endpoints so slow ?

2014-11-15 Thread J Jones
Not sure if Google Endpoints are serious or not.  My appengine instance is 
warm and serving http request very quickly.  However, my endpoints are 
ranging from 3 seconds to 9 seconds... the endpoint just returns a 
hardcoded object so there's 0 happening there.  What a joke.

On Thursday, 12 June 2014 22:57:50 UTC+2, Jun Yang wrote:
>
> On Thu, Jun 12, 2014 at 1:38 PM, Robert King  > wrote:
>
>> Hi Jun, 
>> Thanks so much for answering these questions - it's very helpful.
>> What does the additional frontend API layer do? 
>>
>
> It turns your simple backend into a full blown Google API.
>
> What's the performance impact?
>>
>
> Up to tens of milliseconds typically.
>
>>   -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Google App Engine" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-appengine/3XGJFaosX9s/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> google-appengi...@googlegroups.com .
>> To post to this group, send email to google-a...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google App Engine SDK 1.7.6 is now available!

2013-03-21 Thread j . rebhan
Go for Windows  is currently still at 1.7.5.1 (Filename 32 bit: 
go_appengine_sdk_windows_386-1.7.5.1.zip),
 and the Version File is at 1.7.5.
I assume synchronization will take still some time !

Cheers !
Rusco



El martes, 19 de marzo de 2013 21:12:42 UTC, Janani Thanigachalam escribió:
>
> Hi everyone,
>
> We're happy to announce that we released the 1.7.6 SDK.
>
> This release includes new features such as Full Text Search API stats, 
> experimental asynchronous methods to Task Queue API and improvements to the 
> Python dev_appserver,
>
> For more details, please read our blog post and release notes.
>
> Announcement:
> http://googleappengine.blogspot.com/2013/03/app-engine-176-released.html
>
> Releae notes for Python:
> http://code.google.com/p/googleappengine/wiki/SdkReleaseNotes
>
> Release notes for Java:
> http://code.google.com/p/googleappengine/wiki/SdkForJavaReleaseNotes
>
> Release notes for Go:
> https://code.google.com/p/googleappengine/wiki/SdkForGoReleaseNotes
>
> Enjoy!
>
> Janani Thanigachalam
> Technical Program Manager
> Google App Engine
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: App Engine Endpoints release date??

2013-01-11 Thread J Jones
I would like to know too.

Google - do you have a date ???

On Jan 1, 6:19 pm, OrKazaz  wrote:
> Does anybody know if there is a release date for the Endpoints feature??

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



[google-appengine] Re: gae blobstore 502 error

2012-10-04 Thread Alejandro J Gómez López
Thx for answering.

Of course i upload to the generated url, and all goes good with small 
files. But, when i try with a big file (1,5G for example) after some 
minutes throw this error.

Im desesperated. thx.

El jueves, 4 de octubre de 2012 03:47:02 UTC+2, Stuart Langley escribió:
>
> you need to upload to the URL generated by calling 
> blobstore.create_upload_url
>
> On Thursday, 4 October 2012 09:25:26 UTC+10, Alejandro J Gómez López wrote:
>>
>> Im'm trying to upload big files to blobstore using curl.
>>
>> Sample: 
>> curl -F file=@file.sample http://id.appspot.com/upload_url/
>>
>> But always throw me this error (502 error).
>>
>> 502. Thatâs an error.
>> The server encountered a temporary error and could not complete your 
>> request.Please try again in 30 seconds.  Thatâs all we know.
>>
>> I don't know wat to do :(
>>
>> thx in advance for the help :)
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/DXWom9YAw_cJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: orphaned gae application

2012-10-03 Thread Alejandro J Gómez López
Please, no ideas.
No google boys?

:(

El miércoles, 12 de septiembre de 2012 11:45:26 UTC+2, Alejandro J Gómez 
López escribió:
>
> I have a gae application without administrator.
> It's because we delete de administrator account from the google apps 
> control panel, so i need to add a new one administrator.
>
> I was searching for this during days without success.
>
> Any help?!
>
> Thanks in advance. =)
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/s7KXzhKMV44J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] gae blobstore 502 error

2012-10-03 Thread Alejandro J Gómez López
Im'm trying to upload big files to blobstore using curl.

Sample: 
curl -F file=@file.sample http://id.appspot.com/upload_url/

But always throw me this error (502 error).

502. Thatâs an error.
The server encountered a temporary error and could not complete your 
request.Please try again in 30 seconds.  Thatâs all we know.

I don't know wat to do :(

thx in advance for the help :)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/j7LHssUn04kJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] orphaned gae application

2012-09-12 Thread Alejandro J Gómez López
I have a gae application without administrator.
It's because we delete de administrator account from the google apps 
control panel, so i need to add a new one administrator.

I was searching for this during days without success.

Any help?!

Thanks in advance. =)

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/zI58Soun7RgJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: orphaned app - no access - seriously

2012-08-27 Thread Alejandro J Gómez López
El lunes, 26 de octubre de 2009 18:33:26 UTC+1, Jeff S (Google)  escribió:
> Hi Bassil,
> 
> What is the app ID for this app? Also, could you send me the email address of 
> the old admin account which was deleted, and a new account that you would 
> like to have as an admin? Feel free to email this to me directly.
> 
> 
> Thank you,
> 
> Jeff
> 
> 
> On Fri, Oct 23, 2009 at 11:48 AM, Bassil Karam  wrote:
> 
> 
> 
> Can anyone from Google un-orphan my account?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> On Mon, Oct 19, 2009 at 11:22 AM, Bassil Karam  wrote:
> 
> > That's interesting, I wonder what the proper solution to stuff like this is.
> 
> > For example, what should Google do if someone decided to delete an account
> 
> > that is associated with a service like App Engine? Should they:
> 
> >
> 
> > Disallow the deletion of an account until it is completely dis-associated
> 
> > with any Google services? Would be good, but it also seems like it would be
> 
> > technically challenging because the services seem to be very separate from
> 
> > each other, with their own sub-systems and ways of managing accounts.
> 
> > Delete all services associated with the account? This will just cause lots
> 
> > of anger as entire web presences are wiped out because someone accidentally
> 
> > deleted the wrong account.
> 
> > Automatically re-associate orphaned services with functional admin accounts?
> 
> > Seems good, but what if its not an apps account? What if there isn;t another
> 
> > obvious account to associate it with? What happens if it's not an apps
> 
> > account but a lone regular google account?
> 
> >
> 
> > Its a complex issue but the current hodge-podge patch-work solution
> 
> > of disallowing people from easily adding / deleting / editing / merging
> 
> > accounts, except in some cases, but not others - as well as, not being able
> 
> > to *ever* retrieve previously used accounts - or the bifurcation of Apps
> 
> > accounts and standard google accounts - is seriously not working. A huge,
> 
> > top-down re-factoring of all the systems is needed to fix all these issues.
> 
> > I hope it is in the works.
> 
> > Baz
> 
> >
> 
> >
> 
> > On Mon, Oct 19, 2009 at 11:02 AM, johnP  wrote:
> 
> >>
> 
> >> Don't have a solution - but had a similar experience.
> 
> >>
> 
> >> I used my appengine credentials as the admin login to a newly created
> 
> >> Apps account.  As soon as I did this, I was unable to login to
> 
> >> Appengine (got an error - you will are being redirected in a way that
> 
> >> will never complete).  So when I deleted the user from the Apps
> 
> >> account - I was able to re-access my Appengine account.
> 
> >>
> 
> >> I think that's the opposite of what happened to you... So I don't know
> 
> >> what to suggest in your case.
> 
> >>
> 
> >> johnP
> 
> >>
> 
> >>
> 
> >>
> 
> >> On Oct 19, 10:26 am, Bassil Karam  wrote:
> 
> >> > We have an Apps account in which we created the user ad...@mydomain.com.
> 
> >> > We
> 
> >> > then used that account to create an App Engine application. A little
> 
> >> > while
> 
> >> > later, we deleted ad...@mydomain.com and replaced it with a couple of
> 
> >> > user-sepcific administrator accounts like b...@mydomain.com and
> 
> >> > s...@mydomain.com (both admins). The problem is now we can't seem to
> 
> >> > access
> 
> >> > our App Engine application - I am assuming because it is related to the
> 
> >> > now
> 
> >> > non-existent ad...@mydomain.com account. We tried to re-create
> 
> >> > ad...@mydomain.com, but Apps doesn't let you re-create recently deleted
> 
> >> > accounts. So as it stands, I believe my App Engine account is orphaned,
> 
> >> > without any possibility for access.
> 
> >> >
> 
> >> > Anyone know of a solution tot his?
> 
> >> >
> 
> >> > Thanks.
> 
> >> >>
> 
> >
> 
> >

I have the same issue, my app_id: securempresa
the new admin: ago...@securempresa.com

Thx

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/sQVunbqUhpQJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Boston Google App Engine Developers Group

2012-08-09 Thread J Singh
Hi everyone,

I hope it is OK to post this message here. I'm one of the organizers of Boston 
Google App Engine Developers  and 
wanted to inform local developers and businesses about the community.

   - Feel free to join the group using the link above.
   - We're always looking for speakers for future meetings. If interested, 
   please *reply to me directly*.


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/8TUa4VFFzo4J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Google App Engine community support is moving to Stack Overflow

2012-03-28 Thread j
-1 for moving to stackoverflow. Why do we need another site? I have been 
using Google groups for years, no issues so far. What do we get by moving 
to stakoverflow? Does it work on Android tablet or something else that we 
need to know that is so special about it?

On Monday, February 13, 2012 3:49:47 PM UTC-5, Ikai Lan wrote:
>
> Supercobra,
>
> I share your concerns about streamlining the user experience. As it 
> stands, the user experience isn't great: you have groups, StackOverflow, 
> billing issues forms, abuse forms, the public issues tracker, Google 
> Groups, Reddit ... I could probably go on. The move to StackOverflow isn't 
> necessarily  making things more complicated, as our documentation will to 
> updated to reflect that it is the primary destination for code questions - 
> and in exchange, the Python/Java groups will be placed into read-only. 
> We've done this with other products at Google such as Android and 
> experienced overwhelming success - not only will App Engine Java questions 
> be exposed to developers following App Engine, they will also be exposed to 
> tens of thousands of Java developers on StackOverflow. And the tooling! The 
> tooling will allow us to identify where we need better learning resources, 
> or where the product needs improvements. We could certainly build this 
> ourselves, but that detracts from our ability to answer questions, launch 
> features, and improve the documentation. There are always tradeoffs in 
> those scenarios. 
>
> Hope this helps,
>
> --
> Ikai Lan 
> Developer Programs Engineer, Google App Engine
> plus.ikailan.com
>
>
>
> On Mon, Feb 13, 2012 at 11:04 AM, Gregory D'alesandre wrote:
>
>> Hi Mos,
>>
>> Google is absolutely committed to App Engine and part of the reason we 
>> are moving the Java/Python groups to StackOverflow is to have better, more 
>> consolidated answers to questions.  While it might be possible for Google 
>> to build its own tool tailed to questions and answers, we really like 
>> StackOverflow in part because it is where a lot of developers go in general 
>> to get answers to questions.  As I've talked about on this group before, we 
>> currently have essentially 2 support options: Premier Accounts (for 
>> $500/month) or StackOverflow / Groups where the community can support it 
>> and Googlers will sometimes answer questions.  The first has an SLA and the 
>> second does not.  So, in response to Google investing in better enterprise 
>> support, I hope that answers the question.  
>>
>> In terms of the concern that this means we are trying to deprecate App 
>> Engine.  I can honestly and frankly say that there are no plans to do so, 
>> quite the opposite, we are growing!  Right now we are trying to consolidate 
>> a variety of places to get answers into 1 to improve how people get 
>> questions answered.  We are keeping this group (google-appengine) because 
>> it is a great place for discussions, but when it comes to asking a question 
>> and getting an answer, we believe StackOverflow is a product more suited to 
>> do this.
>>
>> Johan and Ikai both work on the App Engine team so their word is as 
>> official as mine, but I figured hearing it from more people might help.
>>
>> Greg D'Alesandre
>> Senior Product Manager, Google App Engine
>>
>> PS - Nice app Andrin, I'm already signed up! :)
>>
>>
>> On Mon, Feb 13, 2012 at 6:35 AM, Mos  wrote:
>>
>>> +111
>>> absolute agreement;   I would like to hear an official statement from 
>>> Google regarding long time commitment to GAE ( incl. plans regarding 
>>> adequate support options).
>>>
>>> Google, has the best developers in the world. It has so much money to 
>>> burn. It has the best internet-infrastructure on this planet.
>>> If Google would like, I'm sure a self implemented "StackOverflow" for 
>>> Google-Products would be ready in three month from now.
>>> And now they decide to outsource this one to the .NET based 
>>> StackOverflow, that just lost his founder and brain Jeff Atwood?
>>>
>>> That really doesn't look like Google has any plans to invest in better 
>>> enterprise support or make GAE a first class Google product.
>>>
>>> I hope I'm wrong
>>>
>>>
>>> On Sun, Feb 12, 2012 at 12:21 AM, Supercobra Thatbytes <
>>> superco...@gmail.com> wrote:
>>>
 I think this is a terrible idea because it makes people check 2 places 
 and subscribe to 2 boards. Newcomers to this discussion will have a hard 
 time knowing about this.

 App Engine team does put enough resources for community and customer 
 support. I have a paid app and I cannot get my simple billing questions 
 answered. In the billing interface, there is no link or phone # to use. 
 Just a link to this forum... unless we pay become a Premier Account for 
 $500 / month but first we need to talk to the sales team. Really? So 
 desperate users in need of urgent help post questions on forums and if 
 they 
 make enough noise and show enough distress, 

[google-appengine] Deployment stuck at "INFO: Successfully processed"

2012-03-28 Thread j
We have upgraded to GAEJ 1.6.4 today, and found that the deployment is
stuck at "INFO: Successfully processed" e.g.

0% Created staging directory at: 'c:\temp
\appcfg2293963006887644422.tmp'
5% Scanning for jsp files.
8% Compiling jsp files.
Mar 28, 2012 4:33:17 PM
com.google.apphosting.utils.config.AbstractConfigXmlRead
er readConfigXml
INFO: Successfully processed c:\temp\appcfg2293963006887644422.tmp\WEB-
INF/web.xml

Is there any debug setting that we can turn on to see what appcfg is
hanging at ?

Thanks.

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



[google-appengine] Deployment stuck at "INFO: Successfully processed"

2012-03-28 Thread j
We have upgraded to GAEJ 1.6.4 today, and found that the deployment is
stuck at "INFO: Successfully processed" e.g.

0% Created staging directory at: 'c:\temp
\appcfg2293963006887644422.tmp'
5% Scanning for jsp files.
8% Compiling jsp files.
Mar 28, 2012 4:33:17 PM
com.google.apphosting.utils.config.AbstractConfigXmlRead
er readConfigXml
INFO: Successfully processed c:\temp\appcfg2293963006887644422.tmp\WEB-
INF/web.xml

Is there any debug setting that we can turn on to see what appcfg is
hanging at ?

Thanks.

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



Re: [google-appengine] Re: Outages?

2012-03-13 Thread j
Ikai,

I have not moved to HRD yet. But I am pretty sure I am the only user of my 
application. However, ever since couples of days back, not only that it is 
slow but I kept on running out of quota, despite the fact that I turned on 
the billing. I have switched off billing yesterday as it didn't help me.

Can I get a refund? The request is due to the fact that I am hitting the 
app less than 20 times per day, and I run out of quotas. Enabled billing 
didn't help. I am perplexed with a single user, how would it be possible to 
exhaust 0.05 million operations? see below as an example -

Datastore Read Operations
[image: 100%]
100%0.05 of 0.05 Million Ops0.00$0.70/ Million Ops$0.00

I don't want publish my appid, if you would like to know, I get text you at 
your google voice number. If that helps.

Thanks for any reply.

On Monday, March 12, 2012 2:52:29 PM UTC-4, Ikai Lan wrote:
>
> Hi Riley,
>
> That's a legitimate question, and one that we haven't officially answered 
> yet. It's certainly the direction that things have been moving simply due 
> to the nature of production management. Given that the SLA applies to HRD 
> and not master/slave applications, you are definitely going to get a better 
> quality of service migrating to HRD. In fact, I strongly advise that you do 
> so. 
>
> One challenge that we have when dealing with issues is to decide whether 
> we should do emergency maintenance that requires downtime. With any 
> production system, it's not always guaranteed that maintenance will result 
> in issues being completely resolved, which would be really bad for app 
> developers. At what threshold do we determine that a downtime with no 
> guarantee of addressing the issues is worthwhile? Global 0.1% error rate? 
> 1%? The call is not always clear cut because those errors may not be evenly 
> distributed, and the impact may be huge, or it may be small. With 
> master/slave applications, we do what we can to address the short term 
> symptoms as well as the underlying system issues without impacting serving, 
> which is often an order of magnitude more difficult (It kind of reminds me 
> of that scene in Indiana Jones where he takes an artifact, swapping it with 
> a bag of sand as quickly as possible to try to avoid setting off traps. 
> Pillaging of historic artifacts is way easier when it's not dangerous, not 
> speaking from personal experience). When your application runs on High 
> Replication, the call is easy: there's no downtime required in 99% of 
> cases, so we perform the maintenance right away because if it doesn't 
> address the issue, there's no serving downtime for users.
>
> If you're not subscribed to downtime-notify, I recommend that you do so. 
> Announcements like this will NOT and never will be moving to StackOverflow:
>
>
> https://groups.google.com/forum/?fromgroups#!forum/google-appengine-downtime-notify
>
> We may be announcing a maintenance in the very near future that will 
> impact the serving of master/slave applications.
>
> --
> Ikai Lan 
> Developer Programs Engineer, Google App Engine
> plus.ikailan.com
>
>
>
> On Mon, Mar 12, 2012 at 9:46 AM, Riley  wrote:
>
>> Ikai, it sounds like support for HR apps is being prioritized.  Is that 
>> the case? Should we expect that to be the case in the future? Sorry if 
>> that's documented somewhere already~
>>
>> Riley
>>
>>
>> On Monday, March 12, 2012 11:44:59 AM UTC-5, Riley wrote:
>>>
>>> Our appid is activegrade, we use the m/s datastore, and get from 0-10 
>>> QPS throughout the day.  Normally we have 1-4 instances running, but since 
>>> this seems *mostly* related to startup, we dedicated 10 idle resident 
>>> instances to run all the time.  This covers us a little, but still, when a 
>>> user triggers a new instance, they get the 60+ second wait and then an 
>>> error. Ugh!  Our costs are relatively minor - about $20 a day now that we 
>>> are running these 10 ordinarily unnecessary instances - but this is a big 
>>> cost for us, and embarrassing too.
>>>
>>> On Tuesday, March 6, 2012 3:17:37 PM UTC-6, Adam Sherman wrote:

 Am I the only one seeing short duration outages? They are being 
 reflected at:

 http://code.google.com/status/**appengine

 But I don't see anyone else complaining anywhere, so it makes me 
 worried.

 A.

  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/google-appengine/-/VzKRK5UG96MJ.
>>
>> To post to this group, send email to google-appengine@googlegroups.com.
>> To unsubscribe from this group, send email to 
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at 
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engin

Re: [google-appengine] Is external MySQL database integration possible with Google Apps

2012-03-09 Thread Shaw J
Thanks Barry

On Monday, March 5, 2012 9:51:36 AM UTC-6, barryhunter wrote:
>
> This is a Group for Google AppEngine. This is different to Google Apps.
>
> Start here
> http://code.google.com/googleapps/support/
> to find the right group.
>
> (But I think you want the Provisioning API
>
> http://code.google.com/googleapps/domain/provisioning_API_v2_developers_guide.html
> )
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/lwaYA5HJuDMJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Is external MySQL database integration possible with Google Apps

2012-03-05 Thread Shaw J
Greetings:

I am trying to figure out if the following is possible with Google Apps 
API's / SDK

We have a Php/Mysql application that we want to link to Google Apps 

(a) When we add a user in Php/MySql, we want that user to be added in 
google apps.  (The user name to be crea...@domain.name (not @gmail.com) ; 
the password for the newly created user;  the user name of an admin account 
that has the rights to create a user in that domain ; password for the 
admin account )

(b) There are two other pieces of user specific data in the Php/MySQL 
application that we want to display in users screen in Google Apps
This can be done as a batch process (if doing it in real time is 
challenging)
For example, in Php/MySQL, we can export the data into a format that that 
the google api can read and bring in as a google doc for that user in 
google apps.

Thanks SJ

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/bUR61W2dZuMJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] logging.error() messages don't appear in admin console

2011-12-14 Thread J. Maurice
Dear App Engine Gurus,

A few days ago, one of my python apps stopped logging all messages passed 
to the logging.{error,warn,info,debug} methods. Is there any limit or 
cutoff point where an app will stop logging messages? I even made a 
simplified test script just to test logging:

import logging
print 'Content-Type: text/plain'
print ''
print 'calling logging.info()'
logging.info(u'log test')
print 'OK!'

On the app in question, only the request line is shown, and no log is 
displayed:
[14/Dec/2011:14:19:30 -0800] "GET /hello HTTP/1.1" 200 73 - "Opera/9.80 
(Macintosh; Intel Mac OS X 10.7.2; U; en) Presto/2.10.229 Version/11.60" 
"app1.appspot.com"

However, if I deploy the same exact hello.py to another app, it logs 
without any issue:

[14/Dec/2011:14:26:33 -0800] "GET /hello HTTP/1.1" 200 72 - "Opera/9.80 
(Macintosh; Intel Mac OS X 10.7.2; U; en) Presto/2.10.229 Version/11.60" 
"app2.appspot.com"
I 2011-12-14 12:26:33.798
log test

Why would this happen for only one of my applications? Other applications 
log just fine in the admin console, but not this one.

Thank you...

J. Maurice

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/HE8pK8HeU1cJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: How to determine datastore reads?

2011-10-16 Thread J
I agree.  As I originally posted, I'm having difficulty figuring out where 
the datastore reads are coming from.  I installed AppStats, and it shows 3 
"RunQuery"s and one "memcache.Get" per request.  So does this mean each 
request results in 3 datastore reads?  

Also, isn't memcache backed by the datastore?  So does this mean gets from 
memcache result in a datastore read?

Any have a better idea of how I can figure out where my datastore reads are 
coming from?  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/xeuJzGl4jpYJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: How to determine datastore reads?

2011-10-13 Thread J
Anyone know a way I can profile my app to see where my datastore reads are 
coming from?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/HohHHRXvFmUJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: How to determine datastore reads?

2011-10-12 Thread J
Not really.  I have one COUNT query that is run during the aforementioned 
cron job (which runs once every 60 minutes now).  But the # of entities for 
that type is very low, typically between 1-10, so I wouldn't think the COUNT 
query would add too many reads.

Is there something about COUNT queries that I should be aware of?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/pbvWQjpMw2wJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] How to determine datastore reads?

2011-10-11 Thread J

Since GAE has released the comparison billing for the new pricing model, 
I've been trying to "optimize" my app to reduce costs.  I was initially over 
the free quota limits for datastore reads and writes.  I was able to lower 
the datastore writes to fall under the free tier by eliminating certain 
writes and also by eliminating unnecessary indexes on certain properties.

But unfortunately, I can't seem to figure out where the reads are coming 
from.  I initially thought the reads were mostly coming from two cron jobs 
that I have configured:

1) A job that ran every 1 minute to query for and delete "expired" objects 
for 1 of my entities.  
2) A job that ran every 1 minute to clean up old session entities.  I'm 
actually using the com.google.apphosting.utils.servlet.SessionCleanupServlet 
to do this (which I found somewhere online). BTW - is there a better way to 
remove old sessions?

I changed both jobs to run every 60 minutes instead (thinking this would 
make a huge difference) but my datastore reads are still high and not too 
different from previous numbers.

I've also examined my app (not a lot of code) and don't see where I could be 
making so many datastore reads.

Anyone know how I can profile my app to see where datastore reads are coming 
from?  BTW I'm using the Java version of GAE.

Thanks,
J

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/CbY_y7385gYJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] How to get free tier?

2011-09-23 Thread J
Maybe I'm the only one but I find the new pricing page incredibly confusing 
to read: http://www.google.com/enterprise/cloud/appengine/pricing.html

It looks like there's still a free tier, but it doesn't include usage based 
pricing, infinite scalability, and SLA.  My question is how do I get the 
free tier?  Is this setting somewhere?  Or is this determined automatically 
by GAE?

If I use the free tier (once I figure out how), and it doesn't include usage 
based pricing or infinite scalability, what actually happens when I exceed 
free quota limits (in regards to usage based pricing) or if traffic spikes 
(in regards to infinite scalability)?

Thanks,
J

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/Gej5oDRF-6oJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Receiving mail at appspotmail.com. Message size limits, address filtering, spam protection?

2011-06-09 Thread J C
I am sending an email to the *.appspot.mail address with a 7 meg attachment, 
and it's bouncing every time -- but not for other smaller files I've tested. 
 Seems like there might be message size limits after all.  I don't know why 
google wouldn't publish this information if there is a limit?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/6BbUVukbHOoJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Appengine prohibits accessing resources in jars?

2011-06-06 Thread Alex J
Hi everyone!

I'm trying to deploy my web app driven with Spring. My app spring
context configuration file references configuration placed in other
jars, like this:


http://www.springframework.org/schema/beans";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
   xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd";>




- Where /spring/rcr-service-appengine.xml is a file in the separate
jar that is placed into the resultant war file.

While this war works fine on Jetty and on the local gae installation,
it failed to operate after being deployed on the appengine site.
The app log mentions the following error:


org.springframework.web.context.ContextLoader
initWebApplicationContext: Context initialization failed
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Failed to import bean definitions from relative
location [service/appengine-service-config.xml]
Offending resource: class path resource [spring/application-
context.xml]; nested exception is
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Failed to import bean definitions from URL
location [classpath:/spring/rcr-service-appengine.xml]
Offending resource: class path resource [spring/service/appengine-
service-config.xml]; nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException:
IOException parsing XML document from class path resource [spring/rcr-
service-appengine.xml]; nested exception is
java.io.FileNotFoundException: class path resource [spring/rcr-service-
appengine.xml] cannot be opened because it does not exist


I don't know how to debug or workaround this problem, cause it works
on the local appengine installation.
Am I missed something with regarding to security configuration or
whatever that prevents IO subsystem to load file?

My appengine-web.xml looks as follows (nothing extraordinary):



http://appengine.google.com/ns/1.0";
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance"
   xsi:schemaLocation="http://appengine.google.com/ns/
1.0 
http://googleappengine.googlecode.com/svn/branches/1.2.1/java/docs/appengine-web.xsd";>
rr1234
test2



true


Please, help!

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



Re: [google-appengine] Receiving mail at appspotmail.com. Message size limits, address filtering, spam protection?

2011-06-02 Thread J C
"Security through obscurity" is really the only way?  

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/Qkg2dHQteVktRGNK.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Receiving mail at appspotmail.com. Message size limits, address filtering, spam protection?

2011-06-02 Thread J C
If I configure my app to respond to mail, is there any way to prevent a 
malicious user from spamming that address to drive up my incoming bandwidth 
and cpu costs?  Also, is there a message size limit when sending to the app?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/MkJiMFktcTRwZ1VK.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: What do you want to see answered in Greg's pricing FAQ?

2011-05-16 Thread J Jones
FAQ Question suggestions:

- Does the Instance Hour pricing as opposed to now means GAE is now
unaffordable for part time hackers e.g. college students, those
working on self funded projects in their spare time?  What is Google's
position on this?

- Did GAE provide sufficient information that such a fundamental shift
in the way apps are charged was a possibility, when folk signed up to
GAE . Such detail may have influenced many folks switch to GAE in the
first place.

On May 14, 5:03 am, Kayode Odeyemi  wrote:
> how does the instance work? If I have multiple modules in one app, how
> many instance is that? Or does it just mean that for as long as my app
> is a singleton, no matter the amount of modules I have, it is still a
> single instance.
>
> At what point is Google distributing my app unto more than one server,
> which will definitely cause more than one instance? Is it possible to
> control the instances created? I mean like force App Engine to manage
> resources within a fixed number of instances instead of trying to be
> so perfect (unmanaged) that it costs me lots of money.
>
> Greg, I'll be looking forward to your answers on these FAQs because
> I'll be giving a talk on Google App Engine at upcoming CloudCamp
> event.
>
> Regards
>
> On 5/12/11, Kenneth  wrote:
>
>
>
>
>
>
>
>
>
> > Greg mentioned he was putting together anFAQso let's help him out!
>
> > If you're going to answer this just put in your question into a single line,
> > let's not try and answer them here or give opinions, there's plenty of other
> > threads for that. I do understand that Google doesn't have answers to some
> > these.
>
> > Here's my list:
>
> > 1) What is the time granularity of the instance pricing?  ie if I have an
> > instance up for 5 minutes, what am I charged, $0.08 / 60*5?
> > 2) Will I be able to tune the scheduler myself, ie set it to performance or
> > low cost,  Will I be able to limit the min or max number of instances
> > created (with the obvious impact on user experience)?
> > 3) Python concurrency, will this require any code changes, do you have any
> > estimates based on your testing of the number of well behaved requests per
> > second a single instance will be able to handle for a given framework?
> > 4) Database charges, when can you give us more details over what Max gave in
> > the other thread, are you charging for deletes, what do you expect the ratio
> > to be between the new pricing metric and the Datastore API calls metric we
> > have today?
> > 5) Will you be charging differently for instances that use different amounts
> > of memory, since this seems to be the cost that you're going after that
> > isn't charged for in the current model.
>
> > Thanks,
> > Kenneth
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Odeyemi 'Kayode O.http://www.sinati.com. t: @charyorde

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



[google-appengine] Re: Task queue operation while datastore is in readonly mode.

2011-03-24 Thread J
Another thing to remember is that a put coming from the task queue may
overwrite a put that got done after the datastore came back to life
but before the task queue did the put. See this post for more:
http://stackoverflow.com/questions/3800263/fail-safe-datastore-updates-on-app-engine


On Mar 24, 1:33 pm, Calvin  wrote:
> You can add new tasks while the datastore is in readonly mode. If you
> attempt to write to the datastore from the task it will fail, and unless you
> catch the exception it throws, it will get retried periodically.
>
> Once the datastore comes out of readonly mode the task will complete, unless
> you've got some other problem in there.
>
> One thing you've got to remember is that you can only put 10k of data into a
> task.

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



[google-appengine] Re: Interested in giving us your thoughts on App Engine?

2011-02-11 Thread J
Presumably most of the services offered here would be optional to
buy?

Document Search and SSL were two features on the survey and /some/ of
the proposed prices were quite reasonable. My company currently offers
SSL for GAE (until Google comes up with theirs) and our prices are in
the middle of the range suggested in the survey. Seeing those
suggested prices wasn't particularly an OMG moment. Frankly, I can't
wait till Google comes up with the service.

The consulting and issue resolution services are another matter. Some
of us make our living by providing that service and I would like to
see Google do more to promote the services that the ecosystem provides
rather than try and take it over.

On Feb 10, 11:56 pm, James Broberg  wrote:
> I'd recommend any/all app developers to go over and have look. I don't
> want to get all worked up on something that hasn't happened yet but
> some of the price points mooted in this survey are positively eye
> watering. I'm happy to put my name to the feedback I left and I'd be
> curious to see what others think.
>
> --
> Honestly, the types of prices you are flagging here are pretty
> concerning, even at the low end, and I can see it becoming
> uneconomical very quickly once you add a few of these services on to
> your account. I'd expect a substantial improvement in performance to
> go along with these prices.
>
> It moves well away from the metered billing approach that is used now.
> At the very least I'd like to see some packaging of these advanced
> capabilities at a discount instead of getting nickeled and dimed for
> them individually.
>
> As a GAE/J dev, it would lead me to seriously consider porting my app
> to EC2/Beanstalk or other alternatives. When it is more cost effective
> to run 4-5 instances 24/7 on EC2 (even if they are idle half the time)
> than run my app on GAE then your doing it wrong.
> --
>
> -James
>
> On 11 February 2011 10:34, Gregory D'alesandre  wrote:
>
>
>
>
>
>
>
> > Hello All,
> > I'm one of the Product Managers on App Engine at Google.  We are in the
> > process of working on a number of features that you, our users, have been
> > requesting for App Engine but, while this is happening, we wanted to get
> > some additional thoughts and feedback!  We've put an anonymous survey
> > together, it is purely voluntary but the information from it will help us
> > make decisions about the future of App Engine.
> > Survey: https://spreadsheets.google.com/a/google.com/viewform?authkey=COPt99s...
> > Thank you all in advance for your time and thoughts!
> > Greg Dalesandre
> > Product Manager, Google App Engine
> > Privacy disclosure: Survey data will be handled in accordance with Google's
> > Privacy Policy <http://www.google.com/intl/en/privacy/privacy-policy.html>.
> > Your email address will not be collected and will not be associated with
> > your survey answers
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appengine@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] Exploding Indexes

2011-02-07 Thread J
Under discussion of exploding indexes,
http://code.google.com/appengine/docs/python/datastore/queries.html#Big_Entities_and_Exploding_Indexes,
the documentation says "To accurately represent these values, the
index must store 12 property values".

Could someone please enumerate the 12 property values that must be
stored? It seems I'm missing something.

Thanks.

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



[google-appengine] Re: Problem with my code!

2010-12-23 Thread Kevin J
That was great, and now it works!
Thank you!

On Dec 23, 2:26 pm, Eli Jones  wrote:
> Have you read the "Many to Many" section of this article:
>
> http://code.google.com/appengine/articles/modeling.html
>
> <http://code.google.com/appengine/articles/modeling.html>
>
>
>
>
>
>
>
> On Wed, Dec 22, 2010 at 11:06 PM, Kevin J  wrote:
> > I have this code:
>
> > -
>
> > class Group(db.Model):
> >  leader = db.UserProperty()
> >  description = db.StringProperty(multiline=False)
> >  name = db.StringProperty(multiline=False)
>
> > class Person(db.Model):
> >  email = db.UserProperty()
> >  groups = db.ListProperty(db.ReferenceProperty(Group))
>
> > class Message(db.Model):
> >  content = db.StringProperty(multiline=True)
> >  group = db.ReferenceProperty(Group)
> >  writer = db.ReferenceProperty(Person)
> >  date = db.DateTimeProperty(auto_now=True)
>
> > 
>
> > and this line is giving me an error:
>
> >  groups = db.ListProperty(db.ReferenceProperty(Group))
>
> > Here is my call stack:
>
> > 
>
> > Traceback (most recent call last):
> >  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> > \dev_appserver.py", line 3245, in _HandleRequest
> >    self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
> >  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> > \dev_appserver.py", line 3186, in _Dispatch
> >    base_env_dict=env_dict)
> >  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> > \dev_appserver.py", line 531, in Dispatch
> >    base_env_dict=base_env_dict)
> >  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> > \dev_appserver.py", line 2410, in Dispatch
> >    self._module_dict)
> >  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> > \dev_appserver.py", line 2320, in ExecuteCGI
> >    reset_modules = exec_script(handler_path, cgi_path, hook)
> >  File "C:\Program Files\Google\google_appengine\google\appengine\tools
> > \dev_appserver.py", line 2216, in ExecuteOrImportScript
> >    exec module_code in script_module.__dict__
> >  File "C:\Documents and Settings\robodoggy\My Documents\coolkevapp
> > \MainPage.py", line 31, in 
> >    class Person(db.Model):
> >  File "C:\Documents and Settings\robodoggy\My Documents\coolkevapp
> > \MainPage.py", line 33, in Person
> >    groups = db.ListProperty(db.ReferenceProperty(Group))
> >  File "C:\Program Files\Google\google_appengine\google\appengine\ext
> > \db\__init__.py", line 2971, in __init__
> >    raise TypeError('Item type should be a type object')
> > TypeError: Item type should be a type object
>
> > -
>
> > What I'm trying to do is to create a list of groups that each person
> > belongs to. As you can see, it dislikes me having a list of Groups.
>
> > Does anyone know an alternative way to do this?
>
> > -
>
> > Sorry if I wasn't clear with something. Ask and I'll answer.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.> To post to this group, send email 
> > togoogle-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email 
> > to>google-appengine+unsubscr...@googlegroups.com
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] Problem with my code!

2010-12-23 Thread Kevin J
I have this code:

-

class Group(db.Model):
  leader = db.UserProperty()
  description = db.StringProperty(multiline=False)
  name = db.StringProperty(multiline=False)

class Person(db.Model):
  email = db.UserProperty()
  groups = db.ListProperty(db.ReferenceProperty(Group))

class Message(db.Model):
  content = db.StringProperty(multiline=True)
  group = db.ReferenceProperty(Group)
  writer = db.ReferenceProperty(Person)
  date = db.DateTimeProperty(auto_now=True)



and this line is giving me an error:

  groups = db.ListProperty(db.ReferenceProperty(Group))

Here is my call stack:



Traceback (most recent call last):
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 3245, in _HandleRequest
self._Dispatch(dispatcher, self.rfile, outfile, env_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 3186, in _Dispatch
base_env_dict=env_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 531, in Dispatch
base_env_dict=base_env_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 2410, in Dispatch
self._module_dict)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 2320, in ExecuteCGI
reset_modules = exec_script(handler_path, cgi_path, hook)
  File "C:\Program Files\Google\google_appengine\google\appengine\tools
\dev_appserver.py", line 2216, in ExecuteOrImportScript
exec module_code in script_module.__dict__
  File "C:\Documents and Settings\robodoggy\My Documents\coolkevapp
\MainPage.py", line 31, in 
class Person(db.Model):
  File "C:\Documents and Settings\robodoggy\My Documents\coolkevapp
\MainPage.py", line 33, in Person
groups = db.ListProperty(db.ReferenceProperty(Group))
  File "C:\Program Files\Google\google_appengine\google\appengine\ext
\db\__init__.py", line 2971, in __init__
raise TypeError('Item type should be a type object')
TypeError: Item type should be a type object

-

What I'm trying to do is to create a list of groups that each person
belongs to. As you can see, it dislikes me having a list of Groups.

Does anyone know an alternative way to do this?

-

Sorry if I wasn't clear with something. Ask and I'll answer.

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



[google-appengine] Re: Is it possible to add Expiry headers to static files ?

2010-11-23 Thread J
Adding them is easy, as Robert indicated.

But be careful, not everything in the infrastructure respects them.
Perhaps I should have said, respects them too much. If you have a
static file header that is supposed to expire next Sunday, and update
the file before that time, the infrastructure is not required to serve
the latest version of the file since the expiry header has not expired
yet.

To get around this, you should implement some kind of a cache buster
(Google the term) unless the static files are truly static.

On Nov 23, 3:14 pm, Robert Kluin  wrote:
> Yes.
>
> Python:
>  http://code.google.com/appengine/docs/python/config/appconfig.html#St...
>
> Java:
>  http://code.google.com/appengine/docs/java/config/appconfig.html#expi...
>
> Robert
>
>
>
>
>
>
>
> On Tue, Nov 23, 2010 at 11:11, vamsi  wrote:
> > Hi all ,
> > Is it possible to add Expiry headers to static files ?
>
> > Regards
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] Re: Let's defend GAE!

2010-11-22 Thread J
The acid test: would you recommend GAE to a friend?

I certainly would. GAE has helped me get my business off the ground
with an ROI that is unbeatable. Yes, it doesn't do everything. The
pieces it does not do can be done elsewhere (e.g., Amazon) and hooked
in. For example, for SSL, one can set up a proxy server on Amazon (see
http://wp.me/poqXr-5I). Using urlfetch, one can integrate pretty much
any service that is available on the web.

But if you want (or need) to fool around with your own OS, install
security patches, do your own backups, install your own software,
program in some of the unsupported programming languages or program
against a more familiar database, then GAE is not the right technology
for the job.

The best defense is not a rebuttal of negative things written about
App Engine. The best defense is an active and visible ecosystem. App
Engine does have that.

What could we do to improve it and publicize it more?

On Nov 21, 11:02 pm, "Vanni.T"  wrote:
> I completely agree with you, Daniel. GAE is not for everyone!
>
> What I dislike more about the article are the outdated info, the
> anti-Google hype and the RTFM rule violation.
> I am not an a-priori fan, I like people making good things and working
> hard, and it seems to me that the GAE dev team is doing it the right
> way.
> Yes, SSL on custom domains is still missing, but hey they are working
> on it right now... is it true, Ikai? :)

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



[google-appengine] Re: SSL for my App

2010-11-11 Thread J
Johan, I had posted a solution to this problem a while ago:
http://blog.earlystageit.com/2010/07/14/gae-proxy/

In the past I've been ambivalent about providing it as a service
rather than just posting instructions for DIY folks. Lately warming up
to the idea again.

On Nov 11, 6:10 am, Johan Pretorius 
wrote:
> Hi
>
> Appspot supports SSL for anyone's app by default. 
> i.e.https://applicationID.appspot.com
>
> Problem is I want to use any number of 
> subdomainshttps://subdomain.applicationID.appspot.com
>
> (I want to set a NameSpace per subdomain. A subdomain will represent a
> client.)
>
> Firefox gives me "This connection is untrusted"
>
> Any solutions ?

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



[google-appengine] Re: GoogleAppEngine-1.3.8.msi No Work on my Windows XP

2010-10-23 Thread J
The problem has nothing to do with 1.3.8 or with Google.

Every time it has happened to me, this fixes it:
http://www.add-in-express.com/creating-addins-blog/2007/11/12/windows-installer-error-2908/

HTH.

On Oct 23, 5:00 pm, Darien Caldwell  wrote:
> I have had this happen when I tried running the install package from
> an encrypted drive, or a networked drive. It seems to be because it's
> self check bypasses the usual Windows file reading and the contents it
> checks is not decrypted or somehow corrupted.
>
> Moving the install file to a local unencrypted hard drive seemed to
> solve it.

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



[google-appengine] Weird Upload Errors

2010-10-18 Thread J
Hi,

Hopefully someone can shed some light on this: all of a sudden, I
started receiving '409' errors. For example,


...
...
Will check again in 32 seconds.
Checking if new version is ready to serve.
Will check again in 60 seconds.
Checking if new version is ready to serve.
Will check again in 60 seconds.
Checking if new version is ready to serve.
Will check again in 60 seconds.
Checking if new version is ready to serve.
Will check again in 60 seconds.
Checking if new version is ready to serve.
2010-10-18 16:14:18,997 INFO appcfg.py:1814 HTTP Error (HTTP Error
409: Conflict)
Rolling back the update.
Error 409: --- begin server output ---
No transaction is in progress.
--- end server output ---

It has happened a couple of times already.

Thanks in advance.

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



[google-appengine] Re: Latency related follow up

2010-10-04 Thread J
kg,

I have been using GAE for a couple of years now and this is a highly
unusual situation. GAE has been a very successful product IMHO.

Whether recent events are a one-time situation or whether GAE has
become a victim of its own success is hard to say.

Speaking only for myself and my fledgling business, I intend to stick
with it.

As for what one can do, we do a fair amount of exception handling and
retry in the code. When testing, we go to the extent of injecting
random datastore errors and making sure the integrity of the data is
preserved. It gets expensive to do so, and we don't do as much as I
would like, but the investment has been worth it.

HTH.

On Oct 3, 10:42 pm, kg  wrote:
> My service launched on 9/14 just the day after 9/13 when the
> maintenance happened.  20% of my requests fail due to the following
> error today...And this just happens every day.
>
> W 10-03 07:02PM 45.207
> Request was aborted after waiting too long to attempt to service your
> request. This may happen sporadically when the App Engine serving
> cluster is under unexpectedly high or uneven load. If you see this
> message frequently, please contact the App Engine team.
>
> I have seen Google acknowledge that the issue is still ongoing and
> that they are working to fix it, which is certainly good to hear.
>
> My question though is:
> Are these errors a fact of life on GAE or just this worse since 9/13
> maintenance?
>
> It pains to me such a powerful platform ridden with these issues and
> kicking myself here but I am hoping to hear it is after 9/13
> maintenance.
>
> Is there anything an app developer could do to mitigate this issue
> other than retrying (which is usually end users really doing the
> trying or may simply abandon your service)?

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



[google-appengine] Re: Better way to implement many-to-many relationship

2010-08-26 Thread J
I'm a huge fan of Nick Johnson's method
http://blog.notdot.net/2009/9/Distributed-Transactions-on-App-Engine.

As originally written, it establishes links between two entities of
the same class but it is trivial to extend it to linking entities of
different classes. What I like about this model is that (a) it is
maximally sharded and minimizes resource contention and (b) the links
can be established atomically so the data store will maintain
consistency.

So for example to create a link between user and community, we define
a "Role" class (equivalent to Nick's Transfer class) that represents
that link.

As for storage costs, who cares?

On Aug 24, 5:44 pm, Eli Jones  wrote:
> Here is Brett Slatkin's IO talk from last year that starts off discussing
> ListProperty and why one might want to use it instead of a usual one-to-many
> model [though, it also points out that I don't know what I'm talking about
> :) since like Jeff mentioned, CPU is used up serializing, deserializing the
> List and it is not the same underneath as the usual one-to-many model.. so
> it seems my intuition is suspect. ]:
>
> http://www.youtube.com/watch?v=AgaL6NGpkB8
>
> The audio is fried for the first
> few minutes but eventually kicks in.. (just watch captions until then).
>
>
>
> On Tue, Aug 24, 2010 at 4:30 PM, skin  wrote:
> > Thanks a lot Eli for sharing your thoughts on this. So what you are
> > suggesting is that I can do with  just List communitiesJoined in
> > User class.
>
> > I need not  have a mapping of users enrolled in community in Community
> > class. And whenever i need to retrieve the list of users in a
> > community, I should do select query with like Select * from Users
> > where communityId in List of communities. Ain't this going to impact
> > the response time to a greater extent?
>
> > I think there has to be a trade-off between memory utilization and
> > response time depending on the requirement. Is there some research
> > done on which will be faster or some sample application which can show
> > us which technique will be better.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] Re: SDK 1.3.6 released!

2010-08-19 Thread J
Not using django-appengine-patch; remote_api only being used pretty
much as documented here: 
http://code.google.com/appengine/articles/remote_api.html

Thanks in advance, Ikai.


On Aug 19, 1:31 pm, "Ikai L (Google)"  wrote:
> Users running into issues with fancy_urllib: are you running
> django-appengine-patch?
>
>
>
>
>
> On Thu, Aug 19, 2010 at 10:23 AM, Spines  wrote:
> > I did some performance testing on the new high performance image
> > serving that uses getServingUrl.
>
> > If anyones interested I wrote about it here:
>
> >http://www.answercow.com/q/304002/app-engines-high-performance-image-...
>
> > On Aug 18, 11:45 am, Spines  wrote:
> > > Thank you App Engine Team! I had been struggling with how I would get
> > > a decent solution for displaying lots of thumbnail images on one page,
> > > and with this release and the getServingUrl function, it seems like my
> > > problems are solved!
>
> > > On Aug 17, 2:19 pm, "Ikai L (Google)"  wrote:
>
> > > > Hey guys,
>
> > > > This is just a heads up that App Engine SDK version 1.3.6 is officially
> > > > released! Read more about it here:
>
> > > >http://googleappengine.blogspot.com/2010/08/multi-tenancy-support-hig.
> > ..
>
> > > > Release notes are below:
>
> > > > Java 1.3.6
>
> > > >    - Multitenancy is now supported in the datastore, allowing better
> > > >    compartmentalization of user data.
> > > >    - Automatic image thumbnailing is now available in the Images API
> > using
> > > >    getServingUrl.
> > > >    - Users can now serve custom static error pages for over_quota,
> > > >    dos_api_denial and default cases.
> > > >    - Results of datastore count() queries and offsets for all datastore
> > > >    queries are no longer capped at 1000.
> > > >    - Added a pause queue button to the task queue details page in the
> > Admin
> > > >    Console.
> > > >    - Historical graphs have been added to all of the dashboard graphs
> > in the
> > > >    Admin Console.
> > > >    - Content-range headers are supported on Blobstore downloads.
> > > >    - New method to allocate datastore ids in a given range:
> > > >    allocateIdRange()
> > > >    - The app.yaml format is supported with Java applications.
> > > >    - Increased several rate limited quotas for free applications.
> > > >    - Fixed an issue that did not allow forms of over 200,000 bytes to
> > be
> > > >    submitted.
> > > >       -http://code.google.com/p/googleappengine/issues/detail?id=1608
>
> > > > Python 1.3.6
>
> > > >    - Multitenancy is now supported in the datastore, allowing better
> > > >    compartmentalization of user data.
> > > >    - Automatic image thumbnailing is now available in the Images API
> > using
> > > >    get_serving_url().
> > > >    - Users can now serve custom static error pages for over_quota,
> > > >    dos_api_denial and default cases.
> > > >    - Results of datastore count() queries and offsets for all datastore
> > > >    queries are no longer capped at 1000.
> > > >    - Added a pause queue button to the task queue details page in the
> > Admin
> > > >    Console.
> > > >    - Historical graphs have been added to all of the dashboard graphs
> > in the
> > > >    Admin Console.
> > > >    - Content-range headers are supported on Blobstore downloads.
> > > >    - Remote API now supports the Blobstore API.
> > > >    - New method to allocate datastore ids in a given range:
> > > >    db.allocate_id_range().
> > > >    - New db method is_in_transaction() determines if a transaction is
> > still
> > > >    open.
> > > >    - Increased several rate limited quotas for free applications.
> > > >    - Fixed an issue in db.py where unindexed property lists for
> > > >    user-specified property names were ignored.
> > > >    - Fixed an issue where the task queue uses local time instead of UTC
> > time
> > > >    to compute job ETA.
> > > >       -http://code.google.com/p/googleappengine/issues/detail?id=2508
> > > >    - Fixed an issue in the SDK with datastore cursors being too large.
> > > >       -http://code.google.com/p/googleappengine/issues/detail?id=3152
>
> > > > --
> > > > Ikai Lan
> > > > Developer Programs Engineer, Google App Engine
> > > > Blog:http://googleappengine.blogspot.com
> > > > Twitter:http://twitter.com/app_engine
> > > > Reddit:http://www.reddit.com/r/appengine
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine

-- 
You received this message because you are subscribed to 

[google-appengine] Re: SDK 1.3.6 released!

2010-08-19 Thread J
I switched to it yesterday but had to switch back to 1.3.5 due to an
issue with remote_api: Issue 178: ImportError: No module named
fancy_urllib.

Hopefully the issue will be fixed before 1.3.6 becomes mandatory?

On Aug 17, 5:19 pm, "Ikai L (Google)"  wrote:
> Hey guys,
>
> This is just a heads up that App Engine SDK version 1.3.6 is officially
> released! Read more about it here:
>
> http://googleappengine.blogspot.com/2010/08/multi-tenancy-support-hig...
>
> Release notes are below:
>
> Java 1.3.6
>
>    - Multitenancy is now supported in the datastore, allowing better
>    compartmentalization of user data.
>    - Automatic image thumbnailing is now available in the Images API using
>    getServingUrl.
>    - Users can now serve custom static error pages for over_quota,
>    dos_api_denial and default cases.
>    - Results of datastore count() queries and offsets for all datastore
>    queries are no longer capped at 1000.
>    - Added a pause queue button to the task queue details page in the Admin
>    Console.
>    - Historical graphs have been added to all of the dashboard graphs in the
>    Admin Console.
>    - Content-range headers are supported on Blobstore downloads.
>    - New method to allocate datastore ids in a given range:
>    allocateIdRange()
>    - The app.yaml format is supported with Java applications.
>    - Increased several rate limited quotas for free applications.
>    - Fixed an issue that did not allow forms of over 200,000 bytes to be
>    submitted.
>       -http://code.google.com/p/googleappengine/issues/detail?id=1608
>
> Python 1.3.6
>
>    - Multitenancy is now supported in the datastore, allowing better
>    compartmentalization of user data.
>    - Automatic image thumbnailing is now available in the Images API using
>    get_serving_url().
>    - Users can now serve custom static error pages for over_quota,
>    dos_api_denial and default cases.
>    - Results of datastore count() queries and offsets for all datastore
>    queries are no longer capped at 1000.
>    - Added a pause queue button to the task queue details page in the Admin
>    Console.
>    - Historical graphs have been added to all of the dashboard graphs in the
>    Admin Console.
>    - Content-range headers are supported on Blobstore downloads.
>    - Remote API now supports the Blobstore API.
>    - New method to allocate datastore ids in a given range:
>    db.allocate_id_range().
>    - New db method is_in_transaction() determines if a transaction is still
>    open.
>    - Increased several rate limited quotas for free applications.
>    - Fixed an issue in db.py where unindexed property lists for
>    user-specified property names were ignored.
>    - Fixed an issue where the task queue uses local time instead of UTC time
>    to compute job ETA.
>       -http://code.google.com/p/googleappengine/issues/detail?id=2508
>    - Fixed an issue in the SDK with datastore cursors being too large.
>       -http://code.google.com/p/googleappengine/issues/detail?id=3152
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine

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



[google-appengine] Re: AppStats missing for some urls

2010-08-17 Thread j...@unusuallycool.com
More info on this problem...

With my latest update I modified the servlet that wasn't getting
logged to use the memcache. Now, it only does its real work once every
10 minutes, and any calls in between it just sends the cached results.
The calls where it only uses the cache are showing up in appstats. The
calls that don't use the cache are missing.

The servlet in question does one special query to get the count of
entities of a certain kind, and then 2 normal queries for entities.

So it looks like it might have something to do with the special query?
(querying __Stat_Kind__ and getting the count property) does that make
appstats fail maybe?

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



[google-appengine] AppStats missing for some urls

2010-08-17 Thread j...@unusuallycool.com
I have AppStats set up on my app. It seems to be working correctly,
except that the stats for some of my urls are missing. I am using /*
for the url-pattern. Also in the admin console I am seeing the
"Appstats available..." log entry for these urls. But when I go to the
appstats viewer, they aren't there.

I also tried changing the url-pattern so that it explicitly gets only
the one url I'm interested in.  That has the same results, though. In
the admin console log, I see the "Appstats available" log message, but
no data in the appstats viewer for it.

I was using appstats before a while ago to debug a problem I had, and
that time I was using a different url-pattern. Could it possibly be
stuck with the old settings or something?

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



[google-appengine] Re: HTTPS on my own domain

2010-08-04 Thread J
Some of our experiences as well as hints for implementing an https
reverse proxy are documented here: http://wp.me/poqXr-5I. The
performance numbers are from measurements done this past weekend.
There is room for improvement and we hope to be able to report on them
in the future. Suggestions for improvements are welcome.

TL, thanks for the caution. Gave me the idea to access static files
using by using abc.appspot.com as the host URL instead of www.abc.com.
So those accesses still use https but not the reverse proxy.

On Jul 19, 9:29 pm, TL  wrote:
> A word of caution:
>
> When using your own proxy, some of the performance advantages and
> features of app engine will not be available.
> For example, static files: “App Engine serves static files from
> separate servers than those that invoke 
> servlets”http://code.google.com/appengine/docs/java/gettingstarted/staticfiles...
> Now its your proxy that is serving those static files, unless you use
> different URL schemes for files. So if app engine has edge caching or
> a CDN for those files, you will not benefit from it.
>
> It is also unclear whether DOS attack will take into account proxied
> IPs (set in X-Forwarded-For header). Whether it is or not, you need to
> handle DOS attacks on your proxy yourself.
>
> In other words, proxying diminishes some of the advantages of using
> app engine over other hosting options. So the real solution is that
> google supportsHTTPSby allocating IPs to customers that opt in (as
> opposed to TLS).

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



[google-appengine] Re: AppEngine importError with Reportlab

2010-07-31 Thread J
As long as the fonts directory is kept separately under /src, the rest
of ReporLab can be packaged into a zip and used through ZipImport.

HTH.

On Jul 31, 7:33 am, Arun Shanker Prasad 
wrote:
> Hi,
>
> As mentioned above you need to put the Report lab module in the root
> of your application, just under the folder src.
>
> Also most of the issue mentioned in that issue tracker deals with the
> issue of using ReportLab with ZipImport, please note that issue is
> still not resolved. The best option right now is to use ReportLab
> without zipping it.
>
> Thanks,
> Arun Shanker Prasad
>
> On Jul 27, 4:32 am, Tim Hoffman  wrote:
>
>
>
> > Hi
>
> > For starters if your a newbie  please use python2.5, that is what is
> > supported by the production environment.
> > Secondly reportlab will need to be in your project not in your python
> > install (not sure if you have done this or not).
>
> > I would get those 2 things sorted before you go any further.
>
> > Rgds
>
> > T
>
> > On Jul 27, 5:26 am, xerife  wrote:
>
> > > I´m a newbie, started using App engine about a mounth and am
> > > developing a project.
> > > This project makes use of a library reportlab
> > > I´ve googled a lot and I am desperate because I can not import the
> > > module successfully.
> > > Settings:
> > > Python 2.7
> > > Helios Eclipse
> > > Appengine SDK version 1.3.5
> > > Windows 7 x64
>
> > > Errors:
> > > Traceback (most recent call last):
> > >   File "C: \ Users \ HP \ Documents \ Teaching cv \ src \
> > > principal.py", line 4, in 
> > >     import canvas from reportlab.pdfgen
> > > ImportError: No module named reportlab.pdfgen
>
> > > Question:
> > > Where to put ReportLab?
> > > within the Python lib / site-packages? or within the application?
> > > You need to edit any file? If yes, what and how?
>
> > > Note: I've seen this 
> > > trackerhttp://code.google.com/p/googleappengine/issues/detail?id=1085.
>
> > > Please help, i´m stucked with this

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



[google-appengine] Re: About Datastore

2010-07-15 Thread George J. SUN
I mean I want to use PHP and Database in my server and use Java in
GAE.

Thanks for your suggestions in database.

George

On Jul 13, 3:52 am, Robert Kluin  wrote:
> If you want to build your own server and write the code in PHP, why
> don't you just use MongoDB, Cassandra, CouchDB, or some other similar
> project?
>
> If you like Python and you want to have something like AppEngine, but
> you need to run it own your own servers, look at TyphoonAE.  It is an
> excellent project.
>
> Robert
>
> On Sun, Jul 11, 2010 at 6:02 AM, George J. SUN  wrote:
>
>
>
> > Hi everyone,
>
> > I am a school and try to do a project via GAE. I learnt Datastore was
> > good at queries and reading.
>
> > But in my project, there are several robots on GAE getting and
> > processing some data from Internet and a PHP website(not on GAE
> > because of Chinese Internet fact) is for user to get the data.
> > The robots are mostly like spiders, but the data in Internet is not
> > updated very frequently. The website is not a search engine but just
> > like a summarizer.
>
> > Is Datastore or MySQL Okay for my project? Can I build my own
> > datastore in my own server? How can I use datastore via PHP?
>
> > Thank you!
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] Re: About Datastore

2010-07-15 Thread George J. SUN
Good ideas! Thank you!

On Jul 13, 3:01 am, Pieter Coucke  wrote:
> The datastore could to be a fit for this. You can use the development
> environment which has a local datastore on your own server for testing.
> You can access the datastore with php if your php calls a webservice running
> on App Engine which then reads from the datastore and returns datastore
> results (as XML for example).
>
> You can use App Engine task queues for the spiders.
>
> On Sun, Jul 11, 2010 at 12:02 PM, George J. SUN  wrote:
>
>
>
>
>
> > Hi everyone,
>
> > I am a school and try to do a project via GAE. I learnt Datastore was
> > good at queries and reading.
>
> > But in my project, there are several robots on GAE getting and
> > processing some data from Internet and a PHP website(not on GAE
> > because of Chinese Internet fact) is for user to get the data.
> > The robots are mostly like spiders, but the data in Internet is not
> > updated very frequently. The website is not a search engine but just
> > like a summarizer.
>
> > Is Datastore or MySQL Okay for my project? Can I build my own
> > datastore in my own server? How can I use datastore via PHP?
>
> > Thank you!
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Pieter Coucke
> Onthoo BVBAhttp://www.onthoo.comhttp://www.koopjeszoeker.be

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



[google-appengine] Re: About Datastore

2010-07-15 Thread George J. SUN
Thank you! I mean using PHP in normal server and run my 'spiders'(in
Java) in GAE. I am puzzled in choosing the database.

On Jul 13, 3:18 am, Jaroslav Záruba  wrote:
> > How can I use datastore via PHP?
>
> You can't run PHP antively on GAE, so (in my noob opinion) the "official"
> answer would be 'No, you have to write the data manipulation code in Java or
> Python'
>
> However, there's something called
> Quercus<http://www.caucho.com/resin-3.0/quercus/>which supposedly
> allows PHP-code to run in Java.
>
> On Mon, Jul 12, 2010 at 9:01 PM, Pieter Coucke 
> wrote:
>
>
>
> > The datastore could to be a fit for this. You can use the development
> > environment which has a local datastore on your own server for testing.
> > You can access the datastore with php if your php calls a webservice
> > running on App Engine which then reads from the datastore and returns
> > datastore results (as XML for example).
>
> > You can use App Engine task queues for the spiders.
>
> > On Sun, Jul 11, 2010 at 12:02 PM, George J. SUN wrote:
>
> >> Hi everyone,
>
> >> I am a school and try to do a project via GAE. I learnt Datastore was
> >> good at queries and reading.
>
> >> But in my project, there are several robots on GAE getting and
> >> processing some data from Internet and a PHP website(not on GAE
> >> because of Chinese Internet fact) is for user to get the data.
> >> The robots are mostly like spiders, but the data in Internet is not
> >> updated very frequently. The website is not a search engine but just
> >> like a summarizer.
>
> >> Is Datastore or MySQL Okay for my project? Can I build my own
> >> datastore in my own server? How can I use datastore via PHP?
>
> >> Thank you!
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "Google App Engine" group.
> >> To post to this group, send email to google-appeng...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> google-appengine+unsubscr...@googlegroups.com >>  e...@googlegroups.com>
> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > Pieter Coucke
> > Onthoo BVBA
> >http://www.onthoo.com
> >http://www.koopjeszoeker.be
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] About Datastore

2010-07-12 Thread George J. SUN
Hi everyone,

I am a school and try to do a project via GAE. I learnt Datastore was
good at queries and reading.

But in my project, there are several robots on GAE getting and
processing some data from Internet and a PHP website(not on GAE
because of Chinese Internet fact) is for user to get the data.
The robots are mostly like spiders, but the data in Internet is not
updated very frequently. The website is not a search engine but just
like a summarizer.

Is Datastore or MySQL Okay for my project? Can I build my own
datastore in my own server? How can I use datastore via PHP?

Thank you!

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



[google-appengine] Re: HTTPS on my own domain

2010-07-02 Thread J
I didn't. Too afraid of cookie hijacking.

See http://en.wikipedia.org/wiki/HTTP_cookie#Cookie_hijacking. To
quote, "However a large number of websites, although using encrypted
https communication for user authentication (i.e. the login page),
subsequently send session cookies and other data over ordinary,
unencrypted http connections for performance reasons. Attackers can
therefore easily intercept the cookies of other users and impersonate
them on the relevant websites or use them in a cookiemonster attack."

We don't use any cookies until the user logs in and once they log in,
we stay on https for all traffic. Hopefully we don't run into
performance problems. While we consider the http channel and the https
channel to be completely separate, the common elements are the App
Engine (and the browser). We'd probably do the sharing in the
application code on App Engine if we get backed into a corner for
performance reasons.

Perhaps someone else on this list has a suggestion?

On Jul 1, 4:27 pm, TL  wrote:
> How did you do the session cookie transfer from the HTTPS domain to
> the HTTP domain? Is this something you can configure in app engine?
>
> Was it possible to log in using HTTPS all the way to app engine and
> then transfer the session to the HTTP server using a redirect?
>
> On Jul 1, 3:50 am, J  wrote:
>
>
>
> > I tried it last year using Squid on EC2 as a proof of concept. It
> > worked well.

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



[google-appengine] Re: HTTPS on my own domain

2010-07-01 Thread J
I tried it last year using Squid on EC2 as a proof of concept. It
worked well.

Now I'm in the process of putting it in production. Phil, I'd be happy
to compare notes next week or so if you wish.

On Jul 1, 2:52 am, TL  wrote:
> You would need to set this HTTP proxy outside of app engine. For
> example, Squid on amazon EC2. The proxy would be set as reverse proxy,
> and should point to your appspot secure domain (to ensure that you
> have HTTPS connection all the way to your app). I imagine you would
> also need to tell app engine to make your app accessible on 
> bothwww.mydomain.comand secure.mydomain.com (via the proxy). You should
> also harden the configuration of the proxy to ensure that it allows
> only the URLs that must be on HTTPS, such as the login form
> submission, but not other URLs.
>
> Your session cookies need to be configured to move between the
> domains, and over HTTP and HTTPS. This may not be that simple to
> configure.
> Having said all that, I did not actually try it, I am not sure that it
> would work. When I write this is starts looking to me like a big can
> of worms.
>
> On Jun 30, 11:01 am, Phil  wrote:
>
>
>
> > Does anyone have experience setting up an https capable proxy?  I
> > don't even know where to start.  Searching found a number of proxy
> > lists and instructions to setup a regular http proxy.  Maybe I'm not
> > looking for the right thing here?
>
> > Thanks!
> > Phil

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



[google-appengine] Re: Static files in newly deployed version not available in the apps domain. (Major problem)

2010-06-05 Thread J
Our ISP is Verizon.

Here are the TraceRoutes:

C:\Users\Jitendra>tracert qa.connectscholar.com

Tracing route to ghs.l.google.com [74.125.113.121]
over a maximum of 30 hops:

  1<1 ms<1 ms<1 ms  Wireless_Broadband_Router.home
[192.168.1.1]
  2 7 ms 6 ms 7 ms  L100.BSTNMA-VFTTP-86.verizon-gni.net
[98.110.150.1]
  3 9 ms 9 ms 7 ms  G1-0-786.BSTNMA-LCR-07.verizon-gni.net
[130.81.110.244]
  412 ms10 ms11 ms  so-0-3-0-0.BOS-BB-RTR1.verizon-gni.net
[130.81.29.252]
  522 ms20 ms21 ms  so-9-1-0-0.NY325-BB-RTR1.verizon-
gni.net [130.81.19.70]
  689 ms19 ms18 ms  0.so-0-0-0.XL3.NYC4.ALTER.NET
[152.63.1.41]
  717 ms19 ms18 ms  0.xe-5-0-0.BR3.NYC4.ALTER.NET
[152.63.16.181]
  822 ms19 ms19 ms  te-7-0-0.edge2.NewYork2.level3.net
[4.68.110.69]
  919 ms18 ms19 ms  vlan51.ebr1.NewYork2.Level3.net
[4.69.138.222]
 1031 ms28 ms29 ms  ae-3-3.ebr2.Washington1.Level3.net
[4.69.132.89]
 1138 ms34 ms36 ms  ae-92-92.csw4.Washington1.Level3.net
[4.69.134.158]
 1227 ms25 ms26 ms  ae-4-99.edge1.Washington1.Level3.net
[4.68.17.208]
 1328 ms29 ms83 ms  GOOGLE-
INC.edge1.Washington1.Level3.net [4.79.231.6]
 1428 ms26 ms26 ms  209.85.241.50
 1539 ms39 ms59 ms  209.85.248.75
 1655 ms56 ms55 ms  209.85.243.25
 1755 ms54 ms53 ms  209.85.251.228
 1855 ms ** 72.14.236.193
 1956 ms55 ms54 ms  vw-in-f121.1e100.net [74.125.113.121]

Trace complete.

C:\Users\Jitendra>tracert charityaxis-qa.appspot.com

Tracing route to appspot.l.google.com [72.14.204.141]
over a maximum of 30 hops:

  1 1 ms<1 ms<1 ms  Wireless_Broadband_Router.home
[192.168.1.1]
  2 8 ms 6 ms 6 ms  L100.BSTNMA-VFTTP-86.verizon-gni.net
[98.110.150.1]
  311 ms10 ms10 ms  G1-0-786.BSTNMA-LCR-07.verizon-gni.net
[130.81.110.244]
  410 ms11 ms11 ms  so-0-3-0-0.BOS-BB-RTR1.verizon-gni.net
[130.81.29.252]
  520 ms19 ms19 ms  so-9-1-0-0.NY325-BB-RTR1.verizon-
gni.net [130.81.19.70]
  617 ms18 ms19 ms  0.so-0-0-0.XL3.NYC4.ALTER.NET
[152.63.1.41]
  720 ms69 ms21 ms  0.xe-5-0-0.BR2.NYC4.ALTER.NET
[152.63.18.5]
  817 ms18 ms18 ms  xe-10-2-0.edge2.NewYork2.level3.net
[4.68.110.233]
  919 ms18 ms18 ms  vlan51.ebr1.NewYork2.Level3.net
[4.69.138.222]
 1029 ms27 ms28 ms  ae-3-3.ebr2.Washington1.Level3.net
[4.69.132.89]
 1136 ms36 ms26 ms  ae-92-92.csw4.Washington1.Level3.net
[4.69.134.158]
 1230 ms32 ms26 ms  ae-3-89.edge1.Washington1.Level3.net
[4.68.17.144]
 1328 ms29 ms28 ms  GOOGLE-
INC.edge1.Washington1.Level3.net [4.79.22.38]
 1430 ms30 ms31 ms  209.85.240.136
 1536 ms31 ms35 ms  66.249.94.54
 1629 ms28 ms26 ms  iad04s01-in-f141.1e100.net
[72.14.204.141]

Trace complete.

C:\Users\Jitendra>

On Jun 4, 6:23 pm, "Ikai L (Google)"  wrote:
> Can you guys run a traceroute on your domains vs. the appspot domain?
>
> E.g:
>
> traceroute qa.connectscholar.com
> traceroute charityaxis-qa.appspot.com
>
> If you're on Windows, the equivalent command is "tracert".
>
> I'm curious if there's an ISP or specific Google Frontend that is acting up.
>
> On Thu, Jun 3, 2010 at 2:02 PM, Ikai L (Google)  wrote:
>
>
>
> > You should still be billed for bandwidth. The advantage of using edge
> > caching is that if the resource is being served from the datastore or
> > dynamically generated via some other means, you will not incur CPU costs.
>
> > On Thu, Jun 3, 2010 at 12:55 PM, Ross M Karchner 
> > wrote:
>
> >> Partially off-topic---  if GFE serves a cached resource, do we get billed
> >> for the bandwidth?
>
> >> On Wed, Jun 2, 2010 at 3:27 PM, Ikai L (Google) wrote:
>
> >>> Okay, looks like the Google Front-End is kicking in to cache your stuff
>
> >>> Server  Google Frontend
> >>> Content-Length  2834
> >>> Age     41
> >>> Cache-Control   public, max-age=600
>
> >>> Are you guys setting this header anywhere? Unfortunately, there's no way
> >>> to invalidate items in the frontend cache, so you'll have to use a cache
> >>> buster or wait for the TTL to expire.
>
> >>> On Wed, Jun 2, 2010 at 12:22 PM, J  wrote:
>
> >>>> That's interesting, Rafael. I wonder why it serves correctly for you.
>
> >>>> They are still different from my PoV.
>
> >>>> The bad side headers:
> >>>> Etag    "74EQOA"
> >>>> Date    Tue, 01 Jun 2010 18:12:57 GMT
> >>>> Expires Sat, 05 Jun 2010 02:12:57 GMT
> 

[google-appengine] Re: Static files in newly deployed version not available in the apps domain. (Major problem) - issue raised

2010-06-04 Thread J
A couple of closing-out notes from our vantage point in Massachusetts.

First, even though the cache for one of our files was not supposed to
expire until June 5, it was serving the correct content as of late
June 3. Whether it was an ISP issue or a GFE issue, we will never
know.

Second, we have deployed the technique recommended by Donovan and hope
to never see this problem again.

Finally, a bouquet of virtual flowers for Ikai. Thanks for jumping on
the problem and helping us put a solution in place.

On Jun 3, 7:43 pm, Tim Hoffman  wrote:
> Hi Ikae
>
> We couldn't leave the production environment in place with the broken
> urls.
> So have already deployed a version with args on the end of all css/js
> urls.
>
> I don't believe it was an ISP issue.  We tried accessing the site
> from 5 different ISP's in Australia when we first discovered the
> problem.
>
> Maybe you behind googles infrastructure can't see the issue. More than
> a few people have posted
> links exhibiting the problem in the list (and they aren't in
> Australia).
>
> We have a full test instance in gae as well but we haven't been
> mapping it do a domain to date.
> As we have never experienced this issue before. (Site went live mid
> last yearwww.polytechnic.wa.edu.au)
>
> Rgds
>
> T
>
> On Jun 4, 1:49 am, "Ikai L (Google)"  wrote:
>
>
>
> > Tim, can you provide 2 URLs that are doing this?
>
> > I'm still trying to reproduce the problem. Could an ISP be caching these
> > files?
>
> > On Thu, Jun 3, 2010 at 10:02 AM, Tim Hoffman  wrote:
> > > Hi
>
> > > Not to bad an idea.
>
> > > At the moment all of our templates use '/css/some_file.css'
> > > rather than including hosts.  So we don't need to make changes between
> > > code bases
> > > or have to lookup what the host should be, (in light of the issue we
> > > may well have to change that strategy)
>
> > > For the moment we  just add ? to the end of the css/js
> > > files that are changing, and will probably set up a script to be run
> > > prior to appcfg, to increment
> > > these values.  All the css/js is referenced in just a couple of main
> > > templates (zpt)
>
> > > Rgds
>
> > > T
>
> > > On Jun 3, 10:17 pm, J  wrote:
> > > > Tim, what we ended up doing was a bit different. We have qa.abc.com
> > > > pointing to xyz-qa.appspot.com.
>
> > > > We did not change file names as was recommended -- that would be a
> > > > pain in the rear to manage. But we took advantage of the fact that xyz-
> > > > qa.appspot.com delivers content correctly. We changed references to /
> > > > scripts/pqr.js tohttp://xyz-qa/appspot.com/scripts/pqr.js.
>
> > > > It was faster to put in place and it buys us some time until we can
> > > > come up with something better.
>
> > > > Hope that helps.
>
> > > > On Jun 2, 7:44 pm, Tim Hoffman  wrote:
>
> > > > > Hi
>
> > > > > I have raised an issue for this
>
> > > > >http://code.google.com/p/googleappengine/issues/detail?id=3297
>
> > > > > Rgds
>
> > > > > T
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google App Engine" group.
> > > To post to this group, send email to google-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com > >  e...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > Ikai Lan
> > Developer Programs Engineer, Google App Engine
> > Blog:http://googleappengine.blogspot.com
> > Twitter:http://twitter.com/app_engine
> > Reddit:http://www.reddit.com/r/appengine

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



[google-appengine] Re: Static files in newly deployed version not available in the apps domain. (Major problem) - issue raised

2010-06-03 Thread J
Tim, what we ended up doing was a bit different. We have qa.abc.com
pointing to xyz-qa.appspot.com.

We did not change file names as was recommended -- that would be a
pain in the rear to manage. But we took advantage of the fact that xyz-
qa.appspot.com delivers content correctly. We changed references to /
scripts/pqr.js to http://xyz-qa/appspot.com/scripts/pqr.js.

It was faster to put in place and it buys us some time until we can
come up with something better.

Hope that helps.

On Jun 2, 7:44 pm, Tim Hoffman  wrote:
> Hi
>
> I have raised an issue for this
>
> http://code.google.com/p/googleappengine/issues/detail?id=3297
>
> Rgds
>
> T

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



[google-appengine] Re: Static files in newly deployed version not available in the apps domain. (Major problem)

2010-06-02 Thread J
Sorry for the delay, Ikai. I had to make a pervasive change in our
code base to put in cache-busting snippet.

Our app.yaml is below.

You will note two commented-out line for css. The 4d expiration was
removed yesterday in one of my attempts to get things to work. By that
time, the data was already in the cache, I guess!

---x-

application: charityaxis-qa
version: 1
runtime: python
api_version: 1

handlers:
- url: /stylesheets
  static_dir: stylesheets
#  mime_type: text/css
#  expiration: "4d"

- url: /zipEditorCK/.*
  script: $PYTHON_LIB/google/appengine/ext/zipserve

- url: /zipTreeTable/.*
  script: $PYTHON_LIB/google/appengine/ext/zipserve

- url: /zipSyntaxHighlighter/.*
  script: $PYTHON_LIB/google/appengine/ext/zipserve

- url: /scripts
  static_dir: scripts
  mime_type: text/javascript
  expiration: "4h"

- url: /images
  static_dir: images
  expiration: "3d 8h"

- url: /favicon.ico
  static_files: images/favicon.ico
  upload: images/favicon.ico
  mime_type: image/vnd.microsoft.icon

- url: /robots\.txt
  script: caSEO.py

- url: /sitemap
  script: caSEO.py

- url: /stats.*
  script: appstats/ui.py

- url: /remote_api
  script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
  login: admin

- url: /.*
  script: ca.py


On Jun 2, 4:38 pm, "Ikai L (Google)"  wrote:
> I can't reproduce this. Here's my YAML file:
>
> application: ikailan-com
> version: 1
> runtime: python
> api_version: 1
> default_expiration: "1d"
>
> handlers:
> - url: /
>   script: main.py
>
> - url: /assets
>   static_dir: assets
>
> Can you guys post your app.yaml?
>
> On Wed, Jun 2, 2010 at 1:04 PM, Ikai L (Google)  wrote:
>
>
>
> > In the meantime, I'll investigate whether these headers are being
> > implicitly or incorrectly set.
>
> > On Wed, Jun 2, 2010 at 12:37 PM, J  wrote:
>
> >> Thanks, Ikai, for your help. It is much appreciated.
>
> >> We'll use a cache buster for now.
>
> >> On Jun 2, 3:27 pm, "Ikai L (Google)"  wrote:
> >> > Okay, looks like the Google Front-End is kicking in to cache your stuff
>
> >> > Server  Google Frontend
> >> > Content-Length  2834
> >> > Age     41
> >> > Cache-Control   public, max-age=600
>
> >> > Are you guys setting this header anywhere? Unfortunately, there's no way
> >> to
> >> > invalidate items in the frontend cache, so you'll have to use a cache
> >> buster
> >> > or wait for the TTL to expire.
>
> >> > On Wed, Jun 2, 2010 at 12:22 PM, J  wrote:
> >> > > That's interesting, Rafael. I wonder why it serves correctly for you.
>
> >> > > They are still different from my PoV.
>
> >> > > The bad side headers:
> >> > > Etag    "74EQOA"
> >> > > Date    Tue, 01 Jun 2010 18:12:57 GMT
> >> > > Expires Sat, 05 Jun 2010 02:12:57 GMT
> >> > > Content-Type    text/css
> >> > > Content-Encoding        gzip
> >> > > Server  Google Frontend
> >> > > Content-Length  2820
> >> > > Cache-Control   public, max-age=288000
> >> > > Age     90134
> >> > > X-XSS-Protection        0
>
> >> > > The good side headers:
> >> > > Etag    "7xGL5w"
> >> > > Date    Wed, 02 Jun 2010 19:13:00 GMT
> >> > > Expires Wed, 02 Jun 2010 19:12:04 GMT
> >> > > Content-Type    text/css
> >> > > Content-Encoding        gzip
> >> > > Server  Google Frontend
> >> > > Content-Length  2834
> >> > > Age     41
> >> > > Cache-Control   public, max-age=600
>
> >> > > Short of using a cache-buster, is there a setting I can use on GAE or
> >> > > in my app.yaml file?
>
> >> > > On Jun 2, 3:01 pm, "Ikai L (Google)"  wrote:
> >> > > > I wonder if there is some layer of the infrastructure that is
> >> performing
> >> > > > caching without you guys having opted-in, hence the reason why a
> >> > > > cache-buster like ?v=something works. Can you guys confirm? Also -
> >> are
> >> > > you
> >> > > > guys setting any headers? Which headers get returned?
>
> >> > > > I've personally always used cache busters for the simple reason that
> >> > > > sometimes users using web-accelerators or with aggressive ISP or
> >> caching
> >> > > > settings tend to key off the URL. Can 

[google-appengine] Re: Static files in newly deployed version not available in the apps domain. (Major problem)

2010-06-02 Thread J
Thanks, Ikai, for your help. It is much appreciated.

We'll use a cache buster for now.

On Jun 2, 3:27 pm, "Ikai L (Google)"  wrote:
> Okay, looks like the Google Front-End is kicking in to cache your stuff
>
> Server  Google Frontend
> Content-Length  2834
> Age     41
> Cache-Control   public, max-age=600
>
> Are you guys setting this header anywhere? Unfortunately, there's no way to
> invalidate items in the frontend cache, so you'll have to use a cache buster
> or wait for the TTL to expire.
>
>
>
>
>
> On Wed, Jun 2, 2010 at 12:22 PM, J  wrote:
> > That's interesting, Rafael. I wonder why it serves correctly for you.
>
> > They are still different from my PoV.
>
> > The bad side headers:
> > Etag    "74EQOA"
> > Date    Tue, 01 Jun 2010 18:12:57 GMT
> > Expires Sat, 05 Jun 2010 02:12:57 GMT
> > Content-Type    text/css
> > Content-Encoding        gzip
> > Server  Google Frontend
> > Content-Length  2820
> > Cache-Control   public, max-age=288000
> > Age     90134
> > X-XSS-Protection        0
>
> > The good side headers:
> > Etag    "7xGL5w"
> > Date    Wed, 02 Jun 2010 19:13:00 GMT
> > Expires Wed, 02 Jun 2010 19:12:04 GMT
> > Content-Type    text/css
> > Content-Encoding        gzip
> > Server  Google Frontend
> > Content-Length  2834
> > Age     41
> > Cache-Control   public, max-age=600
>
> > Short of using a cache-buster, is there a setting I can use on GAE or
> > in my app.yaml file?
>
> > On Jun 2, 3:01 pm, "Ikai L (Google)"  wrote:
> > > I wonder if there is some layer of the infrastructure that is performing
> > > caching without you guys having opted-in, hence the reason why a
> > > cache-buster like ?v=something works. Can you guys confirm? Also - are
> > you
> > > guys setting any headers? Which headers get returned?
>
> > > I've personally always used cache busters for the simple reason that
> > > sometimes users using web-accelerators or with aggressive ISP or caching
> > > settings tend to key off the URL. Can you guys use this workaround in the
> > > meantime?
>
> > > On Wed, Jun 2, 2010 at 11:57 AM, Rafael Sierra  > >wrote:
>
> > > > On Wed, Jun 2, 2010 at 3:37 PM, J  wrote:
> > > > > To reproduce the problem, go to
> > > >http://qa.connectscholar.com/stylesheets/caSkin.css
> > > > > and also tohttp://charityaxis-qa.appspot.com/stylesheets/caSkin.css.
> > > > > Both URLs point to the same file but one returns the old content and
> > > > > appspot.com returns the new content.
>
> > > > Same file here:
>
> > > > Hidan:~ sdm$ curlhttp://
> > charityaxis-qa.appspot.com/stylesheets/caSkin.css> 1
> > > >  % Total    % Received % Xferd  Average Speed   Time    Time     Time
> > > >  Current
> > > >                                 Dload  Upload   Total   Spent    Left
> > > >  Speed
> > > > 100 10941    0 10941    0     0   6146      0 --:--:--  0:00:01
> > --:--:--
> > > > 31918
> > > > Hidan:~ sdm$ curlhttp://qa.connectscholar.com/stylesheets/caSkin.css>
> > 2
> > > >  % Total    % Received % Xferd  Average Speed   Time    Time     Time
> > > >  Current
> > > >                                 Dload  Upload   Total   Spent    Left
> > > >  Speed
> > > > 100 10941    0 10941    0     0   2777      0 --:--:--  0:00:03
> > --:--:--
> > > >  3854
> > > > Hidan:~ sdm$ md5 1
> > > > MD5 (1) = 8f5ef511be1a03fd73337c334933
> > > > Hidan:~ sdm$ md5 2
> > > > MD5 (2) = 8f5ef511be1a03fd73337c334933
>
> > > > > On Jun 2, 1:18 pm, "Ikai L (Google)"  wrote:
> > > > >> Thanks for bringing this up, Tim. Anyone else seeing this problem?
> > If
> > > > so,
> > > > >> please post details. Are you guys setting any kind of cache headers?
>
> > > > >> I'm going to try to reproduce these issues, so any information will
> > be
> > > > >> helpful.
>
> > > > >> On Wed, Jun 2, 2010 at 9:14 AM, J  wrote:
> > > > >> > Thanks, Tim, for letting me know I'm not going insane.
>
> > > > >> > To the Google guys, this problem seems to have started yesterday
> > > > >> > afternoon (1:30-ish PM, EDT) in case it helps you track down the
> > > > >

[google-appengine] Re: Static files in newly deployed version not available in the apps domain. (Major problem)

2010-06-02 Thread J
That's interesting, Rafael. I wonder why it serves correctly for you.

They are still different from my PoV.

The bad side headers:
Etag"74EQOA"
DateTue, 01 Jun 2010 18:12:57 GMT
Expires Sat, 05 Jun 2010 02:12:57 GMT
Content-Typetext/css
Content-Encodinggzip
Server  Google Frontend
Content-Length  2820
Cache-Control   public, max-age=288000
Age 90134
X-XSS-Protection0

The good side headers:
Etag"7xGL5w"
DateWed, 02 Jun 2010 19:13:00 GMT
Expires Wed, 02 Jun 2010 19:12:04 GMT
Content-Typetext/css
Content-Encodinggzip
Server  Google Frontend
Content-Length  2834
Age 41
Cache-Control   public, max-age=600

Short of using a cache-buster, is there a setting I can use on GAE or
in my app.yaml file?

On Jun 2, 3:01 pm, "Ikai L (Google)"  wrote:
> I wonder if there is some layer of the infrastructure that is performing
> caching without you guys having opted-in, hence the reason why a
> cache-buster like ?v=something works. Can you guys confirm? Also - are you
> guys setting any headers? Which headers get returned?
>
> I've personally always used cache busters for the simple reason that
> sometimes users using web-accelerators or with aggressive ISP or caching
> settings tend to key off the URL. Can you guys use this workaround in the
> meantime?
>
> On Wed, Jun 2, 2010 at 11:57 AM, Rafael Sierra wrote:
>
>
>
>
>
> > On Wed, Jun 2, 2010 at 3:37 PM, J  wrote:
> > > To reproduce the problem, go to
> >http://qa.connectscholar.com/stylesheets/caSkin.css
> > > and also tohttp://charityaxis-qa.appspot.com/stylesheets/caSkin.css.
> > > Both URLs point to the same file but one returns the old content and
> > > appspot.com returns the new content.
>
> > Same file here:
>
> > Hidan:~ sdm$ curlhttp://charityaxis-qa.appspot.com/stylesheets/caSkin.css> 1
> >  % Total    % Received % Xferd  Average Speed   Time    Time     Time
> >  Current
> >                                 Dload  Upload   Total   Spent    Left
> >  Speed
> > 100 10941    0 10941    0     0   6146      0 --:--:--  0:00:01 --:--:--
> > 31918
> > Hidan:~ sdm$ curlhttp://qa.connectscholar.com/stylesheets/caSkin.css> 2
> >  % Total    % Received % Xferd  Average Speed   Time    Time     Time
> >  Current
> >                                 Dload  Upload   Total   Spent    Left
> >  Speed
> > 100 10941    0 10941    0     0   2777      0 --:--:--  0:00:03 --:--:--
> >  3854
> > Hidan:~ sdm$ md5 1
> > MD5 (1) = 8f5ef511be1a03fd73337c334933
> > Hidan:~ sdm$ md5 2
> > MD5 (2) = 8f5ef511be1a03fd73337c334933
>
> > > On Jun 2, 1:18 pm, "Ikai L (Google)"  wrote:
> > >> Thanks for bringing this up, Tim. Anyone else seeing this problem? If
> > so,
> > >> please post details. Are you guys setting any kind of cache headers?
>
> > >> I'm going to try to reproduce these issues, so any information will be
> > >> helpful.
>
> > >> On Wed, Jun 2, 2010 at 9:14 AM, J  wrote:
> > >> > Thanks, Tim, for letting me know I'm not going insane.
>
> > >> > To the Google guys, this problem seems to have started yesterday
> > >> > afternoon (1:30-ish PM, EDT) in case it helps you track down the
> > >> > cause.
>
> > >> > On Jun 2, 8:19 am, Tim Hoffman  wrote:
> > >> > > Hi
>
> > >> > > We have been trying to deploy a major revision of one of our apps.
>
> > >> > > Under the specific version 2-0-0.latest...  all the new css/js and
> > >> > > static images are available.
>
> > >> > > When we make the new version default, the css, js and static files
> > are
> > >> > > accessible via .appspot.com
>
> > >> > > However when accessing the same site via the google apps domain
> > >> > > mapping we are still
> > >> > > getting the old versions css, js and static images.
>
> > >> > > I have tried removing the apps domain mapping and re-adding it with
> > no
> > >> > > affect.
>
> > >> > > We have had to revert to the earlier version as all access to the
> > site
> > >> > > is via the apps domain and
> > >> > > its not working with the latest version missing the new css/js.
>
> > >> > > has anyone got any ideas on how we can address this.
>
> > >> > > I know absolutely that the problem is not a browser cache, as I have
> > >> > > been checking th

[google-appengine] Re: Static files in newly deployed version not available in the apps domain. (Major problem)

2010-06-02 Thread J
To reproduce the problem, go to 
http://qa.connectscholar.com/stylesheets/caSkin.css
and also to http://charityaxis-qa.appspot.com/stylesheets/caSkin.css.
Both URLs point to the same file but one returns the old content and
appspot.com returns the new content.

On Jun 2, 1:18 pm, "Ikai L (Google)"  wrote:
> Thanks for bringing this up, Tim. Anyone else seeing this problem? If so,
> please post details. Are you guys setting any kind of cache headers?
>
> I'm going to try to reproduce these issues, so any information will be
> helpful.
>
>
>
>
>
> On Wed, Jun 2, 2010 at 9:14 AM, J  wrote:
> > Thanks, Tim, for letting me know I'm not going insane.
>
> > To the Google guys, this problem seems to have started yesterday
> > afternoon (1:30-ish PM, EDT) in case it helps you track down the
> > cause.
>
> > On Jun 2, 8:19 am, Tim Hoffman  wrote:
> > > Hi
>
> > > We have been trying to deploy a major revision of one of our apps.
>
> > > Under the specific version 2-0-0.latest...  all the new css/js and
> > > static images are available.
>
> > > When we make the new version default, the css, js and static files are
> > > accessible via .appspot.com
>
> > > However when accessing the same site via the google apps domain
> > > mapping we are still
> > > getting the old versions css, js and static images.
>
> > > I have tried removing the apps domain mapping and re-adding it with no
> > > affect.
>
> > > We have had to revert to the earlier version as all access to the site
> > > is via the apps domain and
> > > its not working with the latest version missing the new css/js.
>
> > > has anyone got any ideas on how we can address this.
>
> > > I know absolutely that the problem is not a browser cache, as I have
> > > been checking the css files via wget.
>
> > > Thanks for any help
>
> > > regards
>
> > > Tim
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Ikai Lan
> Developer Programs Engineer, Google App Engine
> Blog:http://googleappengine.blogspot.com
> Twitter:http://twitter.com/app_engine
> Reddit:http://www.reddit.com/r/appengine

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



[google-appengine] Re: Static files in newly deployed version not available in the apps domain. (Major problem)

2010-06-02 Thread J
Thanks, Tim, for letting me know I'm not going insane.

To the Google guys, this problem seems to have started yesterday
afternoon (1:30-ish PM, EDT) in case it helps you track down the
cause.

On Jun 2, 8:19 am, Tim Hoffman  wrote:
> Hi
>
> We have been trying to deploy a major revision of one of our apps.
>
> Under the specific version 2-0-0.latest...  all the new css/js and
> static images are available.
>
> When we make the new version default, the css, js and static files are
> accessible via .appspot.com
>
> However when accessing the same site via the google apps domain
> mapping we are still
> getting the old versions css, js and static images.
>
> I have tried removing the apps domain mapping and re-adding it with no
> affect.
>
> We have had to revert to the earlier version as all access to the site
> is via the apps domain and
> its not working with the latest version missing the new css/js.
>
> has anyone got any ideas on how we can address this.
>
> I know absolutely that the problem is not a browser cache, as I have
> been checking the css files via wget.
>
> Thanks for any help
>
> regards
>
> Tim

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



[google-appengine] Re: WARNING appengine_rpc.py:399 ssl module not found.

2010-04-28 Thread J
You are right, Matthew. It does not block. Still, the message is there
for a reason and uploading without SSL increases the exposure. While
my site is in QA, I'm OK just putting up with the warning. I'd need to
tighten up my procedures before going live. Hopefully by then someone
will have posted an MSI.

One could argue that taking an MSI from someone you don't really know
is as risky as not using SSL at all, because they could have modified
the code before building the executable. That's a valid argument. I
wish Google did it and placed it on the App Engine downloads page :-).

Thanks.

On Apr 27, 4:03 pm, Matthew Blain  wrote:
> This message is a warning and not an error--it should not block you
> from uploading everything.
>
> --Matthew
>
> On Apr 27, 12:26 pm, J  wrote:
>
>
>
>
>
> > I am having this problem also. Found this thread in Google 
> > Groups:http://groups.google.com/group/google-appengine/browse_thread/thread/
>
> > The module requires Visual Studio to build and install. To have to
> > install Visual Studio just for this seems a bit heavy. If some kind
> > soul out there could build an MSI and post it, it would be wonderful.
>
> > On Apr 26, 7:37 pm, Wooble  wrote:
>
> > > Have you tried to install the ssl module from pypi? If so, what
> > > problem are you having with installing it?
>
> > > On Apr 26, 5:25 pm, oddse  wrote:
>
> > > > Hello,
>
> > > > I got this warning and can't upload files and communicate with app
> > > > engine in order to unload file and create index for tables.
>
> > > > "WARNING appengine_rpc.py:399 ssl module not found.
> > > > Without the ssl module, the identity of the remote host cannot be
> > > > verified, and
> > > > connections may NOT be secure. To fix this, please install the ssl
> > > > module fromhttp://pypi.python.org/pypi/ssl.
> > > > To learn more, 
> > > > seehttp://code.google.com/appengine/kb/general.html#rpcssl
> > > > . "
>
> > > > Need help to solve this problem.
>
> > > > Thank you.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups 
> > > "Google App Engine" group.
> > > To post to this group, send email to google-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to 
> > > google-appengine+unsubscr...@googlegroups.com.
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] Re: WARNING appengine_rpc.py:399 ssl module not found.

2010-04-27 Thread J
I am having this problem also. Found this thread in Google Groups:
http://groups.google.com/group/google-appengine/browse_thread/thread/9eb30d64423a37ea.

The module requires Visual Studio to build and install. To have to
install Visual Studio just for this seems a bit heavy. If some kind
soul out there could build an MSI and post it, it would be wonderful.

On Apr 26, 7:37 pm, Wooble  wrote:
> Have you tried to install the ssl module from pypi? If so, what
> problem are you having with installing it?
>
> On Apr 26, 5:25 pm, oddse  wrote:
>
>
>
>
>
> > Hello,
>
> > I got this warning and can't upload files and communicate with app
> > engine in order to unload file and create index for tables.
>
> > "WARNING appengine_rpc.py:399 ssl module not found.
> > Without the ssl module, the identity of the remote host cannot be
> > verified, and
> > connections may NOT be secure. To fix this, please install the ssl
> > module fromhttp://pypi.python.org/pypi/ssl.
> > To learn more, seehttp://code.google.com/appengine/kb/general.html#rpcssl
> > . "
>
> > Need help to solve this problem.
>
> > Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] A safer way to do dynamic property assignment?

2010-04-07 Thread J
I need to assign a value to a Model property but its name is not known
until runtime. For illustrative purposes, say

class Story(db.Model):
title = db.StringProperty()
body = db.TextProperty()

s = Story(title="The Three Little Pigs")

Since I wanted to decide on the property name at runtime, I wrote:
cmd = 's.%s = %s' % ('body', '"Once upon a time..."')
exec(cmd)

I shouldn't have to use exec. There has to be a better way of
assigning values to properties.

Any suggestions?

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



[google-appengine] Re: Allow/Deny IP Address

2010-04-01 Thread J
May I revise that "perfect for our needs" remark?

We are creating a service focused on US education and thus will not be
useful to anyone outside the US. We want people in the US to be able
to register for free. But since non-US folks wouldn't get any benefit
from the service, I'd just as soon not even let them reach my web site
-- why add to my server load?

It was perfect until I realized that to blacklist every country except
the US would take about 100,000 entries, a lot more than the 100-entry
limit of the dos.yaml file. I guess I will need to do that
verification inside my application.

Any other ideas?

On Mar 31, 2:35 pm, J  wrote:
> Thanks. This is perfect for our needs.
>
> On Mar 31, 12:58 pm, "Nick Johnson (Google)" 
> wrote:
>
>
>
> > Hi J,
>
> > The recently released DoS API is designed for just 
> > this:http://code.google.com/appengine/docs/python/config/dos.html
>
> > -Nick Johnson
>
> > On Wed, Mar 31, 2010 at 5:50 PM, J  wrote:
> > > I am looking to restrict my web site and deny access from a set of IP
> > > addresses, much like the Apache mod_access module does.
>
> > > Would have expected to be able to specify it in app.yaml somehow (GAE/
> > > Python). Any suggestions welcome.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google App Engine" group.
> > > To post to this group, send email to google-appeng...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com > >  e...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. ::
> > Registered in Dublin, Ireland, Registration Number: 368047
> > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> > 368047

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



[google-appengine] Re: Allow/Deny IP Address

2010-03-31 Thread J
Thanks. This is perfect for our needs.

On Mar 31, 12:58 pm, "Nick Johnson (Google)" 
wrote:
> Hi J,
>
> The recently released DoS API is designed for just 
> this:http://code.google.com/appengine/docs/python/config/dos.html
>
> -Nick Johnson
>
>
>
>
>
> On Wed, Mar 31, 2010 at 5:50 PM, J  wrote:
> > I am looking to restrict my web site and deny access from a set of IP
> > addresses, much like the Apache mod_access module does.
>
> > Would have expected to be able to specify it in app.yaml somehow (GAE/
> > Python). Any suggestions welcome.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. ::
> Registered in Dublin, Ireland, Registration Number: 368047
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047

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



[google-appengine] Allow/Deny IP Address

2010-03-31 Thread J
I am looking to restrict my web site and deny access from a set of IP
addresses, much like the Apache mod_access module does.

Would have expected to be able to specify it in app.yaml somehow (GAE/
Python). Any suggestions welcome.

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



[google-appengine] Re: Need more apps!

2010-03-31 Thread J
Sorry Wooble, I should have added the link:
http://googleappengine.blogspot.com/2009/10/app-engine-sdk-126-released-with.html

On Mar 30, 7:59 pm, Wooble  wrote:
> Somewhere in the message you quoted, you mean?  Yes. :P
>
> On Mar 30, 7:07 pm, J  wrote:
>
>
>
> > Didn't I see somewhere recently that the ability to delete an old app-
> > id is now available?
>
> > On Mar 30, 3:36 pm, Mark Renouf  wrote:
>
> > > Oh, good point. I do want to make sure I can reserve the name I had in
> > > mind... but if it is available now, there's a good chance it will
> > > still be available on the 2nd. I can just re-deploy...
>
> > > Thanks for the hint!
>
> > > On Mar 30, 3:14 pm, A1programmer  wrote:
>
> > > > Why not reuse an app-id and forget about the old versions? At least
> > > > until your other apps are gone ?
>
> > > > On Mar 30, 1:59 pm, Mark Renouf  wrote:
>
> > > > > Hi.
>
> > > > > I've maxed out my limit (10 apps), though many are tests and older
> > > > > abandoned projects. I've marked some for delete, but they will not go
> > > > > away until Apr. 2nd. I need to register a new project ASAP. Could I
> > > > > get an increase in my quota? Thanks!

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



[google-appengine] Re: Need more apps!

2010-03-30 Thread J
Didn't I see somewhere recently that the ability to delete an old app-
id is now available?

On Mar 30, 3:36 pm, Mark Renouf  wrote:
> Oh, good point. I do want to make sure I can reserve the name I had in
> mind... but if it is available now, there's a good chance it will
> still be available on the 2nd. I can just re-deploy...
>
> Thanks for the hint!
>
> On Mar 30, 3:14 pm, A1programmer  wrote:
>
>
>
> > Why not reuse an app-id and forget about the old versions? At least
> > until your other apps are gone ?
>
> > On Mar 30, 1:59 pm, Mark Renouf  wrote:
>
> > > Hi.
>
> > > I've maxed out my limit (10 apps), though many are tests and older
> > > abandoned projects. I've marked some for delete, but they will not go
> > > away until Apr. 2nd. I need to register a new project ASAP. Could I
> > > get an increase in my quota? Thanks!

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



[google-appengine] Re: Python and Java in the same app instance

2010-03-04 Thread J
Thanks, Jeff. I was afraid of that.

I like option #2 better. We use a lot of the python/GAE-related
features (templates, zipimport, appstat), and it's best not to mess
with moving it over to a jython-based implementation.

On Mar 4, 5:48 pm, Jeff Schnitzer  wrote:
> You have two options:
>
>  * Run your python app in Jython on a Java VM.
>  * Implement your java code as a web service, deploy it as a separate
> version, and call it that way.
>
> You can't simply call Java code from Python.
>
> Jeff
>
>
>
> On Thu, Mar 4, 2010 at 1:17 PM, J  wrote:
> > We have a python application running on AppEngine and now have an
> > additional requirement to be able to call a Java library (iText for
> > now, possibly others in the future). Note that the Java code does not
> > need to service URLs, thus no need for appengine-web.xml. It just
> > needs to be callable from python code.
>
> > If someone could point me to resources about how this might be
> > accomplished, I would appreciate it.
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Google App Engine" group.
> > To post to this group, send email to google-appeng...@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > google-appengine+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://groups.google.com/group/google-appengine?hl=en.

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



[google-appengine] Python and Java in the same app instance

2010-03-04 Thread J
We have a python application running on AppEngine and now have an
additional requirement to be able to call a Java library (iText for
now, possibly others in the future). Note that the Java code does not
need to service URLs, thus no need for appengine-web.xml. It just
needs to be callable from python code.

If someone could point me to resources about how this might be
accomplished, I would appreciate it.

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



[google-appengine] Re: App engine - RPX Openid/ User Auth / Session Management - HELP!

2010-01-31 Thread J
Here is a description of an (OpenID + GAE Utilities) implementation we
use: http://wp.me/poqXr-5a

Hopefully it answers the question. If you use it, please cite the
source. Feedback -- positive or negative -- gratefully accepted.

On Jan 27, 2:31 pm, lucrussell  wrote:
> Hi Martin,
>
> I'm working on something similar at the moment.  It is a bit difficult
> to find information; the best reference I have found so far is the
> DemandID application(http://demand.openid.net/).  You can get the
> source for it from the SVN server (http://demand.googlecode.com/svn/
> trunk).  This application uses its own simple session implementation,
> but you could replace it with something like GAE Utiltities.
>
> Hope this helps.
>
> Luc
>
> On Jan 27, 5:56 pm, spider100  wrote:
>
>
>
> > Ive spent days searching the web and im drawing a blank. I simply want
> > to integrate RPX (janrain) into Appengine - lods of code for the
> > script inserts and the return of the openid token - thats all great -
> > but other than that no-one seems to take it any further as in actually
> > create an openid login that works - why? i assume no session
> > management?
>
> > Here is a simple class handler that gets the TOKEN for the open id and
> > then makes a fetch to grab the users profile. All very simple using
> > RPX.
>
> > class RPXHandler(webapp.RequestHandler):
> >   def get(self):
> >     token = self.request.get('token')
> >     url = 'https://rpxnow.com/api/v2/auth_info'
> >     args = {
> >       'format': 'json',
> >       'apiKey': '#YOUR KEY#',
> >       'token': token
> >       }
> >     r = urlfetch.fetch(url=url,
> >                        payload=urllib.urlencode(args),
> >                        method=urlfetch.POST,
> >                        headers={'Content-Type':'application/x-www-form-
> > urlencoded'}
> >                        )
> >     json = simplejson.loads(r.content)
>
> >     logging.info(json)
>
> >     if json['stat'] == 'ok':
> >       unique_identifier = json['profile']['identifier']
> >       nickname = json['profile']['preferredUsername']
> >       email = json['profile']['email']
>
> >       # log the user in using the unique_identifier
> >       # this should your cookies or session you already have
> > implemented
>
> >       self.redirect('static/loggedin.html')
> >       else:
> >       self.redirect('static/error.html')
>
> > Now # here is where the problem starts - ideally we could be lazy and
> > just log them into Google accounts - but their is no method to log a
> > user in ie;
>
> > user.login(email)
>
> > so that abandons any hope of using google accounts - and to fair if we
> > have open id - why bother!
>
> > SO...
>
> > Next easy route - sessions - but in webapp appengine their are none -
>
> > Can anyone HAS anyone made this work - need some method of protecting
> > each page - ie Login=true
> > A method to log out
> > A method to get user credentials
>
> > Basically a simple user system using RPX/Openid - Dont need register
> > or passwords - just a user system that auths through RPX/Openid and
> > stored the data on app engine etc
>
> > I hope this make sense?
>
> > Martin

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



[google-appengine] Bulletproofing for when Model.put() fails

2010-01-29 Thread J
Hi Everyone,

Background: Recommended practice for dealing with the Data Store is to
be prepared for the occasional failure. Within a transaction, when in
test mode, I simulate a transaction failure by randomly raising the
Rollback exception. This practice allows us to validate the exception
paths of the code when in test mode.

Now the question: when in test mode, is there a way to cause Model.put
() to raise an exception so we could test for this? Something should
be possible with hooks but if there is an existing best practice
around this, I would love to use it and/or build on it.

Thanks.

J Singh


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



[google-appengine] Re: SSL with my own domain

2010-01-06 Thread J
Check out http://code.google.com/p/googleappengine/issues/detail?id=792.
The issue is not resolved by any means but enough workarounds
available to not let this become a show-stopper.

On Jan 4, 3:37 pm, Timmy G  wrote:
> Over a year ago when Google announced SSL support they said it
> wouldn't be supported with custom domains. (http://
> googleappengine.blogspot.com/2008/10/announcing-https-support-for-
> appspotcom.html). This appears to be the case still today. However,
> they offered some hoped in their statement:
>
> >> You may be wondering why we're only supporting appspot.com right now, and 
> >> not arbitrary Google Apps domains. This has to do with fundamental 
> >> limitations in the SSL protocol. We're currently investigating workarounds 
> >> for this using e.g. SNI, which provides a viable solution for newer 
> >> browsers--we'll keep you posted! <<
>
> So, 1.25 years later, any progress or encouraging expectations?
>
> I ask because I'm working on a project due in 6-12 months that has a
> business requirement of supporting a custom domain name over https. If
> there's a reasonable chance it will supported it by then, I might
> stick with AppEngine and save the decision point for later. If not, I
> might as well not waste my time and will bail on AppEngine right now.
> Thanks!
-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.




[google-appengine] Model.get_or_insert

2009-11-20 Thread J
I hope there is something obvious I am missing but a call to
get_or_insert() fails in the sandbox (using eclipse on a Windows
desktop)

The offending line is:
pe = PersonEmail.get_or_insert(email)

Class PersonEmail is derived from db.Model.

The error message says:
  File "C:\Program Files\Google\google_appengine\google\appengine\ext
\db\__init__.py", line 1064, in get_or_insert
return run_in_transaction(txn)
  File "C:\Program Files\Google\google_appengine\google\appengine\api
\datastore.py", line 1885, in RunInTransaction
DEFAULT_TRANSACTION_RETRIES, function, *args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\api
\datastore.py", line 1982, in RunInTransactionCustomRetries
result = function(*args, **kwargs)
  File "C:\Program Files\Google\google_appengine\google\appengine\ext
\db\__init__.py", line 1059, in txn
entity = cls.get_by_key_name(key_name, parent=kwds.get('parent'))
  File "C:\Program Files\Google\google_appengine\google\appengine\ext
\db\__init__.py", line 981, in get_by_key_name
return get(*keys)
  File "C:\Program Files\Google\google_appengine\google\appengine\ext
\db\__init__.py", line 1180, in get
entities = datastore.Get(keys)
  File "C:\Program Files\Google\google_appengine\google\appengine\api
\datastore.py", line 230, in Get
_MaybeSetupTransaction(req, keys)
  File "C:\Program Files\Google\google_appengine\google\appengine\api
\datastore.py", line 2053, in _MaybeSetupTransaction
tx = _txes[tx_key]
KeyError: 

I have never gotten transactions code to run in the sandbox so
wondering if there is some configuration that is needed. If someone
could point me to the right FAQ, I would appreciate it.

Thanks in advance.

--

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




[google-appengine] Flash and app engine

2009-11-03 Thread j to the oh no

Hi all.
I have what i think should be a straightforward question, but am
struggling to find a clear answer on the web. I would very much like
to begin using app engine to develop some web applications. However,
my apps require flash in some places and the flash apps need to be
able to interact with user data on the server. Will app engine support
this? thanks for any help.

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



[google-appengine] Boston area Google App Engine Hackathon November 6

2009-10-28 Thread J

Early Stage IT will be conducting a Google App Engine Hackathon on
November 6.

For more information, see http://tiny.cc/gae .

The event is fully subscribed at the moment but slots on the wait list
are open. Depending on the interest level indicated by the wait list,
we may do it again in the future.

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



[google-appengine] Re: Downloading pdf

2009-09-27 Thread J

This issue is now resolved.

infile = open(path,"r")
should have been
infile = open(path,"rb") # binary file


On Sep 27, 10:56 am, djidjadji  wrote:
> is this filename.pdf a static file?
> what is your app.yaml entry for serving the downloads/filename.pdf?
>
> You can't open static files from your python code.
>
> So if
>
> http://mysite.com/downloads/filename.pdf
>
> serves the file well it is not part of the code base files and can't
> be opened with .
>
> path = os.path.join(os.path.dirname(__file__), 'downloads/filename.pdf')
> infile = open(path,"r")
>
> 2009/9/25 J :
>
>
>
> > Acrobat comes back and says "The file is damaged and could not be
> > repaired". If I skip the security checking and serve the file through
> > a             self.redirect('downloads/filename.pdf'') Acrobat has no
> > problem with it, that is how I conclude that the file itself is OK but
> > the encoding is screwing things up.
>
> > There has been another recent thread regarding downloading files where
> > the core issue was IE. I have tested this in Firefox and Chrome so
> > pretty sure it is not a browser issue.
>
> > On Sep 25, 8:39 am, "Nick Johnson (Google)" 
> > wrote:
> >> Hi J,
> >> Can you be more specific about what happens/doesn't happen?
>
> >> -Nick Johnson
>
> >> On Fri, Sep 25, 2009 at 1:35 PM, J  wrote:
>
> >> > I can't get GAE to send a file in pdf format. The code needs to verify
> >> > if the user has permissions and if so, send the file.
>
> >> > I thought perhaps encoding was the issue but base64 encoding the
> >> > content and declaring transfer encoding to be base64 doesn't work
> >> > either.
>
> >> >        
> >> >        # Permission validation succeeded
> >> >        
> >> >        self.response.headers['Content-Type'] = 'application/pdf'
> >> >        self.response.headers['Content-Transfer-Encoding'] = 'binary'
> >> >        self.response.headers['Content-disposition'] = 'attachment;
> >> > filename="filename.pdf"'
> >> >        path = os.path.join(os.path.dirname(__file__), 'downloads/
> >> > filename.pdf')
> >> >        infile = open(path,"r")
> >> >        inbuff = infile.read()
> >> >        self.response.out.write(inbuff)
>
> >> --
> >> Nick Johnson, Developer Programs Engineer, App Engine
> >> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> >> 368047
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: Downloading pdf

2009-09-25 Thread J

Acrobat comes back and says "The file is damaged and could not be
repaired". If I skip the security checking and serve the file through
a self.redirect('downloads/filename.pdf'') Acrobat has no
problem with it, that is how I conclude that the file itself is OK but
the encoding is screwing things up.

There has been another recent thread regarding downloading files where
the core issue was IE. I have tested this in Firefox and Chrome so
pretty sure it is not a browser issue.

On Sep 25, 8:39 am, "Nick Johnson (Google)" 
wrote:
> Hi J,
> Can you be more specific about what happens/doesn't happen?
>
> -Nick Johnson
>
>
>
>
>
> On Fri, Sep 25, 2009 at 1:35 PM, J  wrote:
>
> > I can't get GAE to send a file in pdf format. The code needs to verify
> > if the user has permissions and if so, send the file.
>
> > I thought perhaps encoding was the issue but base64 encoding the
> > content and declaring transfer encoding to be base64 doesn't work
> > either.
>
> >        
> >        # Permission validation succeeded
> >        
> >        self.response.headers['Content-Type'] = 'application/pdf'
> >        self.response.headers['Content-Transfer-Encoding'] = 'binary'
> >        self.response.headers['Content-disposition'] = 'attachment;
> > filename="filename.pdf"'
> >        path = os.path.join(os.path.dirname(__file__), 'downloads/
> > filename.pdf')
> >        infile = open(path,"r")
> >        inbuff = infile.read()
> >        self.response.out.write(inbuff)
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Downloading pdf

2009-09-25 Thread J

I can't get GAE to send a file in pdf format. The code needs to verify
if the user has permissions and if so, send the file.

I thought perhaps encoding was the issue but base64 encoding the
content and declaring transfer encoding to be base64 doesn't work
either.


# Permission validation succeeded

self.response.headers['Content-Type'] = 'application/pdf'
self.response.headers['Content-Transfer-Encoding'] = 'binary'
self.response.headers['Content-disposition'] = 'attachment;
filename="filename.pdf"'
path = os.path.join(os.path.dirname(__file__), 'downloads/
filename.pdf')
infile = open(path,"r")
inbuff = infile.read()
self.response.out.write(inbuff)


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



[google-appengine] Different behavior static_dir dev vs live

2009-09-22 Thread j...@q42.nl

I've found a difference in the behavior of static_dir directives in
app.yaml.

My app.yaml:
handlers:
- url: /js/y.js
  script: js_templ.py
- url: /js
  static_dir: js

All goes well in dev server, because the devserver uses the js
directory.

On the live server all statics are handled differently, so the live
server scans the app.yaml and it matches all the files against the
static_dir declarations. On the live server the file js_templ.py is
interpreted as a static file, because the static_dir: js matches it.

I think the development server should work exactly like the live
server on this point. The difference is only noticed on the live
server so it's hard to find it and the warnings aren't clear.

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



[google-appengine] Re: https support

2009-09-17 Thread J

We have implemented an interim solution for one of our clients and
would like to learn if there is broader interest for us to productize
it.  
http://earlystageit.wordpress.com/2009/09/17/secure-access-to-google-app-engine/

Any and all suggestions welcome.

On Aug 22, 1:03 am, repairman  wrote:
> google guys,
>
> I don't know if you guys realize the implication of not getting a
> static IP?   if I have a domain (abc.com) I cannot map it to the
> appspot subdomain without an IP and I have to resort to a redirect.
> And search engines are not friendly to redirects.  And no serious
> website will ever want to redirect to blah.appsot.com  it just looks
> unprofessional.  So this lack of static IP is preventing google app
> engine from becoming actually useful like EC2 for real business.  And
> that's why there is no serious apps or serious ecommerce systems
> running on your GAE so far despite of all the hype.    It's almost
> like selling a car without headlights i.e. sounds like a small miss
> but it will prevent the car you are selling from being popular.  no
> serious person can drive only during the day time.  Please don't think
> of this static IP problem from the techie point of view, think from
> your 'customers' perspective.  This is a show stopper!    GAE is such
> a good concept and can revolutionize the industry but this lack of
> static IP is such a spoiler!
>
> On Aug 6, 7:27 am, Tony  wrote:
>
>
>
> > Fair enough.  I'm fine with "we're working on solutions," as long as
> > it's not "sorry, wait for the world to upgrade to FF3/IE8."
>
> > On Aug 6, 10:21 am, "Nick Johnson (Google)" 
> > wrote:
>
> > > Hi Tony,
>
> > > We're looking into solutions. It's not as simple as it may first
> > > appear - in the case of a service like Amazon EC2, your server resides
> > > at only a single physical location, and so does theIPaddress you
> > > rent. In contrast, App Engine apps are served from IPs at Google
> > > datacenters around the globe.
>
> > > -Nick Johnson
>
> > > On Thu, Aug 6, 2009 at 3:18 PM, Tony wrote:
>
> > > > Why not charge a monthly fee for apps to get astaticIP(like Amazon
> > > > does)?  Scarcity of supply seems like a bit of a cop-out to me - it's
> > > > not apparent that a majority of app engine apps require thissupport.
> > > > The customers you're losing because of this, however, are customers
> > > > that plan to process e-commerce transactions online without looking
> > > > like a phishing scam.  Customers that make money on your service are
> > > > more likely to spend money on your service.
>
> > > > On Aug 5, 3:55 am, "Nick Johnson (Google)" 
> > > > wrote:
> > > >> Hi J Singh,
>
> > > >> Due to the way SSL works, this is not currently possible without
> > > >> allocating anIPaddress for each App Engine domain that would use SSL
> > > >> - which itself isn't very practical due to IPv4 address scarcity.
>
> > > >> The latest version of SSL supports using a singleIPaddress for
> > > >> multiple sites with different certificates, but browsersupportfor
> > > >> this version is not yet nearly widespread enough to make it a
> > > >> practical alternative.
>
> > > >> -Nick Johnson
>
> > > >> On Wed, Aug 5, 2009 at 5:39 AM, J Singh 
> > > >> wrote:
> > > >> > For an appengine-based 
> > > >> > site,https://abc.appspot.comiscurrentlysupported
> > > >> > buthttps://www.abc.comcannotbesupported. I know there is a technical
> > > >> > hurdle to cross but didn't know if any techniques had been proposed 
> > > >> > for
> > > >> > being able to usewww.abc.comwithSSLconnections?
>
> > > >> > Thanks.
>
> > > >> > J Singh
>
> > > >> > Managing Director
> > > >> > Early Stage IT
> > > >> > (978) 760-2055
> > > >> >http://www.earlystageit.com
>
> > > >> --
> > > >> Nick Johnson, Developer Programs Engineer, App Engine
>
> > > --
> > > Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Slow response static javascript files on development server

2009-09-04 Thread j...@q42.nl

I have about 10 javascript/css files which are included in my html
pages, but it takes 1+ second to load each file on the development
server. This is highly anoying. Why isn't my static_dir handler using
Last-Modified/If-Modified-Since?
- url: /js
  static_dir: js
- url: /css
  static_dir: css

I've tried to set a expiration on the handlers as well as a
default_expiration.

These are the headers when I have expiration set:
Server  Development/1.0
DateFri, 04 Sep 2009 10:41:13 GMT
Content-Typeapplication/x-javascript
Expires Fri, 04 Sep 2009 11:41:13 GMT
Cache-Control   public, max-age=3600
Content-Length  100240

These are when expiration isn't set:
Server  Development/1.0
DateFri, 04 Sep 2009 10:41:18 GMT
Content-Typetext/css
Cache-Control   no-cache
Expires Fri, 01 Jan 1990 00:00:00 GMT
Content-Length  100240
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Anyone using fiddler?

2009-09-03 Thread j...@q42.nl

I wanted to use fiddler on my local app engine development server. But
I get an error from fiddler:

[Fiddler] Connection to localhost failed.
Exception Text: No connection could be made because the target machine
actively refused it ::1:8080 (I'm working on vista, thats why the ipv6
address is show i guess)

I tried the usual fiddler workarounds (adding a dot, using machine
name), but that didn't work, still actively refusing

I need to somehow make the devserver listen to my machine name..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] static files not served with 304 but with 200 always

2009-09-03 Thread j...@q42.nl

I've got a bunch of static javascript files that are served with
status code 200 every time I refresh a page.

app.yaml:
handlers:
- url: /js
  static_dir: js

I've tried to set a global:
default_expiration: 1h
but that doesn't work

I couldn't find any discussion about expire or status code 304 in both
groups..

some tags that might help other to find this:
expire, 304, If-Modified-Since, Last-Modified
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] KeyError When Psyco is installed

2009-08-28 Thread j...@q42.nl

I was wondering whether the App Engine team is aware of this issue:
http://code.google.com/p/googleappengine/issues/detail?id=995

I'm not sure if this is a bug in psyco or app engine...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: https support

2009-08-25 Thread J

Sorry, I was referring to the $0.01/hr that Amazon charges for
reserving an IP address, thinking that a the proxy server was
essentially serving the same function.

On Aug 25, 8:27 am, "Nick Johnson (Google)" 
wrote:
> On Tue, Aug 25, 2009 at 12:53 PM, J  wrote:
>
> > I have an idea, throwing it out to this group to see if it is sound.
>
> > What if there were a service in the cloud that served as an https
> > proxy?https://www.abc.comwould resolve to this service and its sole
> > job would be to be a proxy forhttps://abc.appspot.com. Well, there is
> > the performance problem of the extra hop, and the trust problem of
> > whether we trust this service to not look at messages as it terminates
> > the SSL certs at either end.
>
> Said service would have to have a unique IP per domain it proxies. This
> could be difficult to scale given the relative scarcity of IPv4 addresses
> these days.
>
> As you point out, it would also require routing all requests via a single
> location.
>
>
>
> > Are there any other problems that anyone can see? It might be a nice
> > short-term solution until Google comes up with their solution.
> > Amazon's $0.01/hr translates to $7.20 per month. What if this service
> > were priced similarly? How many folks would buy it? Does such a
> > service already exist?
>
> I believe Amazon's EC2 instances start at $0.10 per hour, not $0.01. You
> could serve many domains with one machine, potentially, but I'm not sure if
> Amazon will let you associate multiple elastic IPs with the same EC2
> instance.
>
> -Nick Johnson
>
>
>
>
>
>
>
> > On Aug 24, 6:44 am, Kris Walker  wrote:
> > > repairman,
>
> > > I'm building what I hope will be a real business on GAE.  In
> > > particular, my system design is not possible in environments like EC2,
> > > because of the extra configuration and overhead involved in holding a
> > > static IP.  That was a design decision by Amazon.  Not having a static
> > > IP was a design decision by Google, and it offers a different set of
> > > advantages.
>
> > > If there were only a few different kinds of things on the planet that
> > > we could eat, we would have no chefs.  When creating a great dining
> > > experience for your customers you need a variety of ingredients to put
> > > together that 5 star dish.
>
> > > My hat is off to the GAE team for carefully considering their design
> > > implications.  I hope they continue to keep their ear to the crowd,
> > > but hold their ground to offer the ingredients we need to make great
> > > products, rather than just anything that everyone else has.
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: https support

2009-08-25 Thread J

I have an idea, throwing it out to this group to see if it is sound.

What if there were a service in the cloud that served as an https
proxy? https://www.abc.com would resolve to this service and its sole
job would be to be a proxy for https://abc.appspot.com. Well, there is
the performance problem of the extra hop, and the trust problem of
whether we trust this service to not look at messages as it terminates
the SSL certs at either end.

Are there any other problems that anyone can see? It might be a nice
short-term solution until Google comes up with their solution.
Amazon's $0.01/hr translates to $7.20 per month. What if this service
were priced similarly? How many folks would buy it? Does such a
service already exist?

On Aug 24, 6:44 am, Kris Walker  wrote:
> repairman,
>
> I'm building what I hope will be a real business on GAE.  In
> particular, my system design is not possible in environments like EC2,
> because of the extra configuration and overhead involved in holding a
> static IP.  That was a design decision by Amazon.  Not having a static
> IP was a design decision by Google, and it offers a different set of
> advantages.
>
> If there were only a few different kinds of things on the planet that
> we could eat, we would have no chefs.  When creating a great dining
> experience for your customers you need a variety of ingredients to put
> together that 5 star dish.
>
> My hat is off to the GAE team for carefully considering their design
> implications.  I hope they continue to keep their ear to the crowd,
> but hold their ground to offer the ingredients we need to make great
> products, rather than just anything that everyone else has.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] renaming / destroying an appengine ?

2009-08-24 Thread j...@red91.com

hi, i know it's pretty impossible to delete an appengine app once
you've created one, but is there any way to rename it (the application
identifier) ?

also is there any way to change the Authenticiation Options after you
create it ?

Appreciate any pointers on this.


John.

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



[google-appengine] Re: Is there a way to have /blog url in GAE display wordpress blog

2009-08-05 Thread J

Could you elaborate a bit on "for SEO reasons"? Do you want the blog
keywords to help elevate you site rankings?

I serve my blog on the web site using a widget. Check out
http://www.earlystageit.com/blog. Something tells me it doesn't quite
address your requirement.

On Aug 4, 4:59 pm, Jai  wrote:
> Hi Natalie,
>
> On the lines of solution offered by Adam, you can also write an xmlrpc
> client which can use the wordpress metaweblog 
> APIhttp://codex.wordpress.org/XML-RPC_Support. It is much more work but
> you can create a UI of your own.
>
> You can compose, edit and delete any blog using the API.
>
> There is a good articlehttp://brizzled.clapper.org/id/80for writing
> xmlrpc client on app engine.
>
> Regards.
>
> On Aug 3, 10:32 am, Natalie Gordon  wrote:
>
> > Hi,
>
> > I have my app running fine in a subdomain my.url.com. I have a related
> > blog built with wordpress on blog.url.com. For SEO reasons, I'm being
> > asked if there is a way to serve our blog on my.url.com/blog.
>
> > I can't think of a way to do this. Anyone have any ideas, creative or
> > otherwise?
>
> > Thanks!
> > Natalie Gordonhttp://lenguajero.com
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] https support

2009-08-04 Thread J Singh
For an appengine-based site, https://abc.appspot.com is currently supported
but https://www.abc.com can not be supported. I know there is a technical
hurdle to cross but didn't know if any techniques had been proposed for
being able to use www.abc.com with SSL connections?

Thanks.

J Singh

Managing Director
Early Stage IT
(978) 760-2055
http://www.earlystageit.com

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



[google-appengine] Consuming OAuth requests in app engine

2009-07-24 Thread j...@q42.nl

Hi all,

I'm creating an opensocial widget on hyves.nl (a dutch social
networking site). I'm calling a makeRequest with
RequestParamters.AUTHORIZATION set to SIGNED. The GET call is enriched
with several query string parameters like:
* opensocial_owner_id
* opensocial_viewer_id
* opensocial_app_id
* oauth_consumer_key
* oauth_token (empty)
* xoauth_signature_publickey
* oauth_signature_method
* oauth_nonce
* oauth_timestamp
* oauth_signature

How do I verify that this request is coming from the hyves.nl
opensocial container?
I've found that GData does some oauth stuff, but that Api needs to
fetch an oauth token, while I just want to verify that the SIGNED
request is indeed coming from the container...

Anyone any pointers to the right direction?

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



[google-appengine] Have to verify AGAIN

2009-07-24 Thread j...@q42.nl

Hi,

I have to verify my google app account again, even though I all ready
registered. I also created some applications all ready!
Since I've used my mobile number allready in the first verification,
app engine complains about it being used all ready...
Can someone from google please activate my account?

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



[google-appengine] Re: Too Many Versions (403)

2009-07-20 Thread j...@zenkraft.com

Yes, I just hit this too:

Error 403:  begin server output ---

Too Many Versions (403)
The application already has the maximum number of versions.
--- end server output ---

On Jul 19, 6:33 am, TaoGOGO  wrote:
> have you solve the problems?it happened to me the same?:(
> can you help me?
>
> On 6月26日, 下午3时04分, dannyr  wrote:
>
> > I'm getting the following error. I only have 1 version of the app.
> > According to Quota Details, my Deployments are only 28 of 250 (11%).
> > My application name is 'launchset'.
>
> > Deploying new version.
> > 2009-06-25 23:50:52,071 ERROR appcfg.py:1241 An unexpected error
> > occurred. Abort
> > ing.
> > Traceback (most recent call last):
> >   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> > \appcfg.p
> > y", line 1234, in DoUpload
> > self.Commit()
> >   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> > \appcfg.p
> > y", line 1106, in Commit
> > self.Deploy()
> >   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> > \appcfg.p
> > y", line 1134, in Deploy
> > version=self.version)
> >   File "C:\Program Files\Google\google_appengine\google\appengine\tools
> > \appengin
> > e_rpc.py", line 344, in Send
> > f = self.opener.open(req)
> >   File "C:\Python25\lib\urllib2.py", line 387, in open
> > response = meth(req, response)
> >   File "C:\Python25\lib\urllib2.py", line 498, in http_response
> > 'http', request, response, code, msg, hdrs)
> >   File "C:\Python25\lib\urllib2.py", line 425, in error
> > return self._call_chain(*args)
> >   File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
> > result = func(*args)
> >   File "C:\Python25\lib\urllib2.py", line 506, in http_error_default
> > raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
> > HTTPError: HTTP Error 403: Forbidden
> > Rolling back the update.
> > Error 403: --- begin server output ---
>
> > Too ManyVersions(403)
> > The application already has themaximumnumberofversions.
> > --- end server output ---
>
>

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



[google-appengine] Re: DeadlineExceededException - how to avoid?

2009-06-17 Thread J Keller

> It should be fairly straightforward to handle this polling in
> Javascript, eliminating the infinite redirect loop and allowing for
> the possibility of giving status readouts for the user :)

That sounds promising. I very familiar with Java, but have just
started playing with javascript recently.

So basically you are suggesting that the client-side script would
loop, calling my service that would return with the GAE's 30 second
limit?
And, within that loop I could also update the client's page? That
would be great.

I'll see what I can figure out, thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: DeadlineExceededException - how to avoid?

2009-06-16 Thread J Keller

Thank you Scott - that redirect trick worked great.

After processing a subset of the data, I simply redirect back to my
service.  Each time it caches more of the data, until the job is
complete.  Sometimes this can cause the browser to give up and report
an 'infinite redirect loop', but it usually works fine.  And even when
the it does give up, if the user tries again it usually finishes the
process fine.

Thanks again!

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



  1   2   >