Re: [google-appengine] App engine sub domain SSL not working

2021-09-16 Thread Adam Jack
H, sorry ... looking closer, your screenshot is the screen I was
showing you.

The more I poke about the more I see the same stuff you are showing.

That said, I don't have the wildcard pattern you seem to have at the end of
the dispatch.yaml. I have nothing for the default service.

Sorry I couldn't help.

regards

Adam

On Thu, Sep 16, 2021 at 8:22 PM Adam Jack  wrote:

> I'm no expert, but I did find instructions on how to set it up [I forget
> where] but I think you (at least) need to go here (after DNS is set up) and
> see the "SSL security"
>
>https://console.cloud.google.com/appengine/settings/domains?project=
> ...
>
> ... mine says "Google-managed, auto-renewing".
>
> regards
>
> Adam
>
> On Thu, Sep 16, 2021 at 8:46 AM Alexander Crosson 
> wrote:
>
>> Hi,
>>
>> I'm trying to get my app to run on app engine with subdomains for the
>> frontend and backend services. I'm able to get my apps to run at their app
>> spot URL https://dev-api-dot-.ue.r.appspot.com , but when
>> i try hitting https://dev.api..com I get "This site can’t
>> provide a secure connection", meaning the SSL cert handshake doesn't pass.
>> Can someone please suggest how to fix this? I've search all over the
>> internet but cannot find a solution.
>>
>> Here is the *dispatch.yaml* file
>> dispatch:
>> - url: "dev.app..com/*"
>>   service: dev-app
>> - url: "dev.api..com/*"
>>   service: dev-api
>> - url: "*/.*"
>>   service: default
>>
>> Here is the dev-api.yaml:
>> service: dev-api
>> runtime: nodejs16
>>
>> inbound_services:
>> - warmup
>> automatic_scaling:
>> max_instances: 1
>> resources:
>> cpu: 1
>> memory_gb: 0.5
>> disk_size_gb: 10
>> handlers:
>> - url: /.*
>> secure: always
>> redirect_http_response_code: 301
>> script: auto
>>
>>
>>
>> --
>> 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/fb7ad98b-3989-4df7-b648-9a8102711624n%40googlegroups.com
>> <https://groups.google.com/d/msgid/google-appengine/fb7ad98b-3989-4df7-b648-9a8102711624n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Responserack
> - incidents happen, response is crafted...
> https://www.responserack.com
> (720) 340-2048 <720-340-2048> | LinkedIn
> <https://www.linkedin.com/company/responserack> | Facebook
> <https://facebook.com/Responserack> | Twitter
> <https://twitter.com/Responserack> | Capterra
> <https://www.capterra.com/p/234883/Responserack/>
>


-- 
Responserack
- incidents happen, response is crafted...
https://www.responserack.com
(720) 340-2048 <720-340-2048> | LinkedIn
<https://www.linkedin.com/company/responserack> | Facebook
<https://facebook.com/Responserack> | Twitter
<https://twitter.com/Responserack> | Capterra
<https://www.capterra.com/p/234883/Responserack/>

-- 
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/CAMT-FFL2a-%3DDtUNeGrY%3DHTrju8%3DnH2sz_sog2viFD1CwasZBRg%40mail.gmail.com.


Re: [google-appengine] App engine sub domain SSL not working

2021-09-16 Thread Adam Jack
I'm no expert, but I did find instructions on how to set it up [I forget
where] but I think you (at least) need to go here (after DNS is set up) and
see the "SSL security"

   https://console.cloud.google.com/appengine/settings/domains?project= ...

... mine says "Google-managed, auto-renewing".

regards

Adam

On Thu, Sep 16, 2021 at 8:46 AM Alexander Crosson 
wrote:

> Hi,
>
> I'm trying to get my app to run on app engine with subdomains for the
> frontend and backend services. I'm able to get my apps to run at their app
> spot URL https://dev-api-dot-.ue.r.appspot.com , but when i
> try hitting https://dev.api..com I get "This site can’t provide a
> secure connection", meaning the SSL cert handshake doesn't pass. Can
> someone please suggest how to fix this? I've search all over the internet
> but cannot find a solution.
>
> Here is the *dispatch.yaml* file
> dispatch:
> - url: "dev.app..com/*"
>   service: dev-app
> - url: "dev.api..com/*"
>   service: dev-api
> - url: "*/.*"
>   service: default
>
> Here is the dev-api.yaml:
> service: dev-api
> runtime: nodejs16
>
> inbound_services:
> - warmup
> automatic_scaling:
> max_instances: 1
> resources:
> cpu: 1
> memory_gb: 0.5
> disk_size_gb: 10
> handlers:
> - url: /.*
> secure: always
> redirect_http_response_code: 301
> script: auto
>
>
>
> --
> 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/fb7ad98b-3989-4df7-b648-9a8102711624n%40googlegroups.com
> 
> .
>


-- 
Responserack
- incidents happen, response is crafted...
https://www.responserack.com
(720) 340-2048 <720-340-2048> | LinkedIn
 | Facebook
 | Twitter
 | Capterra


-- 
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/CAMT-FFLVmTzrbSgvb37c18Eis9kMU86uasD%3DY%2BEGMTDrEk857g%40mail.gmail.com.


Re: [google-appengine] gcloud deployment error

2020-12-01 Thread Adam Jack
It says;

   No space left on device

... has your project been growing for 7 years?

regards,

Adam

On Tue, Dec 1, 2020 at 4:11 PM José Antonio Sánchez Ortiz <
jasof...@gmail.com> wrote:

> Hi, from six hours ago i´m getting:
>
> gcloud --quiet --project $PROJECT_ID_PRODUCTION app deploy
> app-default.yaml --version=$CI_COMMIT_SHORT_SHA
> Services to deploy:
> descriptor: [/builds/SFALC/gymup-web-app/app-default.yaml]
> source: [/builds/SFALC/gymup-web-app]
> target project: [xxx]
> target service: [default]
> target version: [f04afaed]
> target url: [http://xx.ew.r.appspot.com]
> Beginning deployment of service [default]...
> Building and pushing image for service [default]
> ERROR: gcloud crashed (IOError): [Errno 28] No space left on device
>
> Several years deploying this project and this is the first time we get
> this error
>
> Thanks in advance
>
> José Antonio Sánchez Ortiz
>
> --
> 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/6c7e48b2-4848-4307-ab35-bf437996ac46n%40googlegroups.com
> 
> .
>


-- 
Responserack
- incidents happen, response is crafted...
https://www.responserack.com | LinkedIn
 | Facebook
 | Twitter


-- 
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/CAMT-FFKfy_eMOkabPssbQzuy7k%3DtOgJu3y5BxyJWbDqD%2BjUbog%40mail.gmail.com.


Re: [google-appengine] Re: GAE Web app sending mail using SendGrid

2020-07-15 Thread Adam Jack
I don't know the background here, but in case any of this helps:

Do you have an API key from SendGrid?

   https://app.sendgrid.com/settings/api_keys

In your appengine-web.xml  set the environment variable to pass that API
key into:


  




https://cloud.google.com/appengine/docs/standard/java/config/appref


Sorry if I am off base, it just looks similar to what I am doing (with Go.)


regards,

Adam

On Wed, Jul 15, 2020 at 6:20 AM Alexis CAPGEMINI <
alexis.capgem...@radiall.com> wrote:

> Can you please explain how you did this ?
>
> I'm still stuck with an error here :  SendGrid sendgrid = new
> SendGrid( System.getenv("SENDGRID_SENDER"));
>
> Thanks
>
> Le vendredi 7 septembre 2018 à 18:02:44 UTC+2, rashmi...@gmail.com a
> écrit :
>
>> I have solved the problem. I had to use Urlfetch configuration in
>> appengine-web.xml and use URLFetch class instead of HttpURLConnection. It
>> works now. Thanks for the help!
>>
>>
>> On Saturday, August 25, 2018 at 1:08:16 AM UTC+5:30, George (Cloud
>> Platform Support) wrote:
>>>
>>> If you would like us to look more in-depth in the issue, you should
>>> write a private message with your project ID. You can do this using the
>>> drop-down menu of the reply button, at the top-right of the message window.
>>>
>> --
> 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/21e0c86a-886a-491b-a57d-cd4d72b4e02cn%40googlegroups.com
> 
> .
>


-- 
Responserack
- incidents happen, response is crafted...
https://www.responserack.com | LinkedIn
 | Facebook
 | Twitter


-- 
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/CAMT-FFKdRnu8Ajr5CrdCXCYf9Uk-OsecionwZfcP2NBRLnj1_Q%40mail.gmail.com.


[google-appengine] Re: Migrating from Go on GAE to Go on GAE using Google App Engine Go library...

2020-07-01 Thread Adam Jack
For completeness, as I wandered in the wilderness confused I stumbled upon 
this:

  
 
https://cloud.google.com/appengine/docs/standard/go/go-differences#migrating-appengine-sdk

... and I believe the answer to my question is *don't* do what I was 
attempting, instead skip the Google App Engine SDK (as a thing of the past) 
and go to Google Cloud APIs.

regards

Adam

On Saturday, June 27, 2020 at 6:33:24 PM UTC-6 Adam Jack wrote:

> Hello,
>
> I've been using GAE for a number of months running a go webapp (pretty 
> vanilla HTTP with a Gorilla MUX.) It has been working well. I've recently 
> started to want to access some of the GAE services and so am trying to 
> start to use the GAE go library. I also want to be able to develop offline 
> ('cos I often work where networks are poor.)
>
> I cannot seem to get my head around reworking my environment to succeed. 
> When I make GAE calls (e.g. to memcache) I get told "not an App Engine 
> context".
>
> I've tried reading documentation and Googling but I cannot seem to find 
> the pattern of setup I am missing, if one exists. Maybe I've painted myself 
> into a corner somehow.
>
> I've tried wrapping/replacing my context.Context via 
> appengine.WithContext, and my HTTP request. That said, I continue to get 
> the same error message.
>
> I tried calling appengine.Main (as some search results suggested) in my 
> main but things just hung badly. I don't know how to refactor to support 
> that entry point, but maybe I need to learn.
>
> Hmmm, reading the code comment inside appengine.Main I see a new path to 
> try, refactor so that when running on GAE the code sets up http handlers 
> (somehow) and dives into appengine.Main, and when not in GAE it runs my own 
> HTTP server. I think I can try that. Does anybody know of a code example I 
> can see to emulate?
>
> Further question ... once I am, in appengine.Main will all contexts I get 
> (from the HTTP requests) be ok for me to with.Context wrapper, to store my 
> own values? (I've read some older postings that this breaks the appengine 
> context.)
>
> Any pointers would be really helpful. I've googled and found "Getting 
> Started" and such, and some migration docs, but I'm starting to feel I'm 
> unintentionally following an uncommon path.
>
> BTW: Separately, it seems that memcache works on standard but not flex 
> (hopefully that is correct) which makes me think maybe memcache isn't a 
> good solution for long term. Is it deprecated in favor of something 
> else, or what?
>
> Thanks in advance for any suggestions.
>
> regards,
>
> Adam
> -- 
> Responserack
> - incidents happen, response is crafted...
> https://www.responserack.com | LinkedIn 
> <https://www.linkedin.com/company/responserack> | Facebook 
> <https://facebook.com/Responserack> | Twitter 
> <https://twitter.com/Responserack>
>

-- 
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/11d91a40-70ab-43dd-9e91-e7678b404a3fn%40googlegroups.com.


[google-appengine] Migrating from Go on GAE to Go on GAE using Google App Engine Go library...

2020-06-27 Thread Adam Jack
Hello,

I've been using GAE for a number of months running a go webapp (pretty
vanilla HTTP with a Gorilla MUX.) It has been working well. I've recently
started to want to access some of the GAE services and so am trying to
start to use the GAE go library. I also want to be able to develop offline
('cos I often work where networks are poor.)

I cannot seem to get my head around reworking my environment to succeed.
When I make GAE calls (e.g. to memcache) I get told "not an App Engine
context".

I've tried reading documentation and Googling but I cannot seem to find the
pattern of setup I am missing, if one exists. Maybe I've painted myself
into a corner somehow.

I've tried wrapping/replacing my context.Context via appengine.WithContext,
and my HTTP request. That said, I continue to get the same error message.

I tried calling appengine.Main (as some search results suggested) in my
main but things just hung badly. I don't know how to refactor to support
that entry point, but maybe I need to learn.

Hmmm, reading the code comment inside appengine.Main I see a new path to
try, refactor so that when running on GAE the code sets up http handlers
(somehow) and dives into appengine.Main, and when not in GAE it runs my own
HTTP server. I think I can try that. Does anybody know of a code example I
can see to emulate?

Further question ... once I am, in appengine.Main will all contexts I get
(from the HTTP requests) be ok for me to with.Context wrapper, to store my
own values? (I've read some older postings that this breaks the appengine
context.)

Any pointers would be really helpful. I've googled and found "Getting
Started" and such, and some migration docs, but I'm starting to feel I'm
unintentionally following an uncommon path.

BTW: Separately, it seems that memcache works on standard but not flex
(hopefully that is correct) which makes me think maybe memcache isn't a
good solution for long term. Is it deprecated in favor of something
else, or what?

Thanks in advance for any suggestions.

regards,

Adam
-- 
Responserack
- incidents happen, response is crafted...
https://www.responserack.com | LinkedIn
 | Facebook
 | Twitter


-- 
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/CAMT-FFLT0srzczd56LmM_fSMAktDuc8Dj0kRisdvppPrk5mN5g%40mail.gmail.com.


[google-appengine] Does enabling IAP for AppEngine change sa context?

2019-07-08 Thread Jack Lee
If we enable IAP for AppEngine and provide a specific service account to 
the client, will AppEngine and all Google APIs be executed under that sa 
context or will they still be executed under AppEngine's default sa? 
Without IAP enabled it appears to be the default sa since I can make 
requests to my (unprotected) webservice and retrieve data from BigQuery, 
Datastore, etc.

We would like to have a master project with our AppEngine and other Compute 
Engine in a "master"-project and then create new projects that hosts each 
customer's BigQuery data and then give each sa accounts access to AppEngine 
in the master project and then BigQuery data hosted in their respective 
projects. One reason is that we can monitor BigQuery expenditure on project 
level (see how much data are queried by each customer) while also keeping 
data separate.

/Jack

-- 
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/67810b81-e9b4-491f-bb6f-1b87f15d98a8%40googlegroups.com.


[google-appengine] Creating Proxies.

2018-10-11 Thread Jack Kinniburgh-Dickie
Hi All,

I wish to create proxies using GCS for sneaker websites. The video I have 
seen somebody do it in 
is https://www.youtube.com/watch?v=hpw7g3QD4v8&t=458s . He mentions a 
script, does anybody have this?

Thank you
Jack

-- 
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/494029d5-69a9-4167-9b98-e11b182214cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Necessary to split webservice due to the request timeout limitations?

2018-01-28 Thread Jack Lee
I'm currently implementing a (web)service in AppEngine Flexible. Within a 
single call to the service it will retrieve data from our backend, 
BigQuery, pass the data to external APIs, wait for their responses for data 
processing and then respond to the caller with a processing status. With 
our current implementation it may take well over a minute to complete the 
request. The service is written in .NET Core and I'm using the Google Cloud 
.NET libraries.

I understand that AppEngine has some hard limitations such as a maximum 
time limit of 60 seconds for a HTTP request to an AppEngine [1], and 
apparently, there is a similar limit for Google Cloud SQL database requests 
[2]. I suppose the maximum time limit apply for both AppEngine Standard and 
Flexible environments? Does the timeout limit apply for BigQuery too? Also, 
according to this StackOverflow Q&A [3] it appears that the hard limit can 
be overcome by choosing an appropiate instance class but this seems to be a 
setting for the Standard environment – is that correctly 
understood?Instance classes are only described in the About article [4] for 
Standard environment.

If so, what are my architectural alternatives? Right now I can only think 
of variants of separation of the webservice receiving requests from the 
business logic that does the data processing and takes time. In other 
words, a webservice as the frontend which responds immediately with a jobId 
of some sort and then the client has to queue for the status. In the 
meantime another process is waiting for new requests and will change the 
job status when it's picking up a request.

Google Cloud seems to have several frameworks for this: Pub / Sub message 
queueing, Task Queue, and perhaps thirdly, a cronjob that would frequently 
read new requests from some database table. I'm still in the process of 
understanding the difference between Pub/Sub and Task Queue though there 
doesn't seem to be an .NET API for the latter. But how is the worker 
service "awakened" when a new message arrives to Pub / Sub? Will the 
framwork itself take care of that? And will the worker automatically have 
its request timeout set to 10 minutes instead of the 60 secs for frontend 
webservices or is it something one configures in the .yaml-file?

I'm getting a feeling - after having googled enough - that going through 
the bookshelf tutorial in [5] could answer some of my questions. But I 
could use some advice on which direction to go to avoid the pitfalls. :)

[1]: Dealing with DeadlineExceededErrors  |  App Engine Documentation  |  
Google Cloud Platform
https://cloud.google.com/appengine/articles/deadlineexceedederrors

[2]: Pricing and Access Limits  |  App Engine standard environment for Java 
 |  Google Cloud Platform
https://cloud.google.com/appengine/docs/standard/java/cloud-sql/pricing-access-limits

[3]: php - How to increase Google App Engine request timer. Default is 60 
sec - Stack Overflow
https://stackoverflow.com/questions/43115412/how-to-increase-google-app-engine-request-timer-default-is-60-sec

[4]: The App Engine Standard Environment  |  App Engine Documentation  |  
Google Cloud Platform
https://cloud.google.com/appengine/docs/standard/#instance_classes

[5]: Using Cloud Pub/Sub with .NET  |  .NET  |  Google Cloud Platform
https://cloud.google.com/dotnet/docs/getting-started/using-pub-sub

-- 
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/0a2e9e4d-4d6c-4d49-94aa-8c265d8bfd23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] error 503 local host google datastore

2016-11-22 Thread Jack Heinemann


So I am a total novice when it comes to datastore and cloud interaction, 
and I am trying to figure out the basics of datastore through the google 
bookshelf tutorial. I have the free trial running for 60 days and just want 
to wrap my head around how it works.

So in the setup I reached this portion of the tutorial (screenshot of 
google site ) (this is the url: 
https://cloud.google.com/java/getting-started/using-forms) and I seem to be 
doing okay. I ran the code it asks for and seem to have started a jetty 
server in my terminal. It reads:

[INFO] Started ServerConnector@5ef8c2f7{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[INFO] Started @14439ms
[INFO] Started Jetty Server

So the next step is to go to localhost8080 in my browser but when I get 
there I get an HTTP 503 Error that reads:

Problem accessing /. Reason:
Service Unavailable

I can't seem to find a solution to this anywhere, so I was wondering if 
anyone could give me some insight into what I should do. Thanks!

-- 
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/f01c1068-cc08-48be-902e-ea2e3f65fcbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] task in queue not running (since 27, Jan)

2016-01-26 Thread Jack Liu
i have the following task queue setup, it has been running ok for the last 
few weeks, but today the queue is blocked and no task in the queue will run 
(the "Running" task is always 0). it is not working even after i purged the 
queue. anybody know what might be the root cause?


- name: msgreply
  rate: 1/s
  bucket_size: 5
  max_concurrent_requests: 1
  retry_parameters:
task_retry_limit: 0


Queue NameTasks In QueueCompleted In Last Min.Oldest Task ETA Maximum Rate 
Enforced 
Rate Bucket Size Maximum Concurrent Running


















msgreply 4 0 2016-01-27 (00:47:02) 
(20 sec ago) 5/s 
5 1 0








-- 
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/b9bf6b3a-f012-44ac-804a-6eb1f823a90b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Updating an existing child entity causes it to be deleted?

2013-07-22 Thread Jack Rief
Using the Datastore viewer, I see my child entity right after it is created 
via my application.  Next, the user updates a couple fields on the child 
entity and saves it.   However the Datastore viewer no longer "sees" the 
entity!  I see no processing or transaction errors in the logs.I do see 
the parent's child collection field appears to still contain the child ala:

[datastore_types.Key.from_path(u'Parent', u'1527525075', u'Child', 
5799236641751040L, _app=u's~myapp')]

In fact, the user still sees the relationship in the application!  But... 
 When I redeploy a newer version of the app, or the memcache is cleared 
(and the browser is closed) even the parent's child collection field is 
reset to it's previous value.  

So, the child entity is clearly hanging out in memory, but I don't 
understand why it doesn't appear in the database?

BTW, this functionality used to work prior to upgrading from the appengine 
SDK from 1.7.5 to 1.8.1.1, and now 1.8.2.   I use Java with JDO for 
persistence.  

This is the definition for the child collection in the parent class:
  
  @Persistent(dependentElement="true")
  private Set children; 

This is the definition of the child:
@PersistenceCapable(identityType=IdentityType.APPLICATION, 
detachable="true")
public class Child implements Serializable, Comparable 
{

  @PrimaryKey
  @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
  private Key key;

The children are detached for the update processing by the user.  I ensure 
the parent has the new child in it's collection.  I then save the child, 
then the parent.

This is quite perplexing and driving me crazy as this all used to work!   
Does anyone have any ideas?

-- 
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/groups/opt_out.




[google-appengine] can i invite a gmail user to help me in my inside my google apps account?

2013-07-22 Thread Jack Crenshaw
-- 
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/groups/opt_out.




[google-appengine] pricing details of blobstore API

2012-10-19 Thread Aj Jack
Im looking for a detailed pricing details of Blobstore API. Like quota for 
calling the APIs or calling the write operations.

eg: With an app deployed , if 50gb of data are uploaded by 100 users 
through this app, what would be the approx amount per month.

-- 
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/-/G2NhnCSK_osJ.
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: DKIM not being verified

2012-09-29 Thread Jack Bijou
I am now having the exact same problem.

I have watched YouTube videos and followed instructions from all over the 
web (and to be fair, they are pretty simple instructions for setting up 
DKIM), but my mail is still not being authenticated as expected.

On Sunday, 16 September 2012 12:37:55 UTC-7, Miguel wrote:
>
> Hi,
> Do you know if there is some problem verifying DKIM when you set ti up?
> I have been trying for a week now on 2 different domains and it has been 
> imposible.
> I have added the TXT records on my domain and when I 
> click authenticate doesn't work.
>
> 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/-/seWSsgwG4nYJ.
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] Cannot deploy from eclipse, Server Error 500

2012-04-06 Thread Jack Guo
Used to work well. Not sure if this is caused due to my deploy rollback on 
my previous deploy, or because the service is temporarily down? Please 
help! Thanks!

Error message below:

Unable to update:
com.google.appengine.tools.admin.HttpIoException: Error posting to URL: 
https://appengine.google.com/api/appversion/clonefiles?app_id=azumio-com-backup&version=test&;
500 Internal Server Error



500 Server Error


Error: Server Error
The server encountered an error and could not complete your 
request.If the problem persists, please http://code.google.com/appengine/community.html";>report your 
problem and mention this error message and the query that caused it.



at 
com.google.appengine.tools.admin.AbstractServerConnection.send1(AbstractServerConnection.java:285)
at 
com.google.appengine.tools.admin.AbstractServerConnection.send(AbstractServerConnection.java:245)
at 
com.google.appengine.tools.admin.AbstractServerConnection.post(AbstractServerConnection.java:224)
at 
com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:606)
at 
com.google.appengine.tools.admin.AppVersionUpload.cloneFiles(AppVersionUpload.java:470)
at 
com.google.appengine.tools.admin.AppVersionUpload.beginTransaction(AppVersionUpload.java:430)
at 
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:122)
at 
com.google.appengine.tools.admin.AppAdminImpl.doUpdate(AppAdminImpl.java:328)
at 
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:52)
at 
com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:400)
at 
com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:148)
at 
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

-- 
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/-/11_bk94IN-MJ.
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 delete Error index

2011-12-22 Thread Jack
index marked error, i don't know to delete them.

-- 
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] So Google want us to make use of the instances? Give us the tools to do that!

2011-05-21 Thread Jack

GAE is moving into another IaaS service without the power of IaaS.
I hope they stick with their current way.


From: nickmilon 
Date: Wed, May 18, 2011 at 17:35
Subject: [google-appengine] Re: So Google want us to make use of the instances? 
Give us the tools to do that!
To: Google App Engine 


@Raymond  + 1
This is what I also think.
App engine is moving closer to an IaaS rather than a PaaS service and
I believe this is not really good move.
see here 
: http://gaengine.blogspot.com/2011/05/new-app-engine-pricing-policy-good-bad.html

Nick


On May 18, 10:14 am, "Raymond C."  wrote:

The original design of AppEngine is pay for what you use.  Obviously the new
pricing model (min 15 min instance charge, "low latency over resources
usage") is going after the "pay for the machines you use" model.

If this is the case, it is so stupid to me that the original language of the
choice of AppEngine (python) is single threaded on AppEngine.  Google should
also update their platform alongside with the new pricing so we could make
full use of the machine resources.  Non-blocking server like tornado
(http://www.tornadoweb.org/) or node.js have proven that a single machine
can do a lot of thing. I hate to see the new pricing goes into effect
without platform update that let us make us of the "machines" that we are
paying for.


--
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.



Re: [google-appengine] Status: 500 Internal Server Error

2011-02-27 Thread jack
Thank you, I define Messages() twice :)

-- 
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] Status: 500 Internal Server Error

2011-02-25 Thread jack
Sorry for bad English. Sometimes I have "Status: 500 Internal Server
Error" at my application when I tries to print query, and query seems
don't gives all variables that my application needs and I have error
"AttributeError: 'Messages' object has no attribute 'messageID'".
But 1/4 of all time I got my print "Status: 200 OK Content-Type: text/
html; charset=utf-8 Cache-Control: no-cache Expires: Fri, 01 Jan 1990
00:00:00 GMT Content-Length: 2447" and all needed variables comes to
my app.

Address to app:
http://orkchan.appspot.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] XMPP "presence"

2010-06-15 Thread Jack Bates
How do I set the XMPP "presence" of an App Engine app?

I successfully deployed an app with JID "donttauntqu...@appspot.com",
but haven't yet figured out how to set its XMPP "presence"

-- 
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] I'm having a lot of issues with uploading a file. (ImportError)

2010-01-06 Thread Jack Low
I would do a bunch of random stuff and then it would work, then it
would stop working the next day. I have the loader in the same folder
as helloworld.py, and PYTHONPATH is set to that same folder. Can
someone give me a rundown as to what I really am supposed to do? Where
is the loader supposed to be? And what's PYTHONPATH supposed to be?
This is really frustrating.

Traceback (most recent call last):
  File "F:\Program Files\Google\google_appengine\appcfg.py", line 67,
in 
run_file(__file__, globals())
  File "F:\Program Files\Google\google_appengine\appcfg.py", line 63,
in run_fil
e
execfile(script_path, globals_)
  File "F:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y", line 2548, in 
main(sys.argv)
  File "F:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y", line 2539, in main
result = AppCfgApp(argv).Run()
  File "F:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y", line 1640, in Run
self.action(self)
  File "F:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y", line 2427, in __call__
return method()
  File "F:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y", line 2313, in PerformUpload
run_fn(args)
  File "F:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.p
y", line 2215, in RunBulkloader
sys.exit(bulkloader.Run(arg_dict))
  File "F:\Program Files\Google\google_appengine\google\appengine\tools
\bulkload
er.py", line 3940, in Run
return _PerformBulkload(arg_dict)
  File "F:\Program Files\Google\google_appengine\google\appengine\tools
\bulkload
er.py", line 3763, in _PerformBulkload
LoadConfig(config_file)
  File "F:\Program Files\Google\google_appengine\google\appengine\tools
\bulkload
er.py", line 3517, in LoadConfig
('', 'r', imp.PY_SOURCE))
  File "restaurant_loader.py", line 4, in 
import helloworld
ImportError: No module named helloworld
-- 
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 Google App Engine Program Policies - Adult Content

2009-10-26 Thread Jack

Hi,

GAE is awesome! We make a gae-based CMS for affiliate marketing. We'll
write articles about our affiliate products, but some products of ours
are adult related, like female sexual health products, so we checked
GAE policies, we got "...Pornographic, obscene or excessively profane
content;"  is prohibited, so we're a little confused, is a gae-based
site selling women sexual health products OK? or it's prohibited
content?

Thanks a lot.

Regards,
Jack

--~--~-~--~~~---~--~~
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: Huge spike in load chart followed by flatline?

2009-10-07 Thread jack

Yeah, I got this too on my several gae sites,

High Cpu Http Requests  90% 8262604116349070336 of
9223372036854775808
...

On Oct 7, 7:02 pm, Jason Smith  wrote:
> Instead of the steady oscillation between 60-80 requests per second, I
> see a huge spike about 24 hours before right now (10,000 requests per
> second which is extremely unlikely), and then no discernible traffic
> for the remainder of the chart. (Oviously 60-80 request/second would
> look essentially like zero on a chart at this scale.)
>
> This was a total shock this morning, as I thought the site was down
> and I hadn't been alerted somehow. But I believe it is just an anomaly
> in the app logs or load statistics. Most of the other charts look
> similar except of course ms/request. Has anybody else seen 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-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] Deploy Error at cron update

2009-08-31 Thread Jack Chiang

Hi,

When i upload my app, some error happened. Could someone help me?
My Application ID: jnewsbot

cron.xml
==



/newsbot/spider?spider=YahooTW

crawl news site per 4 minutes
every 4 minutes


/newsbot/spider?spider=YahooHK

crawl news site per 4 minutes
every 4 minutes


/newsbot/purge
purge news every day
every 1 hours


/newsbot/cache
cache news every hours
every 1 hours


==

Console Error Message
==
Creating staging directory
Scanning for jsp files.
Scanning files on local disk.
Initiating update.
Cloning 31 static files.
Cloning 93 application files.
Uploading 1 files.
Uploaded 1 files.
Deploying new version.
Will check again in 1 seconds
Will check again in 2 seconds
Closing update: new version is ready to start serving.
Uploading index definitions.
Uploading cron jobs.
java.io.IOException: Error posting to URL:
http://appengine.google.com/api/datastore/cron/update?app_id=jnewsbot&version=3&;
500 Internal Server Error

Server Error (500)
A server error has occurred.


Debugging information may be found in R:\appengine-
deploy2864583999056729797.log
==


Error Message in R:\appengine-deploy2864583999056729797.log
==
Unable to upload:
java.io.IOException: Error posting to URL:
http://appengine.google.com/api/datastore/cron/update?app_id=jnewsbot&version=3&;
500 Internal Server Error

Server Error (500)
A server error has occurred.

at com.google.appengine.tools.admin.ServerConnection.send
(ServerConnection.java:143)
at com.google.appengine.tools.admin.ServerConnection.post
(ServerConnection.java:81)
at com.google.appengine.tools.admin.AppVersionUpload.send
(AppVersionUpload.java:415)
at com.google.appengine.tools.admin.AppVersionUpload.updateCron
(AppVersionUpload.java:151)
at com.google.appengine.tools.admin.AppVersionUpload.doUpload
(AppVersionUpload.java:121)
at com.google.appengine.tools.admin.AppAdminImpl.update
(AppAdminImpl.java:53)
at com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy
(AppEngineBridgeImpl.java:271)
at
com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace
(DeployProjectJob.java:148)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run
(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
=

--~--~-~--~~~---~--~~
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: Deployment Error: Server Connection Error

2009-08-31 Thread Jack Chiang

Hi Nick

I have similar problem too, could you help me?
My Application ID is jnewsbot


Here is my error message.
===
'Deploying NewsBotApp to Google' has encountered a problem.
Unable to upload app: Error posting to URL:
http://appengine.google.com/api/datastore/cron/update?app_id=jnewsbot&version=3&;
500 Internal Server Error

Server Error (500)
A server error has occurred.


See the deployment console for more details






On 8月17日, 下午8時51分, "Nick Johnson (Google)" 
wrote:
> Hi acocarla,
> I've reset your index quota. You should be able to upload your app again
> now.
>
> -Nick Johnson
>
>
>
> On Fri, Aug 14, 2009 at 12:15 PM, acocarla  wrote:
>
> > Hi,
>
> > I am having a similar problem but with the indexes. I deleted all
> > indexes of the application (voucherapp) using the python appcfg, and
> > now I cannot upload the application anymore. The error I get is the
> > following:
>
> > Unable to upload:
> > java.io.IOException: Error posting to URL:
>
> >http://appengine.google.com/api/datastore/index/add?app_id=voucherapp...
> > 500 Internal Server Error
>
> > Server Error (500)
> > A server error has occurred.
>
> >        at com.google.appengine.tools.admin.ServerConnection.send
> > (ServerConnection.java:143)
> >        at com.google.appengine.tools.admin.ServerConnection.post
> > (ServerConnection.java:81)
> >        at com.google.appengine.tools.admin.AppVersionUpload.send
> > (AppVersionUpload.java:415)
> >         at com.google.appengine.tools.admin.AppVersionUpload.updateIndexes
> > (AppVersionUpload.java:143)
> >        at com.google.appengine.tools.admin.AppVersionUpload.doUpload
> > (AppVersionUpload.java:120)
> >         at com.google.appengine.tools.admin.AppAdminImpl.update
> > (AppAdminImpl.java:53)
> >         at com.google.appengine.tools.admin.AppCfg$UpdateAction.execute
> > (AppCfg.java:504)
> >        at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:129)
> >        at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:57)
> >        at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:53)
> > com.google.appengine.tools.admin.AdminException: Unable to upload app:
> > Error posting to URL:
> >http://appengine.google.com/api/datastore/index/add?app_id=voucherapp...
> > 500 Internal Server Error
>
> > Server Error (500)
> > A server error has occurred.
>
> >         at com.google.appengine.tools.admin.AppAdminImpl.update
> > (AppAdminImpl.java:59)
> >        at com.google.appengine.tools.admin.AppCfg$UpdateAction.execute
> > (AppCfg.java:504)
> >        at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:129)
> >        at com.google.appengine.tools.admin.AppCfg.(AppCfg.java:57)
> >        at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:53)
> > Caused by: java.io.IOException: Error posting to URL:
>
> >http://appengine.google.com/api/datastore/index/add?app_id=voucherapp...
> > 500 Internal Server Error
>
> > Server Error (500)
> > A server error has occurred.
>
> >        at com.google.appengine.tools.admin.ServerConnection.send
> > (ServerConnection.java:143)
> >        at com.google.appengine.tools.admin.ServerConnection.post
> > (ServerConnection.java:81)
> >        at com.google.appengine.tools.admin.AppVersionUpload.send
> > (AppVersionUpload.java:415)
> >         at com.google.appengine.tools.admin.AppVersionUpload.updateIndexes
> > (AppVersionUpload.java:143)
> >        at com.google.appengine.tools.admin.AppVersionUpload.doUpload
> > (AppVersionUpload.java:120)
> >         at com.google.appengine.tools.admin.AppAdminImpl.update
> > (AppAdminImpl.java:53)
> >         ... 4 more
>
> > I did not modify my indexes in any way. Before deleting them, I was
> > able to upload the very same file I'm now trying to upload.
>
> > I tried removing stuff from the datastore-indexes.xml in order to see
> > if I could upload only one index.
> > So I cannot upload even the following sample file:
>
> > 
>
> > 
>
> >    
> >        
> >    
>
> > 
>
> > Can somebody please help me figuring out what the problem is?
>
> > Thanks,
> > Alecsandru
>
> > On Jul 31, 10:24 am, Geetha  wrote:
> > > Hi Jeff,
>
> > > Even i'm facing the same problem.. i'm trying to deploy my java web
> > > application where i'm using my cron.xml as mentioned below.
> > > 
> > > 
> > >         
> > >                 index.jsp
> > >                 Test cron service
> > >                 every 1 minutes
> > >         
> > > 
> > > i have not given any security access in web.xml , though i'm getting
>
> > > Unable to upload:
> > > java.io.IOException:ErrorpostingtoURL:
> >http://appengine.google.com/api/datastore/cron/update?app_id=crmitrep...
> > > 500 Internal ServerError
>
> > > ServerError(500)
> > > A servererrorhas occurred.
>
> > >         at com.google.appengine.tools.admin.ServerConnection.send
> > > (ServerConnection.java:143)
> > >         at com.google.appengine.tools.admin.ServerConnection.post
> >

[google-appengine] Re: Google App Engine and Dedicated IP

2009-08-24 Thread jack

Hi, Nick

Many thanks for your valuable suggestions

On Aug 24, 4:35 pm, "Nick Johnson (Google)" 
wrote:
> Hi yaoye,
> Although it's not possible to bind a static IP to an App Engine app (or to
> route an individual IP address across the internet in general), no search
> engine - including Google - is likley to penalize you for your IP address
> changing. Search engines generally only care about your DNS name and the
> responses they get over HTTP.
>
> -Nick Johnson
>
> On Sun, Aug 23, 2009 at 5:16 AM, yaoye  wrote:
>
> > Hi, guys,
>
> > Would it be possible to bind a dedicated IP to my GAE-based site? I
> > have a pr-4 site, and I wanna port it to GAE, but I'm worried about
> > losing its ranking in Google for IP changing.
>
> > All suggestions are welcome!
>
> > Thanks a lot.
>
> --
> 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: Google App Engine and Dedicated IP

2009-08-24 Thread jack

Thanks, I'll try to port the site to GAE.

On Aug 23, 11:05 pm, Barry Hunter  wrote:
> No this is not possible, for many reasons.
>
> A static IP would lose much of the advantage of AppEngine.
>
> You could if you want proxy the site though the server with the static
> IP, but seems kinda silly.
>
> On 23/08/2009, yaoye  wrote:
>
>
>
>
>
> >  Hi, guys,
>
> >  Would it be possible to bind a dedicated IP to my GAE-based site? I
> >  have a pr-4 site, and I wanna port it to GAE, but I'm worried about
> >  losing its ranking in Google for IP changing.
>
> >  All suggestions are welcome!
>
> >  Thanks a lot.
--~--~-~--~~~---~--~~
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: RuntimeWarning: Custom _query_class specified without corresponding custom _query_multi_class. Things will break if you use queries with the "IN" or "!=" operators.

2009-02-09 Thread Jack

BTW, the new SDK has just hit http://code.google.com/appengine/downloads.html
.

On Feb 10, 11:07 am, Jack  wrote:
> The warning won't break anything. It's caused by some internal changes
> in preparation for the next SDK release. Once the new SDK comes out,
> you'll be able to fix your SearchableModel extensions to make the
> warning go away.
>
> On Feb 7, 11:42 pm, Tom  wrote:
>
> > Perhaps associated with my use of 
> > SearchableModel?http://code.google.com/p/googleappengine/source/browse/trunk/google/a...
>
> > I have my own version of SearchableModel but its differences with the
> > trunk are only in how the words are added for searching
> > (unicodedata.normalize).
>
> > On Feb 7, 7:25 am, Tom  wrote:
>
> > > My app started throwing these error messages into the log yesterday
> > > (no change to the app on my part).  Any ideas on the cause?
>
> > > 02-06 10:08PM 16.942 /android/bottle/search/ 200 145ms 744ms-cpu 0kb
> > > 208.54.83.57 - - [06/Feb/2009:22:08:17 -0800] "POST /android/bottle/
> > > search/ HTTP/1.1" 200 184 - -
> > > E 02-06 10:08PM 17.085
> > > /base/python_lib/versions/1/google/appengine/ext/db/__init__.py:1558:
> > > RuntimeWarning: Custom _query_class specified without corresponding
> > > custom _query_multi_class. Things will break if you use queries with
> > > the "IN" or "!=" operators.
> > > E 02-06 10:08PM 17.085
> > >   ' the "IN" or "!=" operators.', RuntimeWarning)
--~--~-~--~~~---~--~~
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: RuntimeWarning: Custom _query_class specified without corresponding custom _query_multi_class. Things will break if you use queries with the "IN" or "!=" operators.

2009-02-09 Thread Jack

The warning won't break anything. It's caused by some internal changes
in preparation for the next SDK release. Once the new SDK comes out,
you'll be able to fix your SearchableModel extensions to make the
warning go away.

On Feb 7, 11:42 pm, Tom  wrote:
> Perhaps associated with my use of 
> SearchableModel?http://code.google.com/p/googleappengine/source/browse/trunk/google/a...
>
> I have my own version of SearchableModel but its differences with the
> trunk are only in how the words are added for searching
> (unicodedata.normalize).
>
> On Feb 7, 7:25 am, Tom  wrote:
>
> > My app started throwing these error messages into the log yesterday
> > (no change to the app on my part).  Any ideas on the cause?
>
> > 02-06 10:08PM 16.942 /android/bottle/search/ 200 145ms 744ms-cpu 0kb
> > 208.54.83.57 - - [06/Feb/2009:22:08:17 -0800] "POST /android/bottle/
> > search/ HTTP/1.1" 200 184 - -
> > E 02-06 10:08PM 17.085
> > /base/python_lib/versions/1/google/appengine/ext/db/__init__.py:1558:
> > RuntimeWarning: Custom _query_class specified without corresponding
> > custom _query_multi_class. Things will break if you use queries with
> > the "IN" or "!=" operators.
> > E 02-06 10:08PM 17.085
> >   ' the "IN" or "!=" operators.', RuntimeWarning)
--~--~-~--~~~---~--~~
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: QueryIterator Error

2009-02-09 Thread Jack


The internals of the Query class have been recently changed. Are you
retrieving Query objects from somewhere (memcache perhaps?) instead of
constructing them when needed?

Memcaching Query objects isn't generally a good idea. You probably
want to cache the results instead. See e.g.,
http://groups.google.com/group/google-appengine/browse_thread/thread/2a555b8c33cbbd62/b9d6511a2eafa581

On Feb 10, 4:30 am, Marzia Niccolai  wrote:
> Hi,
>
> Can you please post the code to the handler where you are seeing this issue.
>
> -Marzia
>
> On Sun, Feb 8, 2009 at 7:30 AM, Davide Ferrero  wrote:
>
> > From 2 two days my applications fall in error in every pages. I don't
> > have modified nothing from 1 week and three days ago my application
> > works correctly.. this is the error log:
>
> > #
> >      02-08 07:24AM 44.966 / 500 194ms 139ms-cpu 0kb
> >      See details
> >      79.50.168.248 - - [08/Feb/2009:07:24:45 -0800] "GET / HTTP/1.1"
> > 500 104 - -
> >      E 02-08 07:24AM 45.081
>
> >      'Query' object has no attribute '_Query__query_sets'
> >      Traceback (most recent call last):
> >        File "/base/python_lib/versions/1/google/appengine/ext/webapp/
> > __init__.py", line 498, in __call__
> >          handler.get(*groups)
> >        File "/base/data/home/apps/sbook/1.331254528912766865/
> > main.py", line 89, in get
> >          tags=Cloud.tagCloud()
> >        File "/base/data/home/apps/sbook/1.331254528912766865/
> > main.py", line 173, in tagCloud
> >          for q in q1:
> >        File "/base/python_lib/versions/1/google/appengine/ext/db/
> > __init__.py", line 1336, in __iter__
> >          return self.run()
> >        File "/base/python_lib/versions/1/google/appengine/ext/db/
> > __init__.py", line 1328, in run
> >          return _QueryIterator(self._model_class, iter(self._get_query
> > ().Run()))
> >        File "/base/python_lib/versions/1/google/appengine/ext/db/
> > __init__.py", line 1547, in _get_query
> >          for query_set in self.__query_sets:
> >      AttributeError: 'Query' object has no attribute
> > '_Query__query_sets'
>
> > 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
-~--~~~~--~~--~--~---