Re: [google-appengine] Re: zigzag merge

2018-06-26 Thread Rajesh Gupta
I am not sure whether some indexes are needed,  because, I don't know, when
that index is used in the application in which path and options and in
which corner case.
Hence, trying to find any zigzag utility to find that out any equivalent
index, so that I am safe, when that corner case gets executed.

On Mon, Jun 25, 2018 at 1:11 AM, 'George (Cloud Platform Support)' via
Google App Engine  wrote:

> When you are sure that old indexes are no longer needed, you can delete
> them from Cloud Datastore using the datastore cleanup-indexes
> 
> command. This command deletes all indexes for the production Cloud
> Datastore instance that are not mentioned in the local version of
> index.yaml. For more detail, you may read the "Deleting unused indexes"
> sub-chapter
> 
> of the "Index Configuration" online document.
>
> --
> 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/b0be29f5-e0e5-442f-a4bf-
> 3416ec23c1e3%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Rajesh
*www.VeersoftSolutions.com *
*www.GainERP.com *
*Accounting/Inventory/Orders/Sales/Purchase on Google Cloud Platform and
Mobile*

-- 
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%2BS7ijawXuKEEpVrH-z09OKHfoNMUF0N3Qw5tCz%3DriPsnZGLyQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Can a Flex application be completely private?

2018-06-26 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
You can restrict the access to your App Engine application via Firewall 
rules 
. 
Note the way to allow other App Engine services 

 
to access your application if this is required by your application. 

-- 
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/f2b07f64-5150-4262-bed3-376f1a7338e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: ValueError: virtualenv: cannot access lib: No such virtualenv or site

2018-06-26 Thread Craig Dsouza
After a little more reading I'm wondering whether its my project file 
structure that is the issue

it is something like
-- project folder
-- venv (python virtual environment)
   -- Include
   -- Lib
   -- Scripts
   -- tcl
   -- static (html,css,js)
   -- templates (jinja templates)
   app.yaml
   appengine_config.py
   main.py
   requirements.txt

does this seem right?

Best
Craig


-- 
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/441243d9-3930-40ef-adfe-e93397854fe5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Sudden and ongoing spike in memory and CPU utilization

2018-06-26 Thread 'Jordan (Cloud Platform Support)' via Google App Engine
The App Engine engineering team is aware of this issue and they are 
currently investigating it. There looks to be an initial correlation with 
the latest Python update 
. 
All further communications should continue in the Issue Report 
. 

-- 
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/30defcd2-31a9-40a2-9691-4c99d5aa4ff5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Stackdriver Structured Logging from App Engine Flex

2018-06-26 Thread Janghwan Lee
I am not having issue with stdout messages. I am just talking about its
limited capability.
Why don’t you support structured logging when there is already
logback(which is de facto standard) appender and fluentd agents running on
app engine nodes which is very performent.
It would be much simpler and more performant solution then directly
implementing logging API.
I found a github issue and related PR created many months ago which
implemented what i mentioned, but it’s not merged yet somehow.
https://github.com/GoogleCloudPlatform/google-cloud-java/issues/2669

P.S I’m not sure what “general discussions” is if this is not.

On Mon, Jun 25, 2018 at 1:45 PM 'Jordan (Cloud Platform Support)' via
Google App Engine  wrote:

> If you are having issues with your stdout and stderr messages not
> appearing in Stackdriver Logs Viewer, you can directly log to Stackdriver
> Logging via the Google Cloud Java Client for Logging
> 
> .
>
> - Note: Google Groups is reserved for general product discussions and is
> not for technical support. If you require further technical support for
> logging to Stackdriver, it is recommended to post your detailed questions
>  to Stack Exchang
> e using the
> supported Cloud tags.
>
> --
> 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/sybth9EVEEk/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/9e08da63-a43b-42fb-b3c0-51684db52a76%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/CAO1ewb3om2zaDDvDJZpBbJg1UxQ-gWdcsrf9i78w7ZtLvhQ90g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Webstorm debug App Engine Flexible NodeJs app.

2018-06-26 Thread Sudhanshu Gaur
Now I am trying in Intellij-Community, tell me why I am facing the issue ??

On Tuesday, June 26, 2018 at 7:45:46 PM UTC+5:30, Kenworth (Google Cloud 
Platform) wrote:
>
> I apologize for not being more clearer previously. Deploying GAE Flex app 
> is not currently supported 
>  on IDEs other than 
> IntelliJ IDEA - Ultimate and Community. Webstorm is not currently 
> supported. We also do not have visibility towards the mentioned IDEs.
>
> Unfortunately, this is beyond the scope of Google Groups which is reserved 
> for general discussion of GCP's products and services. For further 
> technical assistance, I recommend you post on Stack Exchange which uses a 
> popular question-and-answer platform and it hosts a number of sites, 
> including StackOverflow . Please visit our 
> community support page for list of StackOverflow tags 
>  we monitor, or this 
> page  showing free different support 
> resources and paid 1-on-1 technical support option.
>

-- 
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/55e2b267-5a4e-427f-902b-0d8ee5bbf1f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] What platform to serve basic PHP websites which connect to Cloud SQL for data for the web pages?

2018-06-26 Thread Brian Harrell
Thank you!

On Friday, June 8, 2018 at 3:52:36 PM UTC-5, barryhunter wrote:
>
>
>>
>> GAE? and Google Cloud SQL?
>>
>
> They make a good pairing. 
>  
>
>>
>> Host images for the website where? 
>>
>
> Well can store them in Cloud Storage
> https://cloud.google.com/appengine/docs/standard/php/storage
>
> But also GAE comes with built in support for hosting 'static' files
>
> https://cloud.google.com/appengine/docs/standard/php/getting-started/serving-static-files
>
> (good for storing the 'files' the app needs, created by you the developer) 
>
>
> ... Cloud Storage is better if allow your visitors to upload files for 
> example. 
>
>
>
>

-- 
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/138a7c8c-abb2-4cfa-be86-38c2bc2fd46c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Connecting Cloud SQL from App Engine with TCP.

2018-06-26 Thread Janghwan Lee
I can’t get the answer from stack exchange because there’s no way to do it
as you mentioned. Then, let me change my question.
Why don’t you support TCP connection proxy for App Engine? Many modern SQL
libraries do not support UNIX connection, and it prevents us to use Cloud
SQL.

On Mon, Jun 25, 2018 at 1:30 PM 'Jordan (Cloud Platform Support)' via
Google App Engine  wrote:

> In-bound socket connections are not supported in App Engine (some
> runtimes
> support
> outbound connections with limitations). Therefore, the correct way to
> connect to your SQL instance from App Engine is via a UNIX socket
> connection from your application code to the local SQL proxy built into App
> Engine. This can be done easily via a supported API in the runtime language
> you chose as shown in the documentation
> 
>  (example
> for Python).
>
> - Note: Google Groups is reserved for general product discussions and is
> not for technical support. If you require further technical support for
> connecting your App Engine application to Cloud SQL, it is recommended to
> post your detailed questions 
> to Stack Exchang e
> using the supported Cloud tags.
>
> --
> 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/qY00qmXpPPo/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/87acab90-b9ee-4c31-a006-562780df2dcb%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/CAO1ewb2ZKTv7h5n_%2Bqx8Js7k878Yw-qKfe24F87W7L3PRsYSyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: What platform to serve basic PHP websites which connect to Cloud SQL for data for the web pages?

2018-06-26 Thread Brian Harrell
Thank you!

On Friday, June 8, 2018 at 4:17:45 PM UTC-5, George (Cloud Platform 
Support) wrote:
>
> Hello Brian, 
>
> You are right, GAE and Cloud SQL would provide an easy and elegant 
> solution. You just need to check relevant documentation, or, even better: 
> follow an example. The "Using Cloud SQL for MySQL with PHP" documentation 
> page 
>  
> offers such an example. Even better, you may follow the entire example 
> . The Cloud 
> Storage Tools API provides convenience methods that you can use to serve 
> image files conveniently. You may gather more detail on the "Serving 
> Images" page 
> 
> . 
>

-- 
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/55962539-b89c-4c88-9b39-e731051d726d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Apply selected filters option under FILTERS does not give option to APPLY filter after selecting only my discussions

2018-06-26 Thread Brian Harrell
Apply selected filters option under FILTERS does not give option to APPLY 
filter after selecting only my discussions

Page failure?

Javascript failure?

Tried loading page several times.


-- 
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/3446a6e5-aa22-4d2f-9154-2cba2ba545a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Not able to open the website

2018-06-26 Thread 'Karthick (Cloud Platform Support)' via Google App Engine
Hello Rahul, 

It could be possible if your external IP from your instance was not reserved 
 before 
stopping or restarting an instance, you will need to create a new A record 
and set the value to your current external IP address and  update the 
config in LAMP to make sure the current external IP is utilized. I would 
suggest you to follow this document 
 
on 
how to do this.  

If you still have the issue after following the document, I can able to 
investigate your project if you can provide me your project number, 
instance ID and the DNS name in a private message. 

-- 
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/1d03a216-d32c-4b30-a20c-9aea52141c0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] ValueError: virtualenv: cannot access lib: No such virtualenv or site

2018-06-26 Thread Craig Dsouza
Hi there,
I'm new to GCP so I've had very limited success trying to debug this. 

I have a flask app which I developed using a similar process to the one 
described in the docs here
https://cloud.google.com/appengine/docs/standard/python/getting-started/python-standard-env
It runs well on my local machine, tested it out with dev_appserver.py 

Tried deploying it to App Engine using the Cloud SDK and the deployment is 
successful but the app itself shows this message



*Error: Server Error The server encountered an error and could not complete 
your request.Please try again in 30 seconds.*
When I check out 'Error Reporting' in the console I see the following 
message

* ValueError: virtualenv: cannot access 
/base/data/home/apps/j~project-name/20180626t33.410714851322767617/lib: 
No such virtualenv or site *

I looked into StackOverflow and it appears the error is coming from this 
file, google.appengine.ext.vendor

Source code here: 
https://cloud.google.com/appengine/docs/standard/python/refdocs/modules/google/appengine/ext/vendor
but I'm clueless regarding how to troubleshoot this.

tried the suggestions given here, 
https://stackoverflow.com/questions/44807207/virtualenv-cannot-access-lib-no-such-virtualenv-or-site-directory
changed the appengine_config.py file and redeployed, but I'm still getting 
the same error 

any tips on how to debug this, i'm not even sure which 'lib' folder the 
error is referring to

-- 
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/8c573936-15c5-40cc-927c-a28ee3665a34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Serving Static Files, Issue with Content Security Policy

2018-06-26 Thread 'Dennis Yurkevich' via Google App Engine
Hello All,

I am serving static files from my app (for now) using express.

When app engine sends the response it attaches the following header:

content-security-policy: default-src 'self' frame-ancestors 'self' 
https://console.cloud.google.com https://*.corp.google.com:* 
http://*.corp.google.com:*


Which causes the following error:

The Content Security Policy directive 'default-src' contains 'frame-ancestors' 
as a source expression. Did you mean 'default-src ...; frame-ancestors...' 
(note the semicolon)?


I have no idea on how to amend this header unless I start playing with the 
Nginx config, which means I am may as well revert to using compute engine.

Can anyone provide any ideas on how I can solve this?

Stack: node, express, webpack4, vuejs.


-- 
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/c9f9405d-53a8-41d3-bebb-28e36e0e8287%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Memcache byte array keys in Cloud Console

2018-06-26 Thread 'Kenworth (Google Cloud Platform)' via Google App Engine
This is currently not supported on the Cloud Console. Needless to say, you 
can do this in your code 
. I 
recommend filing a feature request for it 
and for other users who are interested on the feature to star the issue so 
that proper weight will be given to it.

-- 
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/9e2d7ed4-685f-4c79-801b-35cd558a2af7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Webstorm debug App Engine Flexible NodeJs app.

2018-06-26 Thread 'Kenworth (Google Cloud Platform)' via Google App Engine
I apologize for not being more clearer previously. Deploying GAE Flex app 
is not currently supported 
 on IDEs other than 
IntelliJ IDEA - Ultimate and Community. Webstorm is not currently 
supported. We also do not have visibility towards the mentioned IDEs.

Unfortunately, this is beyond the scope of Google Groups which is reserved 
for general discussion of GCP's products and services. For further 
technical assistance, I recommend you post on Stack Exchange which uses a 
popular question-and-answer platform and it hosts a number of sites, 
including StackOverflow . Please visit our 
community support page for list of StackOverflow tags 
 we monitor, or this 
page  showing free different support 
resources and paid 1-on-1 technical support option.

-- 
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/9b87869e-cf5a-4f39-910c-d5dd7326f61a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] gcloud enhacement ?

2018-06-26 Thread Ridha El Bekri Hernandez
Hi everyone,

I hope I'm not mistaken but there is no way to run a gcloud command to 
disable/enable datastore writes of an AppEngine project ? Any idea if this 
is something that will never be available because its relative to a low end 
datastore administration or something similar ?

-- 
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/68141b88-5582-4b8f-af53-b143a58531b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Node.js Standard: memory usage different for locally and deployed version on 30 - 40 Mb.

2018-06-26 Thread Aleksander Efremov
Hi George.
That's ok. The main thing there is created issue. Thanks for helping.

On Monday, June 25, 2018 at 1:14:21 AM UTC+4, George (Cloud Platform 
Support) wrote:
>
> Hello Aleksander, 
>
> In fact there is no estimated time to resolution, but I am sure Developers 
> will address the issue as soon as possible, taken into account their 
> priorities. 
>

-- 
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/e68bb92a-fd1a-478c-8736-ebb873660008%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.