[google-appengine] Re: gcloud irregular file-permissions failure

2018-12-31 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hello Joshua,

This could be caused by your disk running out of space and the system is 
sending you a generic “permission denied” error.

If you are using Google Cloud Shell  try to restore it to a clean state by 
following the following steps:

1. Open your Cloud Shell.
2. In the Cloud Shell menu, click the "Open in new window icon" (next to 
the Close icon) to open the cloud shell on a new and separate tab.
3. Append to the URL of this new window the parameter 
cloudshellsafemode=true. The URL should look something like this [1].
4. The previous step will restart your Cloud Shell in safe mode and log you 
in as root (This might take a couple of minutes).
5. Once your Cloud Shell has restarted you’ll have to remove all files from 
your home directory by executing the command [2]. (If you want to check if 
there are personal files on your home directory you can do so by executing 
[3]).
6. Once the home directory is cleaned, proceed to restart your Cloud Shell. 
Click the three dotted line icon, and then click on Restart. 
7. On the confirmation dialog displayed, select “Want a clean VM state” and 
then click Restart Cloud Shell.

To better assist you, it would be helpful if you could provide extra log 
information. To do so I recommend changing the default verbosity to the 
debug level by running the same command but adding the 
--verbosity=VERBOSITY; default="debug" flag[1].


As your issue seems to be a specific technical issue you would have better 
assistance from the community by posting in StackOverflow as Google Groups 
is intended for general discussion. You should post to StackOverflow with 
the extra log information to have the developer community assist you.

[1] https://cloud.google.com/sdk/gcloud/reference/#--verbosity
[2] https://issuetracker.google.com/issues/new?component=187143=0


On Friday, December 14, 2018 at 6:22:32 AM UTC-5, Joshua Fox wrote:
>
> In my Jenkins runs, gcloud randomly generates permissions errors as 
> below. I verified that successful and failed runs are on the same machine, 
> with the same user, in the same directory.
>
> (I think the command causing failure is gcloud auth 
> activate-service-account --key-file=fuf-automation-server.json  )
>
> (In success conditions we get  "gcloud credential helpers already 
> registered correctly")
>
> Has anyone seen similar issues? Under what conditions can such failure 
> occur? Can I redefine the logging and configuration directory to avoid this?
>
>
>   
>
>
> *---*
> *Failure logs:*
>  
>  
> WARNING: Could not setup log file in /.config/gcloud/logs, (Error: Could 
> not create directory [/.config/gcloud/logs/2018.12.13]: Permission denied.
>
> Please verify that you have permissions to write to the parent directory.)
> The following settings will be added to your Docker config file 
> located at [/.docker/config.json]:
>  {
>   "credHelpers": {
> "gcr.io": "gcloud", 
> "us.gcr.io": "gcloud", 
> "eu.gcr.io": "gcloud", 
> "asia.gcr.io": "gcloud", 
> "staging-k8s.gcr.io": "gcloud", 
> "marketplace.gcr.io": "gcloud"
>   }
> }
>
> Do you want to continue (Y/n)?  
> ERROR: (gcloud.auth.configure-docker) Error writing Docker configuration 
> to disk: [Errno 2] No such file or directory: '/.docker/tmpzki75K'
> WARNING: Could not setup log file in /.config/gcloud/logs, (Error: Could 
> not create directory [/.config/gcloud/logs/2018.12.13]: Permission denied.
>
> Please verify that you have permissions to write to the parent directory.)
> ERROR: (gcloud.auth.activate-service-account) Could not create directory 
> [/.config/gcloud]: Permission denied.
>
> Please verify that you have permissions to write to the parent directory.
> $ docker rm -f 
> 06aa3ee44b9f03e75eaaa98fda1c4ff6f771a3b84d9ea416a39c8f6637599ccc
> WARNING: Could not setup log file in /.config/gcloud/logs, (Error: Could 
> not create directory [/.config/gcloud/logs/2018.12.13]: Permission denied.
>
> Please verify that you have permissions to write to the parent directory.)
> ERROR: (gcloud.config.set) Failed to create the default configuration. 
> Ensure your have the correct permissions on: 
> [/.config/gcloud/configurations].
>   Could not create directory [/.config/gcloud/configurations]: Permission 
> denied.
>
> Please verify that you have permissions to write to the parent directory.
> WARNING: Could not setup log file in /.config/gcloud/logs, (Error: Could 
> not create directory [/.config/gcloud/logs/2018.12.13]: Permission denied.
>
> Please verify that you have permissions to write to the parent directory.)
> ERROR: (gcloud.config.set) Failed to create the default configuration. 
> Ensure your have the correct permissions on: 
> [/.config/gcloud/configurations].
>   Could not create directory [/.config/gcloud/configurations]: Permission 
> denied.
>
> Please verify that you have permissions to write to the parent directory.
> WARNING: Could not setup log file in /.config/gcloud/logs, (Error: 

[google-appengine] Re: Custom domains missing

2019-01-18 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Kota,

I can see that you opened a ticket 
 on Issue Tracker, as this is 
the right channel for technical issues such as the one you are experiencing 
I would recommend that you follow up on this thread instead of here.

Please note that Google Groups is intended for general discussion about 
Google Cloud products.

Thanks for your understanding. 


On Saturday, December 29, 2018 at 12:34:29 PM UTC-5, Srinivasu Kota wrote:
>
> almost 6 years back i have migrated my appengine app from xyz to xyz-hrd 
> (for example)
>
> as part of migration google didn't move custom domains to xyz-hrd, but 
> they are still present to xyz appid
>
> i found they are still present using gcloud command for xyz domain.
>
> gcloud app domain-mappings list
>
>
> i could not delete them as it gives this error
>
>
> ERROR: (gcloud.app.domain-mappings.delete) NOT_FOUND: The AppId that you are 
> looking for has been deleted
>
>
> but xyz-hrd doesn't list them as well..
>
>
> i need to add SSL certificate, how can i do that.
>
>
> also there is another unknown custom domain is added to my account not sure 
> who has added it, but i couldn't delete it even though i am owner of the 
> app-id
>
>
> please help me to fix this problem. I don't have any premium support. It 
> looks like it is problem of migration script few years ago and we have not 
> noticed it till now.
>
>
> 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/8fc72bc7-955f-4fcf-ac70-58e754188407%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-01-14 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Bradley,

It seems that  you have been affected by a known issue  and currently the 
App Engine engineering team is working on a fix but  there is no ETA at the 
moment. You can track of the progress of this issue’s resolution by 
following this link.

Currently, there are two potential workarounds for this issue :

1.  Run the following gcloud command to add a custom domain to your 
application:

gcloud app domain-mappings create DOMAIN 


2.  Use the app.domainMappings.create 

 
API method in the Admin API.

You may find more information regarding this by reviewing step 4 of the 
following article 

.

However, if the aforementioned workarounds didn’t help you to resolve the 
issue please open a private issue on Issue Tracker 
 
with providing the output of gcloud command mentioned above with the verbosity 
flag  set to 
DEBUG as this will help us to narrow down and inspect the issue further. 


Thanks for your understanding.


On Wednesday, January 9, 2019 at 9:15:34 AM UTC-5, Bradley J. Gibby wrote:
>
>
> 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/755c323e-d9d7-47e3-b6fd-11f0846baabb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-01-14 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi Bradley,

It seems that  you have been affected by a known issue  and currently the 
App Engine engineering team is working on a fix but  there is no ETA at the 
moment.

Currently, there are two potential workarounds for this issue :

1.  Run the following gcloud command to add a custom domain to your 
application:

gcloud app domain-mappings create DOMAIN 


2.  Use the app.domainMappings.create 

 
API method in the Admin API.

You may find more information regarding this by reviewing step 4 of the 
following article 

.

However, if the aforementioned workarounds didn’t help you to resolve the 
issue please open a private issue on Issue Tracker 
 
with providing the output of gcloud command mentioned above with the verbosity 
flag  set to 
DEBUG as this will help us to narrow down and inspect the issue further. 


Thanks for your understanding.


On Wednesday, January 9, 2019 at 9:15:34 AM UTC-5, Bradley J. Gibby wrote:
>
>
> 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/bfcda5f3-d5f9-4f8e-9d5a-c20f10b0483f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: GAE gradle deployment fails

2019-01-22 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Christian,

I understand that you are currently unable to deploy your Java application 
to Google App Engine.

As your post seems to refer to a specific technical issue in your 
application’s deployment process, you would have better assistance from the 
community by posting in StackOverflow, where you will receive more 
visibility, resulting in a faster resolution. The purpose of Google Groups 
is not to answer such questions but intended for general discussion about 
our products. 

In the purpose of isolating the issue I would recommend you to make sure 
that both your Cloud SDK 
 and the 
Gradle 
App Engine Plugin 

 
are both updated. 

I’ve found a very similar question 

 
to yours did you already posted your question there? If not you should try 
to post your own question StackOverflow with extra logs information to have 
the developer community assist you.


On Tuesday, January 15, 2019 at 9:14:07 AM UTC-5, Christian Golcic wrote:
>
> Usually works like a charm, but now I'm getting this:
>
> * What went wrong:
>> Execution failed for task ':appengineDeploy'.
>> > com.google.cloud.tools.appengine.api.AppEngineException: 
>> com.google.cloud.tools.appengine.cloudsdk.process.ProcessHandlerException: 
>> com.google.cloud.tools.appengine.api.AppEngineException: Non zero exit: 1
>> * Try:
>> Run with --info or --debug option to get more log output. Run with --scan 
>> to get full insights.
>> * Exception is:
>> org.gradle.api.tasks.TaskExecutionException: Execution failed for task 
>> ':appengineDeploy'.
>> at 
>> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:100)
>> at 
>> org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:70)
>> at 
>> org.gradle.api.internal.tasks.execution.OutputDirectoryCreatingTaskExecuter.execute(OutputDirectoryCreatingTaskExecuter.java:51)
>> at 
>> org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62)
>> at 
>> org.gradle.api.internal.tasks.execution.ResolveTaskOutputCachingStateExecuter.execute(ResolveTaskOutputCachingStateExecuter.java:54)
>> at 
>> org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:60)
>> at 
>> org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:97)
>> at 
>> org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:87)
>> at 
>> org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:52)
>> at 
>> org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
>> at 
>> org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54)
>> at 
>> org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
>> at 
>> org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34)
>> at 
>> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.run(DefaultTaskGraphExecuter.java:248)
>> at 
>> org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:336)
>> at 
>> org.gradle.internal.progress.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:328)
>> at 
>> org.gradle.internal.progress.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:199)
>> at 
>> org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:110)
>> at 
>> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:241)
>> at 
>> org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:230)
>> at 
>> org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.processTask(DefaultTaskPlanExecutor.java:123)
>> at 
>> org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker.access$200(DefaultTaskPlanExecutor.java:79)
>> at 
>> org.gradle.execution.taskgraph.DefaultTaskPlanExecutor$TaskExecutorWorker$1.execute(DefaultTaskPlanExecutor.java:104)
>> at 
>> 

[google-appengine] Re: app.yaml not being recognized by my app

2019-01-23 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi David,

Dev app server was previously used to test your application on local 
environment replicating the App Engine First Generation’s behavior 
 
however as GO 1.11 is now running on the Second Generation there is no need 
to use Dev app server anymore.

The Second Generation of App Engine will run your code exactly how it would 
run on your local machine.

That being said, the command to run your Go 1.11 application on your local 
environment is “go run 
”.
 
Please note that Go 1.11 is in Beta release meaning that this feature could 
change and is not subject to any SLA.



On Thursday, January 17, 2019 at 11:33:07 AM UTC-5, David Manz wrote:
>
> I didn't have 'api_version' in the app.yaml.  I don't think the app.yaml 
> was being read at all.
>
> With Go 1.11, what is the correct way to start the app locally?  Is it 'go 
> run .', or is it 'goapp serve'?  'goapp serve' isn't working for me on 
> Windows, because I have a space in my path:
>
> > "\Users\David\AppData\Local\Google\Cloud 
> SDK\google-cloud-sdk\platform\google_appengine\goapp" serve
> python: can't open file 'C:\Users\David\AppData\Local\Google\Cloud': 
> [Errno 2] No such file or directory
>
> David
>
>
> On Thursday, January 17, 2019 at 9:02:41 AM UTC-6, Omair (Cloud Platform 
> Support) wrote:
>>
>> Hi David,
>>
>> The reason it does not work for runtime go111 is because 'api_version' is 
>> not a supported element for Go 1.11. For full list of supported elements 
>> for Go 1.11 click here 
>> .
>>  
>> The supported elements for Go 1.9 can be seen here 
>> 
>> .
>>
>> I hope this helps. 
>>
>> On Wednesday, January 16, 2019 at 11:31:50 PM UTC-5, David Manz wrote:
>>>
>>> If I modify the app.yaml like this:
>>>
>>> #runtime: go111
>>> runtime: go
>>> api_version: go1
>>>
>>>
>>> then I can run "dev_appserver.py ./app.yaml", and I can see my static 
>>> content.
>>>
>>> I don't know why runtime:go111 doesn't work, but I suppose this works 
>>> for now.
>>>
>>> Thanks again!
>>>
>>> David
>>>
>>>
>>> On Wednesday, January 16, 2019 at 9:54:34 PM UTC-6, David Manz wrote:

 Hi George,

 Thanks for the help.

 I did find the documentation on serving static content, but I think 
 there's something more basic that I'm missing.  If I delete app.yaml from 
 the directory entirely, then I don't see any errors--just the same 
 behavior.

 My directory looks like this:

 src/myapp/app.yaml
 src/myapp/myappscript.go
 src/myapp/myapptemplate.html
 src/myapp/static/x.png

 and I'm doing 'go run .' in the Google Cloud SDK Shell from inside 
 src/myapp/

 >dev_appserver.py ./app.yaml

 INFO 2019-01-15 20:06:17,151 devappserver2.py:120] Skipping SDK 
 update check.
 INFO 2019-01-15 20:06:17,960 api_server.py:274] Starting API server 
 at: http://localhost:4291
 INFO 2019-01-15 20:06:17,960 stub_util.py:357] Applying all pending 
 transactions and saving the datastore
 INFO 2019-01-15 20:06:17,960 stub_util.py:360] Saving search indexes
 Traceback (most recent call last):
   File "C:\Users\David\AppData\Local\Google\Cloud 
 SDK\google-cloud-sdk\platform\google_appengine\dev_appserver.py", line 96, 
 in 
 _run_file(__file__, globals())
   File "C:\Users\David\AppData\Local\Google\Cloud 
 SDK\google-cloud-sdk\platform\google_appengine\dev_appserver.py", line 90, 
 in _run_file
 execfile(_PATHS.script_file(script_name), globals_)
   File "C:\Users\David\AppData\Local\Google\Cloud 
 SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\devappserver2\devappserver2.py",
  
 line 454, in 
 main()
   File "C:\Users\David\AppData\Local\Google\Cloud 
 SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\devappserver2\devappserver2.py",
  
 line 442, in main
 dev_server.start(options)
   File "C:\Users\David\AppData\Local\Google\Cloud 
 SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\devappserver2\devappserver2.py",
  
 line 202, in start
 options.api_host, apiserver.port, wsgi_request_info_)
   File "C:\Users\David\AppData\Local\Google\Cloud 
 SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\devappserver2\dispatcher.py",
  
 line 262, in start
 ssl_port)
   File "C:\Users\David\AppData\Local\Google\Cloud 
 SDK\google-cloud-sdk\platform\google_appengine\google\appengine\tools\devappserver2\dispatcher.py",
  
 line 403, in _create_module
 ssl_port=ssl_port)

[google-appengine] Re: Error Reporting in AppEngine Flex

2019-01-17 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Yousuf,

Thanks you for your message, I understand that you no longer receive 
notifications for errors occuring with you project.

To answer your question, App Engine Flex comes by default with Stackdriver 
Error Reporting 

 
is enabled and there is no additional step to take for this.

That being said you could be experiencing another issue that you can report 
this using the Public Issue tracker via this link 
 
where our colleague will assist you as Google Group forum is intended for 
general discussions on the App Engine platform, not specific technical 
issues. .

Also if you would like to do so you could follow this troubleshooter 
 as you may 
pinpoint the issue yourself.

On Friday, January 11, 2019 at 10:20:15 PM UTC-5, Yousuf Jawwad wrote:
>
>
> StackDriver logs used to work until 2 months ago, but lately I am not 
> getting error notification of errors. 
> There used to be an error report like shown on this page. 
> https://cloud.google.com/error-reporting/docs/viewing-errors
>
> Is there an extra step involved now?
>
> // yousuf
>

-- 
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/1eb7def1-8c62-4474-9a9d-03b524887a63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Is it possible to detect when a Google App Engine Instance starts (via a method, API, or some call or event to monitor)

2019-01-08 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi,

There are a couple of ways to check if an instance of App Engine is up and 
running however they are all external to the app itself. Based on my 
research, it seems that what you are looking for is not available on App 
Engine at the moment and due to that I would recommend that you file a 
feature request via this page 

.

Please provide more information about the use case and the end result that 
you are trying to achieve. This will help our App Engine engineering team 
narrow down exactly how the feature should be implemented. 

One of the ways to check externally if an instance  is running, would be to 
use the LIST 

 
and GET 

 
methods of the apps.services.versions.instances REST resource of the App 
Engine Admin API.

The idea here would be to fetch the name of the instance via LIST and then 
use GET to obtain the Availability status of the instance. If the status is 
“Resident” or “Dynamic” it would mean that the instance is currently 
running. You could then use this to trigger an action in Cloud Datastore. 


On Saturday, January 5, 2019 at 11:24:22 AM UTC-5, NP wrote:
>
> Hello,
>
> When my application (instance) starts, I'd like to check the datastore and 
> seed some values if they do not exist. I'd like to make this check only 
> when the application (instance) starts. Is there a way to know when an 
> instance is started/restarted?
>
> 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/dd8fdc27-cfc3-4491-888d-744b1aa308f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: GCE Managed SSL: param for ECDSA certificates?

2019-01-07 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi Mark, 

Currently it is not possible to manually customize the TLS versions on App 
engine.

However a feature request has been forwarded to the App Engine engineering 
team so that they may evaluate it. You can track the feature request here 
. Note that there are no 
ETAs or guarantees of implementation for feature requests.

Also I have created a private issue on Issue Tracker so you can provide us 
the customs domains and the TLS specifications that you want. This will 
allow me to file a request so it can be done manually by our team. You can 
find this issue here .

On Sunday, December 23, 2018 at 10:14:59 PM UTC-5, Mark Kubacki wrote:
>
> Hello:
>
> I am using Google App Engine with a custom domain, which works so far.
>
> Switching *SSL security* to *Google-managed* employs a RSA 2048 
> certificate for signing.
>
> Yet I'd like to use ECDSA P-256 (and ECDHE-ECDSA suites) – is there any 
> flag or command line option for this setting? (One exists but for DNSSEC.)
>
> -- 
> Thanks!
> Mark Kubacki
>

-- 
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/f96e783f-1174-4843-a9c5-917b380f37ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Where to reduce the number of instances?

2019-01-11 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Candide,

Thank you for reaching out to us, I understand that you have concerns about 
the charges on your last invoice. 

It seems that your first attempt at contacting the dedicated Billing team 
wasn’t really successful however I would recommend you to request direct 
support via Email 
 as they 
will have the visibility required for an in-depth analysis and 
recommendations. 

In the meantime if you suspect that the usage of your resources could be 
amplified by a technical issue, please open a bug using this link 
, 
providing a link to this Groups thread for context along with your project 
number so we can have a private channel to investigate your issue, we will 
be able to inspect it and take action if needed.

>From your  message I noticed that you have been charged for 3721.215 Core 
Hours. I would recommend that you take a look at this article 
 
where it is stated how Core Hours are calculated :

“When you are billed for instance hours, you will not see any instance 
classes in your billing line items. Instead, you will see the appropriate 
multiple of instance hours. For example, if you use an F4 instance for one 
hour, you do not see "F4" listed, but you see billing for four instance 
hours at the F1 rate.”

It’s recommended to  set up a spending limit 
 so you  can 
keep the costs under control while becoming more familiar with billing on 
Cloud Platform . Also  there are several ways to make your usage of the 
Cloud Platform more cost efficient 

.

I understand that you had a bad experience with the Cloud Platform  but I 
hope that the resources provided today will be useful to you.


On Tuesday, January 8, 2019 at 9:12:13 AM UTC-5, Candide Kemmler wrote:
>
> I was billed $361 for my last month's usage of the Google Cloud Platform 
> where I am merely hosting two small Java apps. On Heroku, the same service 
> would have cost me $14, that's 25x less.
>
>
> The most suspicious item in my billing statement is: 3721.215 Core Hours
>
>
> But where does that come from? Nowhere can I find anything that looks 
> suspicious to the number of resources allocated.
>
>
> Please, what should I look into? Where do I start?
>
>
> Thank you in advance,
>
>
> Candide
>
>
> PS: I did use their chat support, but could only obtain my request to be 
> "further analyzed" by their technical team. Two days later, the only answer 
> I receive is:
>
> "you made some changes last Nov. 26 2018, which resulted for your project 
> to create VMs"
>
> No indication as to what I did wrong and, of course, no information as to 
> how to fix the situation.
>
> This is by far the worst service I've ever had from a hosting company.
>
> I'm not shy admitting that I'm a novice with GCP, but this is simply too 
> high a price to pay for figuring out their terrible User Interface.
>

-- 
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/7da67260-f955-464e-97ec-427924ebba36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: GCE Managed SSL: param for ECDSA certificates?

2019-01-11 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Mark,

Thanks for your last message. 

I will be adding the information provided to the Feature Request that we’ve 
already filed, they will be useful!

I will be closing this private issue  as I understand that no changes are 
required to your specific project but more of a possible general 
improvement of the product. You can follow the progress of the possible 
implementation of this feature here 
.

Please note that there are no ETAs or guarantees of implementation for 
feature requests.

Thank you for your understanding.


On Thursday, January 10, 2019 at 5:23:17 PM UTC-5, Mark Kubacki wrote:
>
> Hi Nicolas,
>
> Thanks for relying this as request for enhancement to the engineering team!
>
> Just so we get the wording right—I am neither asking for customized TLS 
> settings/versions, nor non-standard cipher suites. It's about the 
> certificate, which I'd like to be an "ECDSA one". That is, the 
> public-private key pair won't be RSA with 2048 bit but instead for ECDSA 
> with curve P-256.
>
> Your stack will adjust the available cipher suites accordingly, 
> automatically, being presented that kind of certificate.
>
> You've opened a bug for my domain, thanks. I've followed up there. Again, 
> this email is just a clarification.
>
> -- 
> Cheers!
> Mark Kubacki
>

-- 
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/303909dc-676d-4e97-975e-fc28877438ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: SMTP Gmail API OAuth: Token has been expired or revoked.(invalid_grant)

2019-01-03 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hello,

I understand that you are experiencing an issue with the Gmail API,  as 
this group is intended for general discussion regarding App Engine and not 
for specific technical issue’s troubleshooting I you would have better 
assistance from another channel. I would recommend taking a look at 
recommend that you post your question on StackOverflow as described in this 
article . 

This will allow you to have access to a large community of enthusiasts and 
experts to share ideas with and get support from. Please make sure to 
include all relevant details and error messages which would help the 
community troubleshoot.


On Monday, December 17, 2018 at 6:18:55 PM UTC-5, S7 Mailer wrote:
>
>
> Hi there, hope I'm in the right place.
>
> We use OAuth to log in to a Gmail account on websites to send email via 
> SMTP from forms. This was to get around PHPMail issues and to reduce spam. 
> We've had this set up for years and just today we've started to get this 
> error from all forms:
>
> Token has been expired or revoked.(invalid_grant)
>
> What is the reason behind this? We have about 50+ Client IDs on there, all 
> used to work fine. It's like they have unhooked themselves.
>
> Do we now need to verify every single domain? Is it because of a spam 
> issue?
>
> Pretty desperate to get this email service back up and running. Many 
> thanks for your time, looking forward to some ideas.
>
> 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/ea13becc-1e74-4321-a456-497596aac124%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: installing trouble

2019-04-03 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi,

As your issue seems to be a specific technical issue you would have better 
assistance from the community by posting in StackOverflow 
 as 
Google Groups is intended for general discussion. You should post to 
StackOverflow with extra log information to have the developer community 
assist you.


On Sunday, March 3, 2019 at 12:17:40 PM UTC-5, saintthor wrote:
>
>  I am installing the linux 64bit package. when running 
>
> gcloud init --skip-diagnostics
>
> Your browser has been opened to visit:
>
> 
> https://accounts.google.com/o/oauth2/auth?redirect_uri=http%3A%2F%2Flocalhost%3A8085%2F=select_account_type=code_id=32555940559.apps.googleusercontent.com=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fappengine.admin+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcompute+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Faccounts.reauth_type=offline
>
> I accessed this link, click ok to this page: 
> https://cloud.google.com/sdk/auth_success. it tells me to close the page. 
> but the installation is still waiting as above.
>
> how to exit 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/657823b2-bb83-4ae6-9cec-2e6fa0165ddf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: AppEngine Flex - Correct Firewall Configuration For Inter-Service-Communication

2019-04-03 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi,

Thanks for the screenshots! I’ve reproduced this and was able to confirm 
that if you switch the App Engine Firewall rules to “Deny All” and then try 
to granularly allow some IP address the app will return 403s. 

This is most likely due to the internal App Engine infrastructure so I 
would recommend IAP as your best current solution to communicate between 
GAE services.


On Wednesday, February 27, 2019 at 10:20:33 AM UTC-5, dvd gsng wrote:
>
> Hi George, thanks for replying. Unfortunately, we've tried that, but it 
> didn't work out as expected. We added those two IPs (and two more, see 
> initial post) to the GAE firewall as well as the regular VPC firewall. 
> Please have a look that the images for reference:
>
> GAE firewall:
>
> [image: gae-fw.png]
>
>
>
> VPC firewall:
>
> [image: vpc-fw.png]
> Note that the VPC FW rule does apply to the GAE.
>
> WDYT?
>
> Also, we're currently looking into using IAP for securing our endpoints. 
> Is that the recommended way to implement authenticated communication 
> between GAE services?
>
> David
>
>
> On Monday, February 25, 2019 at 7:56:55 PM UTC+1, George (Cloud Platform 
> Support) wrote:
>>
>> It is not immediately apparent, after reading the documentation page you 
>> link to, how certain IPs are to be whitelisted; targeted HTTP requests, 
>> service accounts, and Cloud Pub/Sub are mentioned, are recommended 
>> solutions on that page. 
>>
>> The firewall configuration page stipulates, for requests received in the 
>> flexible environment: 0.1.0.40 and 10.0.0.1. You need to create two 
>> firewall rules to allow requests:
>>
>> 0.1.0.40 - A rule to allow backend_flex to receive URL Fetch requests 
>> from backend_std.
>> 10.0.0.1 - A rule to allow the service-to-service communication for the 
>> URL Fetch requests in backend_flex.
>>
>

-- 
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/8c7eeca8-758b-4fd9-a194-3c77ca5708b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Getting GAE to use GZIP encoding in responses

2019-04-04 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Joshua, 

Thank you for posting here however I can see on your StackOverflow thread 
that the issue is resolved for you but would like to know the root cause of 
your issue. 

As this seems to be a bit more of a technical question you will probably 
have better answers from the community by posting on StackOverflow as 
Google Groups is intended for general discussion.


On Thursday, March 14, 2019 at 9:05:48 AM UTC-4, Joshua Smith wrote:
>
> Is there a trick to convince GAE to GZIP responses? The docs say it’s 
> supposed to be automatic, but it isn’t happening. Details in this SO 
> question…
>
>
> https://stackoverflow.com/questions/55145439/how-can-i-serve-gzip-encoded-images-from-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 https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/911a8289-5997-4e48-824b-8f2ea5264fb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Network issues yesterday, left players with mis-cached files

2019-04-04 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Kaan,

Thank you for bringing this issue to our attention however as Google Groups 
is more for general discussion about the products I would recommend to 
report a bug with Issue tracker. Here 
 
you can find a form for you to do this,

On Wednesday, March 13, 2019 at 7:53:19 AM UTC-4, Kaan Soral wrote:
>
> Again, like most errors and issues these days, this issue was unobservable 
> from the Logs too
>

-- 
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/4a11648c-3959-42e5-b3b4-3bf1e4e854fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Node.js On Standard App Engine - Requires Enabling Billing?

2019-04-04 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Julien,

As your question is more of a billing one I would suggest you reach the 
responsible support team. You can contact them here 
.  You 
would have better assistance from them as Google Groups is intended for 
general discussion. 

Thank you!


On Wednesday, March 13, 2019 at 4:19:01 PM UTC-4, Julien Landuré wrote:
>
> Hi there,
>
> Im' reloading this thread because I used to teach AppEngine to students 
> and they are not allowed to enter their credit cards.
> I've done the "training" for 5 years and never got a problem with the 
> "java" ecosystem. I would like to allow some of them to use Node.js
> I also help many "non profit organization" to create website or small apps.
> Is it planned to be fully "free" like the standard java AppEngine?
> Thanks!
>
> Le lundi 16 juillet 2018 19:46:32 UTC+2, PhistucK a écrit :
>>
>> I am simply not comfortable revealing my credit card to Google at this 
>> time (for charging me. Chrome Autofill is fine). I have a Google account 
>> for more than a decade, I help in its forums, but I managed not to provide 
>> my credit card to it and I plan to keep it that way until I have a good 
>> reason. Using the free tier of App Engine is not a good reason.
>>
>> ☆*PhistucK*
>>
>>
>> On Mon, Jul 16, 2018 at 8:34 PM 'Steren Giannini' via Google App Engine <
>> google-a...@googlegroups.com> wrote:
>>
>>> I am curious, why cannot you create a billing account? Is it because you 
>>> are not able to provide a credit card? or is it because you are worried to 
>>> be charged?
>>>
>>> Note that you can set daily spending limits 
>>>  or use the 
>>> max_instance 
>>> 
>>>  setting 
>>> to make sure you are not using more instances than the free tier.
>>>
>>> On Mon, Jul 9, 2018 at 11:00 PM PhistucK  wrote:
>>>
 Thank you for the update!
 I switched to using Heroku for now (thankfully, my application had 
 almost no dependencies on App Engine or almost anything else, that it was 
 a 
 less than half an hour job to switch providers. The only thing I really 
 had 
 to do was to "re-implement" GOOGLE_APPLICATION_CREDENTIALS and I plan 
 to move away from that as well soon), but I will be very glad to switch to 
 App Engine once it stops requiring a credit card.
 I had a great experience with my other projects using Python (well, in 
 most of them. One completely broke when you removed the channel API and 
 never provided a replacement... Still waiting for that WebSocket support. 
 Fortunately, I was not using that project much in the last few years, so 
 no 
 great harm done).

 ☆*PhistucK*


 On Mon, Jul 9, 2018 at 5:51 PM 'Steren Giannini' via Google App Engine <
 google-a...@googlegroups.com> wrote:

> Hi,
>
> Indeed, for the moment, Node.js on App Engine Standard requires a 
> billing account. This is because it directly uses Cloud Container Builder.
> But note that it has the same free tier as other Standard runtimes: 
> Having a billing account does not mean you will have to pay for your 
> project.
>
> We are working to see if we can lift this requirement, but no 
> guarantee yet.
>
> Steren
> Product Manager
> App Engine
>
>
>
>
> On Sun, Jul 8, 2018 at 11:42 AM PhistucK  wrote:
>
>> One of the major selling points, for me, anyway, of App Engine is 
>> that you can create a project by choosing an ID and just roll.
>> You get a free quota to start your project, no credit card or 
>> anything needed.
>> Of the 5 standard App Engine languages, however, only Node.js 
>> requires enabling billing, which keeps me away from it for small 
>> projects.
>> The Node.js on standard announcement blog post did not mention this, 
>> I was very unpleasantly surprised by this when I tried to finally deploy 
>> my 
>> project.
>>
>> Is this restriction planned to be lifted soon?
>>
>> -- 
>> 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-appengi...@googlegroups.com.
>> To post to this group, send email to google-a...@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/42c2127c-3667-4124-bfd6-ba637a7dadb4%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit 

[google-appengine] Re: Site in app engine allows downloads of PDF over HTTP but not HTTPS

2019-01-25 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Nikos,

I was able to reproduce this issue only by accessing your website’s home 
page first, this added a Service worker cookie to my browser which seems to 
be the root cause of this behavior as when removed the page 
https://quantumjs.com/brochures/JavaScript-Bootcamp.pdf loads correctly.

If you have further questions please note that you would have better 
assistance from the community by posting in StackOverflow, where you will 
receive more visibility, resulting in a faster resolution. 

The purpose of Google Groups is intended for general discussion about our 
products. 


On Tuesday, January 22, 2019 at 9:23:39 AM UTC-5, Nikos Katsikanis wrote:
>
> app engine completely scrambles it 
>
> On Saturday, January 19, 2019 at 4:00:12 PM UTC+1, Nikos Katsikanis wrote:
>>
>> Any ideas why this works
>>
>> http://quantumjs.com/brochures/JavaScript-Bootcamp.pdf
>>
>> but https doesn't?
>>
>> https://quantumjs.com/brochures/JavaScript-Bootcamp.pdf
>>
>>
>> using
>>
>> runtime: python27
>> api_version: 1
>> threadsafe: true
>> handlers:
>>   - url: /(.*\.(js|css|png|jpg|svg|ttf|ico|manifest|pdf))$
>> static_files: \1
>> upload: .*\.(js|css|png|jpg|svg|ttf|ico|manifest|pdf)$
>> # catch all handler to index.html
>>   - url: /.*
>> static_files: index.html
>> upload: index.html
>>
>>
>>

-- 
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/8ff69c0b-474c-4964-8e1f-a79807b75d8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: AppEngine Flex - Correct Firewall Configuration For Inter-Service-Communication

2019-04-10 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi David,

Thanks for bringing this to our attention, I will gladly submit this 
documentation improvement to the rightful team.

Thanks again and have a great day! 


On Wednesday, April 10, 2019 at 6:37:14 AM UTC-4, dvd gsng wrote:
>
> Hi Nicolas, thanks for verifying our results. We think that the GAE 
> documentation should be updated to reflect these restrictions more 
> explicitly, are you in a position to forward this to the appropriate team 
> by any chance?
>
> Thanks
> David
>
>
> On Wednesday, April 3, 2019 at 7:38:12 PM UTC+2, Nicolas (Google Cloud 
> Platform Support) wrote:
>>
>> Hi,
>>
>> Thanks for the screenshots! I’ve reproduced this and was able to confirm 
>> that if you switch the App Engine Firewall rules to “Deny All” and then try 
>> to granularly allow some IP address the app will return 403s. 
>>
>> This is most likely due to the internal App Engine infrastructure so I 
>> would recommend IAP as your best current solution to communicate between 
>> GAE services.
>>
>>
>> On Wednesday, February 27, 2019 at 10:20:33 AM UTC-5, dvd gsng wrote:
>>>
>>> Hi George, thanks for replying. Unfortunately, we've tried that, but it 
>>> didn't work out as expected. We added those two IPs (and two more, see 
>>> initial post) to the GAE firewall as well as the regular VPC firewall. 
>>> Please have a look that the images for reference:
>>>
>>> GAE firewall:
>>>
>>> [image: gae-fw.png]
>>>
>>>
>>>
>>> VPC firewall:
>>>
>>> [image: vpc-fw.png]
>>> Note that the VPC FW rule does apply to the GAE.
>>>
>>> WDYT?
>>>
>>> Also, we're currently looking into using IAP for securing our endpoints. 
>>> Is that the recommended way to implement authenticated communication 
>>> between GAE services?
>>>
>>> David
>>>
>>>
>>> On Monday, February 25, 2019 at 7:56:55 PM UTC+1, George (Cloud Platform 
>>> Support) wrote:

 It is not immediately apparent, after reading the documentation page 
 you link to, how certain IPs are to be whitelisted; targeted HTTP 
 requests, 
 service accounts, and Cloud Pub/Sub are mentioned, are recommended 
 solutions on that page. 

 The firewall configuration page stipulates, for requests received in 
 the flexible environment: 0.1.0.40 and 10.0.0.1. You need to create two 
 firewall rules to allow requests:

 0.1.0.40 - A rule to allow backend_flex to receive URL Fetch requests 
 from backend_std.
 10.0.0.1 - A rule to allow the service-to-service communication for the 
 URL Fetch requests in backend_flex.

>>>

-- 
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/d2e64390-8544-4b6f-b5cd-00fe318a3d42%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: ImageService api getServingUrl throws ImageServiceFailureException

2019-04-08 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi ,

As your issue seems to be a specific technical issue you would have better 
assistance from the community by posting in StackOverflow 
 as Google 
Groups is intended for general discussion. You should post to StackOverflow 
with the extra log information to have the developer community assist you.

That being said, there is typically 3 reasons why you would get that error 
message.

1. Unsupported Image Format

Currently, the images service only accept image data in JPEG, PNG, WEBP, 
GIF (including animated GIF), BMP, TIFF and ICO format [1,4].

Please verify whether your images are in one of the supported formats.

2. Image Too Large

The Images Service imposes some limits on the image size [5], in terms of 
bytes but also by pixels.

Please verify whether your images exceed these limits.

3. Use the Image Blob Immediately After Creating It

It seems there is a small replication delay for the blob that can cause 
some issues [2].

Please verify whether pausing for a few seconds after creating the image 
blob can solve this issue.


[1] https://issuetracker.google.com/37495057

[2] https://issuetracker.google.com/35894451

[3] https://issuetracker.google.com/35893334

[4] 
https://cloud.google.com/appengine/docs/standard/python/images/#image-formats

[5] 
https://cloud.google.com/appengine/docs/standard/python/images/#quotas-limits-pricing


On Monday, March 25, 2019 at 10:16:59 AM UTC-4, Gowtham Gupta wrote:
>
>
> I am want to use the ImageService API to get to get obscure/secure URLs to 
> my public objects Google Cloud Storage.  I am saving the blob on storage 
> (successfully), and using the getServingUrl API on the ImageService to get 
> the serving URL.  This call throws ImageServiceFailureException.  Scoured 
> thro' the limited documentation, found no solution. My images are less than 
> 1 MB. Please help if you have encountered this and have solved it.  My code 
> fragment
>
>
> ImagesService imagesService = ImagesServiceFactory.getImagesService();
>
> ServingUrlOptions options = 
> ServingUrlOptions.Builder.withGoogleStorageFileName( "/gs/" + envBucket + 
> "/"
>
> + PROJECT_PREFIX + "/" + projectUuid + "/floorplanmodel/image" + 
> imagenumber).secureUrl(true); 
>
> url = imagesService.getServingUrl(options); 
>

-- 
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/69b2c259-a258-4cc5-af73-655b8186c5ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: gcloud 238.0.0 broke dev_appserver.py on Mac OS X

2019-04-08 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi,

Thank you for bringing this issue to our attention, after investigation the 
Engineering team is already working on a fix that should be included in the 
next release of the Cloud SDK. You can follow the Cloud SDK release notes 
on this page .


On Friday, March 29, 2019 at 12:04:35 AM UTC-4, Ryan B wrote:
>
> hi all! looks like gcloud 238.0.0 + app-engine-python 1.9.84 and later 
> broke dev_appserver.py on Mac OS X, at least when using 
> google.appengine.ext.vendor to load libraries from a virtualenv. (i expect 
> that's many/most of us. :P)
>
> stack trace and SO questions below. any chance this will be fixed in 
> gcloud 241.0.0? thanks in advance!
>
>
> https://stackoverflow.com/questions/55166959/osx-dev-appserver-py-file-not-accessible-system-library-coreservices-systemve
>
> https://stackoverflow.com/questions/55151062/gcloud-update-broke-my-app-gcp-python-2-7
>
> Traceback (most recent call last):
>   ...
>   File 
> "/Users/ryan/src/granary/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
>  
> line 951, in 
> class Environment(object):
>   File 
> "/Users/ryan/src/granary/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
>  
> line 955, in Environment
> self, search_path=None, platform=get_supported_platform(),
>   File 
> "/Users/ryan/src/granary/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
>  
> line 180, in get_supported_platform
> plat = get_build_platform()
>   File 
> "/Users/ryan/src/granary/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
>  
> line 389, in get_build_platform
> version = _macosx_vers()
>   File 
> "/Users/ryan/src/granary/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
>  
> line 356, in _macosx_vers
> version = platform.mac_ver()[0]
>   File 
> "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.py",
>  
> line 764, in mac_ver
> info = _mac_ver_xml()
>   File 
> "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/platform.py",
>  
> line 741, in _mac_ver_xml
> pl = plistlib.readPlist(fn)
>   File 
> "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py",
>  
> line 75, in readPlist
> pathOrFile = open(pathOrFile)
>   File 
> "/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/platform/google_appengine/google/appengine/tools/devappserver2/python/runtime/stubs.py",
>  
> line 283, in __init__
> raise IOError(errno.EACCES, 'file not accessible', filename)
> IOError: [Errno 13] file not accessible: 
> '/System/Library/CoreServices/SystemVersion.plist'
>
>
>
>

-- 
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/875725b1-7c6f-4278-b974-a31d69c8f24d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Practical difference from Cloud Run

2019-04-12 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi Gabriel,

Thanks for bringing those questions to our attention, I will forward them 
to the documentation team. 

Have a great day!

On Wednesday, April 10, 2019 at 5:23:50 PM UTC-4, Gabriel Axel wrote:
>
> Greetings. I watched the videos and read the docs of the new Cloud Run 
> service and also took a look at the comparison table between GAE and Cloud 
> Run, and to my understanding Cloud Run covers everything GAE Standard and 
> Flexible do without any of their limitations. Maybe the only thing GAE "has 
> over" Cloud Run is not having to write Dockerfile (except for Flexible 
> custom runtime). Did I miss anything? Once Cloud Run goes GA, what use 
> cases would be preferable for GAE over 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/f9440d29-c9e1-48a5-8b30-24a77c643585%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Max 10,000 file limit is not suitable for modern full featured wordpress site or any PHP app

2019-04-15 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Shaharia,

Thank you for bringing those inconveniences that you are experiencing , 
I’ll make sure to relay those to the App Engine engineering team.

In the meantime for the default 10,000 file upload issue, if you have a 
Silver, Gold, or Platinum support package you can contact a support 
representative [2] to file a proper quota increase request.

Also concerning the SMTP port 25 being block you are right we block it 
because of the risk of abuse [3] you could also be interested in other 
alternative solution like SendGrid, MAilgun or Mailjet [4].

We value our customers and take into consideration every feedback about our 
products.

[1] https://cloud.google.com/appengine/quotas#When_a_Resource_is_Depleted

[2] https://cloud.google.com/support/docs/#contacting_technical_support

[3] https://cloud.google.com/compute/docs/tutorials/sending-mail/
[4]
https://cloud.google.com/compute/docs/tutorials/sending-mail/#choosing_an_email_service_to_use

On Monday, April 15, 2019 at 9:51:02 AM UTC-4, Shaharia Azam wrote:
>
> Hello Everyone,
> I know this is a common questions but actually this is now becoming more 
> and more strange to me day by day. Why Google still feels about the hard 
> limit related to max 10,000 file? If I want to install Wordpress latest 
> version with any premium themes, few e-commerce related mandatory plugins 
> then easily from the beginning of my development this would cross 10,000 
> files. 
>
> We are a web solution provider company and we are facing few very hard 
> questions that is forbidding us to suggest GCP to our client's for their 
> needs.
>
> 1. Advance & Full featured E-Commerce site powered by Wordpress due to 
> 10,000 file limit issue.
> 2. SMTP outgoing issue due to block of Port 25. Even our own cPanel server 
> is hosted on AWS for that. Rest of our servers that doesn't need email 
> communication are on GCP.
>
> Does Google think that it is irrelevant? Even from the quota request page, 
> this file limit quota can't be increased. In this case, not only us but 
> also lots of people are going away from using GCP and specially Google App 
> Engine (our use case depends on it). So I want to hear something from any 
> internal team members about this. Is there any plan in future to remove 
> this limit or increase this limit or you are suggesting us to go away from 
> App engine to somewhere else?
>
> - @shaharia
>

-- 
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/4f5421d9-0dc9-4218-860d-4dbb76146c0a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: What does X-Google-Apps-Metadata: domain=gmail mean?

2019-04-11 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi Joshua,

I couldn't find any documentation supporting this, but I think you are 
rightand those headers are used by Google App Engine by default. 


On Wednesday, April 10, 2019 at 4:14:34 AM UTC-4, Joshua Fox wrote:
>
> I do not use Namespace API, Users API, or Google-provided Authentication. 
>
> So if I understand correctly, GAE adds these  headers "just in case", but 
> they are irrelevant to me.
>
> On Tue, Apr 9, 2019 at 8:35 PM ykarout via Google App Engine <
> google-appengine@googlegroups.com> wrote:
>
>> Hello Joshua,
>>
>> From doing some internal research:
>>
>> 1- X-AppEngine-Default-Namespace is the default namespace used by the 
>> Namespace 
>> API . 
>> It is only used for domain-restricted authentication. If your app is 
>> available to all gmail.com users, then it should be gmail.com unless a 
>> custom domain is specified.
>>
>> 2- X-Google-Apps-Metadata is used by the Users API 
>> 
>>  
>> to specify a Google Apps domain. For normal Google login, it is set to 
>> gmail.com.
>>
>> -- 
>> 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/91d74baf-215d-4b89-a987-7b7dbb3bc80e%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
>  
>
> *JOSHUA FOX*
> Director, Software Architecture | Freightos
>
>
>
> *T (Israel): *+972-545691165 | *T (US)*:  +1-3123400953  
> Smooth shipping.
>
>
>
>

-- 
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/0f0e0c9e-ecdb-4953-880c-61e97ca64c09%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How do I get a Python37 app working?

2019-04-12 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi Mark,

I understand that you will stick with the Python 2.7 and I don’t want to 
convince otherwise however I found this thread 

 
answered by a community member which I find very insightful.

Have a great day!


On Friday, April 12, 2019 at 2:35:08 AM UTC-4, Mark Summerfield wrote:
>
> I have a compelling need: I want to test my whole website not just the 
> generated portion.
> Also, I *can* test the whole site using the old python27 SDK --- which is 
> what I'm sticking with.
>
> On Tuesday, April 9, 2019 at 6:34:43 PM UTC+1, George (Cloud Platform 
> Support) wrote:
>>
>> Hello Mark, 
>>
>> There doesn't seem to be a compelling need to test static content 
>> locally. In fact, tutorial 
>> 
>>  
>> "Hosting a static website on Google App Engine" does not list this local 
>> testing step in its procedure. 
>>
>

-- 
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/47f807a5-5412-401b-8cc1-8f79b5a5f058%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Does AppEngine cache static contents at the edge?

2019-05-24 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi Howard,

Yes App Engine will take into account the Cache-control header 

 unless 
the response has a Set-Cookie header, or is generated for a user who is 
signed in using an administrator account.

Thanks!

On Thursday, May 23, 2019 at 11:27:56 PM UTC-4, Howard Grimberg wrote:
>
>
> To my understanding, HTTP(S) requests to AppEngine standard applications 
> are served at the edge.
> *Does it also cache contents according to upstream Cache-Control headers?*
>

-- 
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/4aca86e4-8e55-4da7-acf7-813ceb043e28%40googlegroups.com.


[google-appengine] Re: Your project loyalpilot-201711 has been shut down

2019-06-07 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Chris,

Thank you for reporting this.

I understand that you are experiencing an issue with the link provided in 
the email.  

However as this group is intended for general discussion regarding Google 
Cloud App Engine tools where you're likely to find information like service 
status updates and release notes and high-level discussions on the platform 
not for specific technical issue’s troubleshooting I you would recommend to 
open a new issue following this link 
 
where the engineering team will be able to assist you.

Thank you for understanding.


On Friday, June 7, 2019 at 10:07:35 AM UTC-4, Chris Palmer wrote:
>
> Hi Nicolas,
>
> The problem I have is - I get an email which instructs me to go to the 
> following page to restore the app (since it's been deleted). 
>
> BUT the page doesn't load, it just spins on that wheel, so I can't 
> actually restore anything.
>
> That's all the email suggests:
>
> Dear Developer,
>
> Your Google Cloud project  was shut down on 2019-05-28T20:20:23+00:00.
>
> Shut-down projects and the data stored in them may be recovered for a 
> limited time before the projects are permanently deleted. If you’d like to 
> recover your project, you must cancel the project’s permanent deletion 
> before 2019-06-27T20:20:23+00:00.
>
> To recover your shut-down project:
>
>1. Visit the Resources pending deletion 
>
> 
> page.
>2. Select the project you want to recover, and click *Restore*.
>3. In the confirmation dialog, click *Restore*.
>
>
> If you take no action by *2019-06-27T20:20:23+00:00*, you will be unable 
> to recover your project.
>
> If you have any questions, please visit Google Cloud Platform Resource 
> Manager Documentation  or 
> contact Google Cloud Platform Support 
> .
>
> Cordially,
> The Google Cloud Platform Team
>
>

-- 
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/68a1042b-b7be-4edc-8163-222d0b8bc0a1%40googlegroups.com.


[google-appengine] Re: Cloud Datastore Backups - When I load to BigQuery, string properties get converted to BigQuery Record properties

2019-06-06 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi Mickey,

Thank you for your report.

As Google Groups hosts discussion forums where you're likely to find 
information like service status updates and release notes and high-level 
discussions on the platform I would suggest you to open a new Issue here 
 
to 
receive technical support.


Thank you for understanding.


On Thursday, June 6, 2019 at 12:31:10 PM UTC-4, Mickey Sanchez wrote:
>
> I have an app that loads Cloud Datastore Backups to BigQuery.
>
> Sometimes, Datastore string properties are turned into Records in BigQuery 
> of the type STRUCT during 
> this automatic import.
>
> This happens very inconsistently. Sometimes the strings are just strings 
> in bigquery.
>
> I'm wondering if there is something I can do to fix this inconsistency 
> because it breaks existing queries.
>

-- 
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/ef454677-c238-4ee3-990d-0bbc30ba5695%40googlegroups.com.


[google-appengine] Re: Your project loyalpilot-201711 has been shut down

2019-06-06 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi Chris,

If you receive an email from the Google Cloud Platform Trust & Safety Team, 
the email includes the steps how to rectify the issue and how to submit an 
appeal.

Google Groups hosts discussion forums where you're likely to find 
information like service status updates and release notes and high-level 
discussions on the platform.


On Thursday, June 6, 2019 at 12:31:10 PM UTC-4, Chris Palmer wrote:
>
> Hey guys,
>
> I got this email saying my app is to be shut down, if I want to restore it 
> click here:
>
> [image: console.JPG]
> But I get the following error and can't actually restore?
>
> I can't pay for support as I can't even select the project.
>
> What can I do about this? 
>
> Can I find a reason for it being shut down?
>
> Thanks,
> Chris 
>

-- 
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/f08c911a-7ba2-41f0-9606-e75bcf9b5ddc%40googlegroups.com.


[google-appengine] Re: Future of dev_appserver.py - deprecated?

2019-06-14 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi James, 

 

Thanks for opening this thread, 

 

To answer your question you are right the dev_appserver.py 

 
is not supported with the PHP 7.2 and PHP 7.3 runtimes. 

 

To test your app locally you can download and install PHP 7.2 or PHP 7.3 
and set up a web server.

 
Dev_appserver.py will still be available for PHP 5/7 

 
and no deprecation is planned for the moment.





On Thursday, June 13, 2019 at 7:32:52 PM UTC-4, James Crowley wrote:
>
>
> Am I right in inferring that dev_appserver.py is on the way to being 
> deprecated, given the later language versions are not supported?
>
> I've tripped up trying to use it in the php7 environment - it prompts me 
> to provide a --php_executable argument for php72 environments (making me 
> think it was supported), but then doesn't seem to actually support the 
> environment ("The url "/" does not match any handlers." which goes away 
> when you use the php55 app.yaml syntax for specifying handlers rather than 
> the single entrypoint parameter)
>
> I then noticed it's not mentioned in the docs for php72/Java 11 etc at all?
>
> Thanks!
>
> James
>

-- 
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/478d514d-d1b4-46a4-9e91-9fb715cc7439%40googlegroups.com.


[google-appengine] Re: Old pip version being used when deploying to app engine flexible

2019-06-11 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Kush,

Thank you for reporting this,

Apparently there are some conflicts with the OS system version as reported 
here . One workaround for the 
moment would be to use your own custom runtime 
.
 


Also as your issue seems to be a specific technical issue you would have 
better assistance from the community by posting in StackOverflow as Google 
Groups is intended for general discussion


On Tuesday, June 11, 2019 at 10:21:13 AM UTC-4, Kush Goyal wrote:
>
> When I deploy to app engine flexible env I get the below warnings in red:
>
> Step #1: You are using pip version 10.0.1, however version 19.1.1 is 
> available.
> Step #1: You should consider upgrading via the 'pip install --upgrade pip' 
> command.
>
>
> I am using python 3 on app engine flexible.
>
> Is is possible to use the latest version of pip when deploying. My google 
> sdk version is 249.0.0 and app engine python version is 1.9.85.
>

-- 
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/94c2c96d-aa62-428e-ad75-c3e0e9416b06%40googlegroups.com.


[google-appengine] Re: Are datastore Ids unique across all namespaces?

2019-06-18 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


I’m glad to know we were able to help you,

 

Have a great day!


On Monday, June 17, 2019 at 11:05:39 PM UTC-4, NP wrote:
>
> Thanks.
>
> That link answered my question with the answer being - No, the Ids are not 
> unique across all namespaces. The link also provided a solution for me if I 
> need them to be unique.
>
>
> On Monday, June 17, 2019 at 12:55:36 PM UTC-7, Nicolas (Google Cloud 
> Platform Support) wrote:
>>
>> Hi,
>>
>>  
>>
>> I understand your use case and I think the best way to accomplish that 
>> would be something like suggested in this StackOverflow 
>> 
>>  
>> post and set up your own  GUIDs.
>>
>>  
>>
>> I hope that helps!
>>
>>
>>
>> On Friday, June 14, 2019 at 10:53:30 PM UTC-4, NP wrote:
>>>
>>> Thanks for your response. And yes, I was referring to the numeric id.
>>>
>>> In case it wasn't clear from my post, I actually want the ids to be 
>>> unique. I was just trying to confirm that it is.
>>>
>>> The reason I would prefer the ids are unique is because I have seeded 
>>> data which all my users can use. The users can then in turn create entities 
>>> for their application which are saved with a namespace for the user. Since 
>>> each user basically has access to 2 namespaces (the default or blank 
>>> namespace which contains my seeded data and the namespace for their app), I 
>>> would like to search for entities by just their numeric ids. If I find the 
>>> record, I then check the namespace associated with the corresponding key. 
>>> For this to work, the ids need to be unique across all namespaces.
>>>
>>>
>>>
>>> On Friday, June 14, 2019 at 7:06:48 PM UTC-7, Harmit Rishi (Cloud 
>>> Platform Support) wrote:

 In order to effectively address your question, I would like to take a 
 moment and explain the characteristics of a Entity 
 . Each 
 entity within Datastore has a key that uniquely identifies it. The key (as 
 you provided) consists of the following components: 

 1. Namespace of the entity
 2. The kind 
 
  
 of entity (categorized for queries)
 3. An Identifier 
 
  
 for the individual entity (can be a key name string or a integer numeric 
 id.)

 I will be assuming that you are referring to the integer numeric id for 
 your question. 

 As far as having two of the same numeric ID's goes, indeed it is 
 possible and this can be done by having your application assign their own 
 numeric IDs manually to the entitles being created. However, as indicated 
 in the documentation here 
 ,
  
 "there is nothing to prevent a Datastore mode database from assigning one 
 of your manual numeric IDs to another entity". You will have to implement 
 the *allocateids() 
 *method
  
 within your application which will allow you to obtain a block of IDs in 
 order to avoid the conflict mentioned above.

 Also, since you mentioned that "Datastore is the one automatically 
 generating the ids", the documentation found here 
 
  states 
 that the "automatic ID generator will keep track of IDs that have been 
 allocated" and that Datastore "will avoid reusing them for another entity".

 Therefore to sum it all up. Yes, you can achieve the goal you want. 
 However, it would be a good idea to implement the best practices for it as 
 well such as: manually assigning Ids with implementing *allocateids() 
 *
 . 

 I hope this helps!



-- 
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/3e4f6c57-1521-483c-9f70-2a161941a75a%40googlegroups.com.


[google-appengine] Re: Are datastore Ids unique across all namespaces?

2019-06-17 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi,

 

I understand your use case and I think the best way to accomplish that 
would be something like suggested in this StackOverflow 

 
post and set up your own  GUIDs.

 

I hope that helps!



On Friday, June 14, 2019 at 10:53:30 PM UTC-4, NP wrote:
>
> Thanks for your response. And yes, I was referring to the numeric id.
>
> In case it wasn't clear from my post, I actually want the ids to be 
> unique. I was just trying to confirm that it is.
>
> The reason I would prefer the ids are unique is because I have seeded data 
> which all my users can use. The users can then in turn create entities for 
> their application which are saved with a namespace for the user. Since each 
> user basically has access to 2 namespaces (the default or blank namespace 
> which contains my seeded data and the namespace for their app), I would 
> like to search for entities by just their numeric ids. If I find the 
> record, I then check the namespace associated with the corresponding key. 
> For this to work, the ids need to be unique across all namespaces.
>
>
>
> On Friday, June 14, 2019 at 7:06:48 PM UTC-7, Harmit Rishi (Cloud Platform 
> Support) wrote:
>>
>> In order to effectively address your question, I would like to take a 
>> moment and explain the characteristics of a Entity 
>> . Each entity 
>> within Datastore has a key that uniquely identifies it. The key (as you 
>> provided) consists of the following components: 
>>
>> 1. Namespace of the entity
>> 2. The kind 
>> 
>>  
>> of entity (categorized for queries)
>> 3. An Identifier 
>> 
>>  
>> for the individual entity (can be a key name string or a integer numeric 
>> id.)
>>
>> I will be assuming that you are referring to the integer numeric id for 
>> your question. 
>>
>> As far as having two of the same numeric ID's goes, indeed it is possible 
>> and this can be done by having your application assign their own numeric 
>> IDs manually to the entitles being created. However, as indicated in the 
>> documentation here 
>> ,
>>  
>> "there is nothing to prevent a Datastore mode database from assigning one 
>> of your manual numeric IDs to another entity". You will have to implement 
>> the *allocateids() 
>> *method
>>  
>> within your application which will allow you to obtain a block of IDs in 
>> order to avoid the conflict mentioned above.
>>
>> Also, since you mentioned that "Datastore is the one automatically 
>> generating the ids", the documentation found here 
>> 
>>  states 
>> that the "automatic ID generator will keep track of IDs that have been 
>> allocated" and that Datastore "will avoid reusing them for another entity".
>>
>> Therefore to sum it all up. Yes, you can achieve the goal you want. 
>> However, it would be a good idea to implement the best practices for it as 
>> well such as: manually assigning Ids with implementing *allocateids() 
>> *
>> . 
>>
>> I hope this helps!
>>
>>

-- 
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/8b2ce549-ab1e-40c9-93b3-126d2bc17a5a%40googlegroups.com.


[google-appengine] Re: we need to disable weak ciphers on our GAE standard Java 8 for PCI compliance

2019-06-25 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Robert,

 

Currently it is not possible to disable this cipher suite for a custom 
domain however a feature request 
 have already been open 
for the implementation of this.

 
That being said, it is possible to file a ticket 

 with 
GCP support and ask them to do this for your domain.


Please keep in mind there are no ETAs or timeline for a resolution or the 
implementation of the feature request.


On Tuesday, June 25, 2019 at 1:37:06 PM UTC-4, Robert Dyas wrote:
>
> bump - any idea here?
>
> On Monday, June 24, 2019 at 5:08:34 PM UTC-4, Robert Dyas wrote:
>>
>> We are using a custom domain... PCI security check flagged this issue. We 
>> need to disable TLS1.0, DES, 3DES, SSLv3, SSLv3.
>> How do we do this?
>>
>

-- 
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/d2202e0a-e922-401b-91fb-4badf32dffb7%40googlegroups.com.


[google-appengine] Re: Why .js and .css caused error "could not start serving the given version" when upload project on GCP?

2019-06-25 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi,

 
As your issue seems to be a specific technical issue you would have better 
assistance from the community by posting in StackOverflow 
 as Google 
Groups is intended for general opinions, trends, and issues of general 
nature touching App Engine. You should post to StackOverflow with the extra 
log information to have the developer community assist you.



On Monday, June 24, 2019 at 12:34:21 PM UTC-4, Administrator wrote:
>
> I need to update my Google project (GCP) with a new version. Upload 
> process is ok. But when entering start serving phase my console shows 
> problem as seen in attachment.
>
> I'm using batch file (.bat) on a Windows 7 machine to upload my projects. 
> Here is the code inside it:
>
> cd "C:\Program Files (x86)\Google\google_appengine\launcher"
> appcfg.py -v update --no_cookies 
> D:\\MIS\\Projects\\SvrapprovalmemoORICOBATSHOOT
>
> With similar .bat code above, other projects uploaded normally as 
> expected. I noticed that my project has a folder named *static* contains 
> lock.js and lock.css files.
>
> My project and folders 
>
> I tried to empty the contents of the files. Still no luck. If I delete all 
> .js and .css files in the *static* folder, project will be uploaded 
> successfully. No "Could not start serving the given version" statement.
>
> What should I do? Why those .js and .css files become problem?
>
> Any help would be very much appreciated! Thank you!
>

-- 
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/c702bb84-0183-43c5-bae7-8c4f7dcfb518%40googlegroups.com.


[google-appengine] Re: beginSignedUploadSession() causes error when loaded to PHP AppEngine Flex

2019-06-13 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi,

 
These types of questions are better addressed on StackOverflow 
 where you 
have access to a large community of enthusiasts and experts to share ideas 
with and get support from. Please make sure to include all relevant details 
and error messages which would help the community troubleshoot.

On Thursday, June 13, 2019 at 9:10:48 AM UTC-4, Brijid | Ben Tredinnick 
wrote:
>
> Hi,
>
> I have a local version of some code (below - replaced default appengine 
> bucket name with "my-default-bucket") working with uploading files to 
> Google Cloud Storage directly. The code is based on the code I found here, 
> https://cloud.google.com/appengine/docs/flexible/php/using-cloud-storage . 
> However, when I upload my code live to AppEngine Flex (PHP) I can see debug 
> statements (removed for brevity) only up until the last statement which 
> calls $object->beginSignedUploadSession() to generate the upload URL. 
>
>
> $storage = new StorageClient($config);
> $bucket = $storage->bucket('my-default-bucket.appspot.com'); 
> $object = $bucket->object('csv_data/tmpcsvdata-' . $model->file_hash . 
> '.csv');
>
> $upload_url = $object->beginSignedUploadSession();
>
> As mentioned, this works fine locally (not using the local Google 
> development server) but generates a 500 error when live and I haven't been 
> able to catch the exception message nor can I see anything suggestive in 
> the AppEngine logs. Around the 500 error in the logs I can see SIGTERM and 
> SIGALRM as well as "waiting for nginx, php-fpm to die", unfortunately this 
> doesn't provide much direction for me.
>
> Anyone else experienced this or have any suggestions as to how to resolve?
>
> Thanks in advance,
>
> Ben
>

-- 
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/b60dc90a-07ca-4ac8-8b25-1378cb3c0368%40googlegroups.com.


[google-appengine] Re: you don't have permission to edit this api key. required permission serviceusage.apikeys.update

2019-06-13 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Jean,

Thanks for your post,

>From the error message I would think that your IAM permission was somehow 
modified from last week. Apparently your user doesn’t have the 
“serviceusage.apiKeys.update” permission. This permission is granted in 
different roles that you can find here 
 :


   - 
   
   Owner (roles/owner)
   - 
   
   Editor (roles/editor)
   - 
   
   API Keys Admin (roles/serviceusage.apiKeysAdmin)
   

Also here is a quickstart  
for IAM if you are not familiar with granting permission to a user.


On Thursday, June 13, 2019 at 9:10:48 AM UTC-4, Jean-Luc Praz wrote:
>
> Hi,
>
> About two weeks ago I created an API key and today I wanted to edit it but 
> it failed with the error message saying "*you don't have permission to 
> edit this api key. required permission serviceusage.apikeys.update*" 
> I tried editing other keys I created thru the years and none are working. 
>
> What should check out ?
>

-- 
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/ee0ae252-1ac4-4478-a03e-a7e0ccd2d24b%40googlegroups.com.


[google-appengine] Re: App engine network connectivity to BigQuery and Compute Engine failing

2019-06-12 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Thank you for reporting this issue.

As your issue seems to be a specific technical issue you would have better 
assistance from the community by posting in StackOverflow 
 as Google 
Groups is intended for general discussion. You should post to StackOverflow 
with extra log information to have the developer community assist you.

Also you may want to take a look at our support package 
 if you would like to 
receive more direct support.

On Wednesday, June 12, 2019 at 9:13:50 AM UTC-4, Dikesh Jariwala wrote:
>
> Hi,
>
> We are running a service on App engine in Node.js Standard Environment.
> It receives HTTP POST requests from website, parses POST body, caches the 
> unique ID from it to redis server on Compute Engine and sends parsed body 
> to BigQuery.
> Requests are around 2M per day.
>
> But we are constantly facing the network related issues and all the hits 
> in BigQuery.
>
> Following is the redis error from redis NPM package.
> {
> "errno":"ETIMEDOUT","code":"ETIMEDOUT","syscall":"connect","address":"xx.xx.xx.xx","port":6379
> }
>
> And from Bigquery package following is the error.
> {
> message: "network timeout at: 
> https://www.googleapis.com/bigquery/v2/projects/xxx-xxx-xxx/datasets/ga_realtime_hits/tables/hit_logs/insertAll
> "  
> type: "request-timeout"  
> }
>
> And this is not happening just once or twice. It has keeps happening for 
> hours for all the HTTP requests.
> While writing this post I have already missed 8 hours of hits.
>
> Can anyone help with this?
>
>
> *Case Study: **How Tajawal Boosted their Conversion Rate by 30% through 
> A/B Testing with Google Optimize 360 
> *
>
>
> *Thank you for reading this far. This email may be *confidential* or 
> *privileged*. If you received this communication by mistake, please don't 
> forward it to anyone else. Please erase all copies and attachments, and let 
> me know that it went to the wrong person.*
>

-- 
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/2cdb367f-9eab-41e3-af5e-b44f9e627891%40googlegroups.com.


Re: [google-appengine] Re: Future of dev_appserver.py - deprecated?

2019-06-17 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi, 

 

I totally agree with you, we have to make App Engine the easiest and most 
intuitive experience the developer that's why in the second generation 

 
we made it easier to run locally by being able to run locally 

 
with the tools that you normally use.

 

Alse you can test your application 

 
by deploying with the --no-promote flag which would deploy the application 
without allocating any traffic to the deployed version.

 

gcloud app deploy --no-promote 



On Sunday, June 16, 2019 at 12:36:29 PM UTC-4, dir Ls wrote:
>
> The purpose of app engine standard is so developers can focus no the app 
> and not worry about the rest. To me, dev_appserver.py is a pre-req to 
> encourage app developers to get on to GCP very easily. Hope App Engine 
> Standard itself is not going to get deprecated!
>
> On Friday, June 14, 2019 at 3:43:41 PM UTC-7, Andrew Gorcester wrote:
>>
>> We don't have a replacement for that functionality yet, but I'll record 
>> that that's a missing link for people migrating. Thank you!
>>
>> On Fri, Jun 14, 2019 at 3:02 PM Nicolas Grilly  
>> wrote:
>>
>>> On Friday, June 14, 2019 at 11:10:21 PM UTC+2, Andrew Gorcester wrote:

 If you don't mind me asking, what are the features of dev_appserver.py 
 that are still useful with the newer runtimes, which do not have App 
 Engine-specific APIs and client libraries that dev_appserver was 
 originally 
 intended to mock and emulate?

>>>
>>> dev_appserver.py seems still useful to emulate dispatch.yaml and static 
>>> handlers locally. Is there an alternative?
>>>
>>> -- 
>>> 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-a...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-appengine/e827acfd-b148-4d49-a8d8-da676e9c79f4%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
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/e08af061-dacf-40a6-b521-09e46f052d04%40googlegroups.com.


[google-appengine] Re: How to change the location of my server?

2019-06-19 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Peter,

 
You can’t change the location of your App Engine 
 app once set up also 
once created, a Cloud SQL instance cannot be moved between regions. You can 
create a new instance, export 
 the old 
one and import it into the new one

On Wednesday, June 19, 2019 at 4:14:51 AM UTC-4, Peter Chen wrote:
>
> I have a Django app on appengine flexible, but I want to change the 
> location of it, where do I do it?
>
> Also I want to change the location of the postgresql database server 
> location, how do I do 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9bdb1c5e-06ff-4f6e-a4ab-efc5b3feee05%40googlegroups.com.


Re: [google-appengine] Re: Task queue not executing tasks / backlogged

2019-06-19 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi,

 

Thanks for reporting this and thanks for opening the issue tracker ticket, 
that was the right thing to do.

 

Further communications will be made in this thread 
, however we cannot 
promise an ETA for the resolution of this issue.


On Tuesday, June 18, 2019 at 12:18:58 PM UTC-4, Javier Martin wrote:
>
> I'm experiencing the same problem. 
> Every 30-45 minutes, about 10-20 tasks in queue are just ignored for some 
> minutes. It takes about 7-9 minutes for the queue to dispatch them. All the 
> rest of tasks are dispatched normally : (
> I already filed an issue on the tracker 
> https://issuetracker.google.com/issues/135471809
> Did you find any solution?
>

-- 
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/6e6581cd-6ec8-4e44-9e5d-39828b469c4b%40googlegroups.com.


[google-appengine] Re: Can't open different version of appengine in flexible environment

2019-06-20 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Peter,

Thanks for your replies, 

This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine. 

For coding and programming architecture, you may be better served in 
dedicated forums such as Stack Overflow 
, where 
experienced programmers are within reach and ready to help.

On Wednesday, June 19, 2019 at 10:17:39 AM UTC-4, Peter Chen wrote:
>
> I also don't have a dispatch file.
>
> On Tuesday, June 18, 2019 at 5:18:28 PM UTC+2, Peter Chen wrote:
>>
>> Do I have to change dispatch.yaml each time I deploy? By the way, I am 
>> deploying a react app.
>>
>> On Thursday, June 13, 2019 at 9:07:36 PM UTC+2, Amit Sinha wrote:
>>>
>>> Hello Peter, 
>>>
>>> As Nicolas mentioned, this error usually related to app.yaml file 
>>> configuration issue. However, I would recommend to check any other 
>>> configuration file if you have, such as dispatch.yaml [1] 
>>>
>>> By looking at the errors, it seems like request reached to the 
>>> application. If this is the case, you can investigate the logs from 
>>> Stackdriver Logging. I would say check the Stackdriver Logging to find any 
>>> request with ‘404’ status in your particular App Engine version which might 
>>> help you to figure out the issue. 
>>>
>>> [1] 
>>> https://cloud.google.com/appengine/docs/flexible/nodejs/reference/dispatch-yaml
>>>
>>>
>>> On Thursday, June 13, 2019 at 8:10:50 AM UTC-4, Peter Chen wrote:

 That's not the reason, I tried the url set in the urls file, still same 
 error with a different request url.

 On Wednesday, June 12, 2019 at 1:38:37 AM UTC+2, Nicolas (Google Cloud 
 Platform Support) wrote:
>
> Hi Peter,
>
> Thank you for your report,
>
> You can access different versions of your app in App Engine by 
> clicking on the Version number/name in the console. My assumption is the 
> issue originated from how up your app.yaml file is set up just like in 
> this 
> thread 
> 
> .
>
> Also please note that these types of questions are better addressed on 
> StackOverflow where you have access to a large community of enthusiasts 
> and 
> experts to share ideas with and get support from. Please make sure to 
> include all relevant details and error messages which would help the 
> community troubleshoot.
>
>
> On Tuesday, June 11, 2019 at 3:47:24 PM UTC-4, Peter Chen wrote:
>>
>> I deployed several versions of a Django app on appengine flexible 
>> environment, but when I click on the version number, it says
>>
>> Error: Not FoundThe requested URL / was not found on this server.
>>
>> How can I visit different versions of the app?
>>
>

-- 
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/facb93a7-ea21-4b26-85e9-941b591e422a%40googlegroups.com.


[google-appengine] Re: Mapping existing certificate to a new certificate does not work

2019-06-21 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi,

 
thanks for reporting this, I would suggest that you open a new issue 
 on 
the issue tracker as this seems like we will need more information about 
your projects/settings to help you with this and  as Google Groups is used 
for general discussion like service status updates and release notes on the 
platform.



On Wednesday, June 19, 2019 at 9:42:34 AM UTC-4, BEST wrote:
>
> Our current certificate is expiring and I have successfully uploaded a new 
> certificate. 
>
> But, migrating the mappings from the old certificate keeps failing.  I 
> have been trying this for days and sending feedback but it it still not 
> working.
>
> We need this working ASAP as the current certificate is expiring in a few 
> days time.
>
>
>

-- 
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/8c86d439-657f-442e-a1f5-4bec805ed67b%40googlegroups.com.


[google-appengine] Re: Move from App Engine Flex to App Engine Standard Second Generation

2019-06-21 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Savio,

 

As in the answer in the StackOverflow thread 

 
the process of going from App Engine Flex to App Engine Stand is more of a 
complete redesign than a migration as they work differently.

 

However the good news is with App Engine Standard second generation , all 
the libraries are supported even those which rely on C 

 
.

 
For more in-depth technical answers and How-to’s I would suggest you post 
your questions on StackOverflow 
 as the 
Google Groups is more aimed toward general discussion about the platform 
and tools.

On Friday, June 21, 2019 at 7:55:01 AM UTC-4, Savio Bajpai wrote:
>
> I am trying to move from App engine flex to standard second generation.
>
>
> I have deployed my code as a docker on AE Flex environment where I even 
> need to install system libraries(zbar-tools, libzbar-dev, imageMagick), 
> which are not available by default in the standard environment. I have made 
> a few changes to the default parameters of a system library(it had to be 
> done).
>
>
> How can I perform the same operations related to system libraries in AE 
> second generation environment? If I cannot deploy it as a docker
>
>
> I did try my docker on AE second generation(by changing the runtime 
> parameter), it crashed
>
>
> Could you help me find the right approach to get this done.
>
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fd9b621f-d976-4115-9dfb-bf0b2fd5b5d9%40googlegroups.com.


[google-appengine] Re: Can't open different version of appengine in flexible environment

2019-06-11 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi Peter,

Thank you for your report,

You can access different versions of your app in App Engine by clicking on 
the Version number/name in the console. My assumption is the issue 
originated from how up your app.yaml file is set up just like in this 
thread.

Also please note that these types of questions are better addressed on 
StackOverflow where you have access to a large community of enthusiasts and 
experts to share ideas with and get support from. Please make sure to 
include all relevant details and error messages which would help the 
community troubleshoot.


On Tuesday, June 11, 2019 at 3:47:24 PM UTC-4, Peter Chen wrote:
>
> I deployed several versions of a Django app on appengine flexible 
> environment, but when I click on the version number, it says
>
> Error: Not FoundThe requested URL / was not found on this server.
>
> How can I visit different versions of the app?
>

-- 
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/3db58750-a1ba-430a-86d5-6db4989a1830%40googlegroups.com.


[google-appengine] Re: Memorystore connection issues during laravel app deployment

2019-06-26 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Rich,

 

As Amit mentioned in his last comment I would recommend you to open an Issue 
Tracker 
 
for yourself with your own information (project ID, App Engine deployment 
debug logs (with using --verbosity=debug 
), Cloud Build 
logs,the reproduction steps, etc) as even if the error can look the same 
root cause can be different.

 

Thanks!


On Wednesday, June 26, 2019 at 10:59:30 AM UTC-4, Rich Vida wrote:
>
> Hi Brad, were you ever able to get this figured out? I'm currently running 
> into the same issue.
>
> On Monday, November 5, 2018 at 8:38:54 AM UTC-5, Brad Kilshaw wrote:
>>
>> I'm using GAE for a Laravel PHP site and using flex instances. I've 
>> always had no problem doing a "gcloud app deploy" to get my app deployed. 
>> However, for the last 24 hours or so when I attempt to deploy I get the 
>> following error:
>>
>>
>> Step #1: Package manifest generated successfully.
>> Step #1: > chmod -R 755 bootstrap/cache
>> Step #1: > php artisan cache:clear
>> Step #1: 
>> Step #1: In AbstractConnection.php line 155:
>> Step #1:   
>> Step #1:   Connection timed out [tcp://1.2.3.4:6379]  
>> Step #1:   
>> Step #1: 
>> Step #1: Script php artisan cache:clear handling the post-install-cmd 
>> event returned with error code 1
>> Step #1: The command '/bin/sh -c /build-scripts/composer.sh' returned a 
>> non-zero code: 1
>> Finished Step #1
>> ERROR
>> ERROR: build step 1 "gcr.io/cloud-builders/docker@sha256:12345" failed: 
>> exit status 1
>> Step #1: 
>>
>> --
>> ERROR: (gcloud.app.deploy) Cloud build failed. Check logs at https://
>> console.cloud.google.com/gcr/builds/12345?project=1234 Failure status: 
>> UNKNOWN: Error Response: [2] Build failed; check build logs for details
>>
>>
>>
>>
>>
>>
>>
>> For reference, here is the relevant section of the composer.json:
>>
>>
>> "scripts": {
>> "post-root-package-install": [
>> "php -r \"copy('.env.example', '.env');\""
>> ],
>> "post-create-project-cmd": [
>> "php artisan key:generate"
>> ],
>> "post-autoload-dump": [
>> "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
>> "@php artisan package:discover"
>> ],
>> "post-install-cmd": [
>> "Illuminate\\Foundation\\ComposerScripts::postInstall",
>> "chmod -R 755 bootstrap/cache",
>> "php artisan cache:clear",
>> "php artisan config:clear"
>> ]
>> }
>>
>>
>>
>> I have a Memorystore (redis) instance I use since GAE memcache isn't 
>> available on flex instances yet. My app uses redis as a cache, so as you 
>> can see above, once the new code is deployed composer is configured to 
>> clear the cache, which is where it's timing out and failing.
>>
>>
>> If I SSH into an existing instance, I can run php artisan cache:clear no 
>> problem. However, it's failing on deploy. It's a pretty simple code change 
>> that's only UI tweaks (html/javascript) so none of the redis or connection 
>> code has changed.
>>
>>
>> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c80aea0f-0ea4-4f84-ab69-d50366071a2a%40googlegroups.com.


[google-appengine] Re: RemoteAPIInstaller doesn't install before for current thread - AppEngine Remote API Java version 1.9.64

2019-07-02 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Baojun,

 

At first glance  the code snippet provided seem to be ok, you can compare 
it to this example on Github 

 
to troubleshoot it.

 

As I understand the issue you are facing is intermittent so are you sure 
you are not sharing instances of the class RemoteApiInstaller across threads 

?

 

Also as your issue seems to be a specific technical issue you would have 
better assistance from the community by posting in StackOverflow 
 as Google 
Groups is intended for general discussion


On Friday, June 28, 2019 at 5:22:52 AM UTC-4, Baojun Xu wrote:
>
> Hi Please look at the following code snippet:
>
> 
>   if (ApiProxy.getCurrentEnvironment() == null) {
> RemoteApiInstaller installer = new RemoteApiInstaller();
> try {
>   installer.install(remoteApiOptions);
> } catch (IOException e) {
>   ...
> }
>   }
> 
>
>
> What it should do is to install the remoteApiOptions for the current 
> thread if it's not already installed. We check 
> ApiProxy.getCurrentEnvironment() == null to see if the current thread has 
> remote api installed.
>
> However this does not work all the time. Sometimes we still have errors 
> saying the remote api is not installed. Are we doing something wrong here?
>
> Thanks
> Baojun
>

-- 
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/02084ba9-7fec-4bb4-ae53-2bbebe118c8d%40googlegroups.com.


[google-appengine] Re: What can I do with Google cloud

2019-06-26 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Sirajul,

 

Thanks for opening this thread, I’m not an ERP expert however from what I 
understand of it you would need an infrastructure to execute your 
application’s code and one or more databases.

 

One of the most developer friendly products that we offer to take care of 
your application’s execution is App Engine standard 
. This environment 
supports 5 of the most well known programming language (Go, Java, PHP, 
Node.Js and Python).

 

For the databases it will really depend on your architecture and what are 
your priorities. For example some of our product offer global data 
distribution as others will offer zonal so depending on where your user 
will use your software you might choose one over the other. You can compare 
our different products using the table on this table 
.

 

I hope this will help!


On Wednesday, June 26, 2019 at 10:59:30 AM UTC-4, Sirajul Islam wrote:
>
> Heloo, I am new to google cloud, not aware how it works and what can I do 
> with it. Can anybody give me direction here. I want to develop a basic ERP 
> based web and mobile based software. I prefer a secured system and 
> framework where requirement of coding is minimum. 
>
> Can anybody suggest on taking Google cloud as my 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1dc0b81e-a8c3-43fd-a0d0-423d5c2a1c9b%40googlegroups.com.


[google-appengine] Re: Contacts pop-up issue

2019-04-10 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi Luke,

I understand your issue with Google Contacts however as my colleague George 
mentioned this is not the right channel to address this concern, please 
refer to this page to obtain proper assistance.

Thanks for your understanding.


On Wednesday, April 10, 2019 at 10:43:43 AM UTC-4, Luke Douglas wrote:
>
> The problem with reproducing the problem I'd you obviously do not have an 
> extensive Note field. I used the Note fueld extensively as well as I 
> maintain multiple fields. 
>
> If I open a single contact with just a few fields, the popup details is 
> responsive. 
>
> I NEVER had this issue with the classic full page view. 
>
> I don't mind Google developers wanting to show off their awesomeness but 
> when it interferes with my time. Then I have an issue. 
>
> Again, the removal of an option to use the classic view, which they did 
> provide during a transitional period, was simply a terrible decision. 
>
>

-- 
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/ac47d727-703c-4dac-a778-bf11c90643d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: How does Codelabs work during the Google I/O extended events ?

2019-04-10 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Fagbohun,

For this kind of queries I would suggest to use one of the Google I/O 
social media channels, you can choose between Facebook 
 , Twitter 
 or Google Developers’s blog 
.

I also found this presentation 

 
which is the official Google I/O Extended 2019 Organizer guide which may be 
helpful for you.

Have a great day!


On Tuesday, April 9, 2019 at 12:52:41 PM UTC-4, Fagbohun Omotayo wrote:
>
> Hello, The Google I/O is happening on the 7th of May 2019, I will like to 
> organise an extended event in my city, During the Google I/O extended 
> event, I learnt there will be a Codelab as part of the agenda, The Codelab 
> is a fun programming exercise. I will like to experiment with different 
> exercises during the codelabs, Can you please share with me, exercise ideas 
> for the Codelabs that is perfect for a Google I/O extended event putting 
> into consideration timing,which is short.
>

-- 
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/8aee503e-a266-4206-a4a4-3b189e400881%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Practical difference from Cloud Run

2019-04-11 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine
Hi Gabriel,

Thanks for bringing those questions to our attention, I will forward them 
to the documentation team. For the time being I've found a community FAQ 
 that 
could answer some of your questions. Please note that this is not the 
official Google Cloud documentation.

Have a great day!

On Wednesday, April 10, 2019 at 5:23:50 PM UTC-4, Gabriel Axel wrote:
>
> Greetings. I watched the videos and read the docs of the new Cloud Run 
> service and also took a look at the comparison table between GAE and Cloud 
> Run, and to my understanding Cloud Run covers everything GAE Standard and 
> Flexible do without any of their limitations. Maybe the only thing GAE "has 
> over" Cloud Run is not having to write Dockerfile (except for Flexible 
> custom runtime). Did I miss anything? Once Cloud Run goes GA, what use 
> cases would be preferable for GAE over 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/bfcff5b7-9d97-4e1f-a0b9-54de8ff58c96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Cannot generate endpoint discovery docs using endpointscfg

2019-07-01 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi, 

 

I can see that you already asked your question on the issue tracker 
 thread, this would be 
one of the right channel to obtain an answer to a technical question as the 
groups here is more intended towards general opinions, trends, and issues 
of general nature touching Cloud Endpoints.

 
Another good channel would be StackOverflow 
 where 
you find a large community of enthusiasts and experts that you can get 
support from. Please make sure to include all relevant details and error 
messages which would help the community troubleshoot.

On Monday, July 1, 2019 at 3:04:04 PM UTC-4, Jaskaran Singh wrote:
>
> Hi @Larry Schiefer
>
> did you find any solution for this?
>
> Please let me know i am facing this issue please.
>
> On Wednesday, May 8, 2019 at 6:41:42 PM UTC+5:30, Larry Schiefer wrote:
>>
>> Great, thank you!
>>
>> On Tue, May 7, 2019 at 6:04 PM 'Aref Amiri (Cloud Platform Support)' via 
>> Google App Engine  wrote:
>>
>>> Hi Larry,
>>>
>>> We will look into the issue reported on Issue Tracker 
>>> , and further updates 
>>> communication will be shared on that 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-a...@googlegroups.com.
>>> To post to this group, send email to google-a...@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/5a1613a6-fdc7-4b74-b8b7-05c315308d8f%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> -- 
>> 
>> Larry Schiefer
>> M: 469-263-9388
>> email: larry@hiqes.com
>> http://www.hiqes.com
>>
>>

-- 
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/70442934-744b-45f5-8493-f30cd146b7d5%40googlegroups.com.


[google-appengine] Re: Google Big Query data transfer utility to transfer data from App Engine to BigQuery, when service is executed job is getting successful but data is not getting transferred thoug

2019-08-13 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Abhinav,
This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App engine 
. For technical implementation 
such as using the Cloud Storage transfer beta service, you may be better 
served in dedicated forums such as Stack Overflow 
, where 
experienced programmers are within reach and ready to help.

On Monday, August 12, 2019 at 2:22:09 PM UTC-4, Abhinav Bihade wrote:
>
>
> When I am Google Big Query data transfer utility to transfer data from 
> App Engine (NoSQl) to Bigquery , I am facing challenge when service is 
> executed job is getting successful but data is not getting transferred to Big 
> Query though status is successful. This looks simple, but may be I am 
> missing something. Is there anything which I am missing? are the any Big 
> Query settings which I am missing? Pls. guide me as I am badly stuck in 
> this & project is delayed by more than two weeks already.
>
>  
>
> Also followed below link which is provided by Google 
> https://cloud.google.com/big query/docs/cloud-storage-transfer 
>

-- 
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/18e7306d-5900-42cd-96d0-a082cae2bb4c%40googlegroups.com.


[google-appengine] Re: Header names after september 30 (Load balancers)

2019-08-14 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Santiago,

Headers injected by Google will be lower case as "Load Balancers will 
convert HTTP/1.1 header names to lowercase in the request and response 
directions".

>From the browser’s point of view it would not matter as browsers don’t look 
at the field name to see if they are upper or lower case. 

That being said if your application is somehow manipulating or using that 
value please keep in mind that it would be good practice to have the 
application handle them as case insensitive.


On Tuesday, August 13, 2019 at 5:30:50 PM UTC-4, Santiago Del Valle wrote:
>
> We got this email
>
> After September 30, HTTP(S) Load Balancers will convert HTTP/1.1 header 
> names to lowercase in the request and response directions; header values 
> will not be affected.
>
> As header names are case-insensitive, this change will not affect clients 
> and servers that follow the HTTP/1.1 specification (including all popular 
> web browsers and open source servers). Similarly, as HTTP/2 and QUIC 
> protocols already require lowercase header names, traffic arriving at load 
> balancers over these protocols will not be affected. However, we recommend 
> testing projects that use custom clients or servers prior to the rollout to 
> ensure minimal impact.
>
>
> However I do not understand if this will affect headers injected by 
> google, like "HTTP_X_APPENGINE_COUNTRY" which we use on our project, is 
> this going to change or will it remain unaffected?
>

-- 
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/628dbe40-7785-4d98-a6df-fd10b5ddc0df%40googlegroups.com.


[google-appengine] Re: How to pass data from python backend to JavaScript client on Google App Engine?

2019-08-15 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Ray,
As mentioned by Tiago, you will be better assisted on StackOverflow 
 as Google 
Groups are more oriented towards general opinions, trends, and issues of 
general nature touching App Engine.

On Thursday, August 15, 2019 at 3:35:12 AM UTC-4, Ray Wong wrote:
>
> Thanks for your reply! The previous way to get data using AngularJS $http. 
> Some code is like this:
> dashboard_app.factory('DashboardDataFetching', function($location, $http) {
>   return {
> 'GetArticleProgress': function(article_urlsafe, call_back) {
>   $http.post("/_api/get_progress", JSON.stringify({
> 'article_urlsafe': article_urlsafe
>   })).then(call_back);
> },
>   }
> });
>
> The key issue is that without using JavaScript client library(
> https://apis.google.com/js/client.js), I can't get the call_back. That is 
> to say, I can't access the url successfully without it while others have no 
> problem. Is there any way to slove this please?  
>
> 在 2019年8月14日星期三 UTC+8上午9:50:14,Tiago (Google Cloud Platform Support)写道:
>>
>> Thank you for using Google Groups!
>>
>> Passing data between a backend and frontend service differs depending on 
>> the language and/or framework you are using. Should you be adopting a 
>> RESTful backend architecture in Python such as Flask, you can define a 
>> route handler, hit it with a GET request using the Fetch API 
>>  
>> from JavaScript, and then have the data returned using the response object 
>> in your 'main.py' file.
>>
>> You can follow this tutorial 
>>  on how to write 
>> route handlers using Flask that you can then hit using the Fetch API 
>>  
>> from JavaScript, and have data returned from the backend service to the 
>> frontend service. 
>>
>> Furthermore, you can use the GCP Flask tutorial 
>> 
>>  to 
>> get you started.
>>
>> Finally, these types of questions are better addressed on StackOverflow 
>> where you have access to a large community of enthusiasts and experts to 
>> share ideas with and get support from. Please make sure to include all 
>> relevant details and error messages which would help the community 
>> troubleshoot.
>>
>> On Monday, August 12, 2019 at 2:22:09 PM UTC-4, Ray Wong wrote:
>>>
>>> At present I deploy my gae project on appscale. I want to  pass data to 
>>> html page. I know a simple way is to use Google JavaScript Library. But for 
>>> some reason, the https://apis.google.com/js/client.js is blocked and I 
>>> can't use this library.  So I want to ask are there other ways to get  
>>> backend data(written in python) for javascript page. 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e88f1501-bce1-41aa-bb4c-0b103382ef5a%40googlegroups.com.


[google-appengine] Re: Internal error while launching flexi service on Google App Engine

2019-08-19 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Saravana,

I reviewed this issue by attempting to replicate this issue but I did not 
obtain the same result.

I think you would be better served in dedicated forums such as Stack 
Overflow as this discussion group is oriented more towards general 
opinions, trends, and issues of general nature touching App Engine.  

Try running the following Gcloud command in order to gather more 
information about your environment. 

gcloud components update 


gcloud info 

gcloud app deploy --verbosity debug 



On Monday, August 19, 2019 at 12:58:29 PM UTC-4, Saravana Kumar wrote:
>
> Hi,
>
> I tried to run a static website and a nodejs application in my Google app 
> engine.
>
> I successfully launched the static website and its working.
>
> I read about service, flexi API and tried to deploy the nodejs application 
> as a service.
>
> but its showing internal error.
>
> Kindly let me know if you need further details.
> ===
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/b56ef829-5a0d-445b-9fc4-b6b8c305f2ba%40googlegroups.com.


[google-appengine] Re: https://cloud.google.com/python/setup

2019-08-19 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Haopei ,
Thank you for opening this thread, I can see in the comments on 
StackOverflow 

 
that you solved your issue. Feel free to reach to us if you ever need to 
however for technical issue it is always better to post on StackOverflow as 
Google Groups are more oriented toward general discussions on the platform.


On Monday, August 19, 2019 at 12:58:29 PM UTC-4, Haopei Yang wrote:
>
> Hello, I have posted this same question on stackoverlfow 
> 
> .
>
> I am going through the Google Cloud Platform's Python Bookshelf App 
> Tutorial  and 
> I am at the step of starting up my virtualenv 
>  where 
> I am stuck.
>
> Running virtualenv -p python3 env produces this error:
>
>
> ⇒  virtualenv -p python3 env
>
>
>
> Running virtualenv with interpreter /Library/Frameworks/Python.framework/
> Versions/3.6/bin/python3
>
> Using base prefix '/Library/Frameworks/Python.framework/Versions/3.6'
>
> New python executable in /Users/myUserName/Lab/gae-bookshelf-app-python-
> flexible-experiment/getting-started-python/2-structured-data/env/bin/
> python3
>
> Also creating executable in /Users/myUserName/Lab/gae-bookshelf-app-python
> -flexible-experiment/getting-started-python/2-structured-data/env/bin/
> python
>
> Please make sure you remove any previous custom paths from your /Users/
> myUserName/.pydistutils.cfg file.
>
> Installing setuptools, pip, wheel...
>
>   Complete output from command 
> /Users/myUserName/Lab/ga...data/env/bin/python3 
> - setuptools pip wheel:
>
>   Collecting setuptools
>
>   Using cached https://
> files.pythonhosted.org/packages/75/b3/0a106dfaf7f48aef638da80b32608617cc8de4b24a22c8cd3759c32e5d30/setuptools-41.1.0-py2.py3-none-any.whl
>
> Collecting pip
>
>   Using cached https://
> files.pythonhosted.org/packages/8d/07/f7d7ced2f97ca3098c16565efbe6b15fafcba53e8d9bdb431e09140514b0/pip-19.2.2-py2.py3-none-any.whl
>
> Collecting wheel
>
>   Using cached https://
> files.pythonhosted.org/packages/bb/10/44230dd6bf3563b8f227dbf344c908d412ad2ff48066476672f3a72e174e/wheel-0.33.4-py2.py3-none-any.whl
>
> Installing collected packages: setuptools, pip, wheel
>
> Exception:
>
> Traceback (most recent call last):
>
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/basecommand.py"
> , line 209, in main
>
> status = self.run(options, args)
>
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/commands/install.py"
> , line 317, in run
>
> prefix=options.prefix_path,
>
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/req/req_set.py"
> , line 731, in install
>
> **kwargs
>
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/req/req_install.py"
> , line 841, in install
>
> self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
>
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/req/req_install.py"
> , line 1040, in move_wheel_files
>
> isolated=self.isolated,
>
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/wheel.py"
> , line 343, in move_wheel_files
>
> clobber(source, lib_dir, True)
>
>   File 
> "/Library/Python/2.7/site-packages/virtualenv_support/pip-8.0.2-py2.py3-none-any.whl/pip/wheel.py"
> , line 321, in clobber
>
> shutil.copyfile(srcfile, destfile)
>
>   File 
> "/Users/myUserName/Lab/gae-bookshelf-app-python-flexible-experiment/getting-started-python/2-structured-data/env/lib/python3.6/shutil.py"
> , line 121, in copyfile
>
> with open(dst, 'wb') as fdst:
>
> PermissionError: [Errno 13] Permission denied: 
> '/lib/python3.6/site-packages/easy_install.py'
>
> 
>
> ...Installing setuptools, pip, wheel...done.
>
> Traceback (most recent call last):
>
>   File "/Library/Python/2.7/site-packages/virtualenv.py", line 2327, in 
> 
>
> main()
>
>   File "/Library/Python/2.7/site-packages/virtualenv.py", line 711, in 
> main
>
> symlink=options.symlink)
>
>   File "/Library/Python/2.7/site-packages/virtualenv.py", line 944, in 
> create_environment
>
> download=download,
>
>   File "/Library/Python/2.7/site-packages/virtualenv.py", line 900, in 
> install_wheel
>
> call_subprocess(cmd, show_stdout=False, extra_env=env, stdin=SCRIPT)
>
>   File "/Library/Python/2.7/site-packages/virtualenv.py", line 795, in 
> call_subprocess
>
> % (cmd_desc, proc.returncode))
>
> OSError: Command /Users/myUserName/Lab/ga...data/env/bin/python3 - 
> setuptools pip wheel failed with error code 2
>
>
> I had 

[google-appengine] Re: Endpoint api number is not working as per user define

2019-08-21 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Jaskaran,
This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine. For coding and 
programming architecture, such as Endpoints configuration, you may be 
better served in dedicated forums such as StackOverflow 
, where 
experienced programmers are within reach and ready to help.

On Wednesday, August 21, 2019 at 12:03:07 AM UTC-4, Jaskaran Singh wrote:
>
> I have create End point api and messages
>
> here is my code for message
>
>  class UserBasedAccessRequest(messages.Message):
>domain = messages.StringField(number = 1, required=True)
>user_key = messages.StringField(number = 2, required=True)
>
>
>  @endpoints.method(UserBasedAccessRequest, CustomerListResponse,
>   http_method='GET', name='customer.list')
> def list_customer(self, request):
>
> when i run this
>
> python lib/endpoints/endpointscfg.py get_client_lib java -bs gradle 
> src.service.mobile_api.MobileApi
>
> it create a zip file in java
>
> but in java
>
> public List list(java.lang.String userKey, java.lang.String domain) 
>  throws java.io.IOException {
> List result = new List(userKey, domain);
> initialize(result);
> return result;
> }
>
> userKey is first parameter and domain is second but I define domain as 
> first parameter.. I am facing this problem in other GET API where parameter 
> are not in sequence
>
>
> How can i slove this problem 
>

-- 
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/6c7856ed-18e2-41d2-b926-822bd0420857%40googlegroups.com.


[google-appengine] Re: How to Create Two Routes in Golang App.yaml in conjunction with React

2019-08-21 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Daniel,
Thanks for opening this thread, however as you said this channel is not 
intended for technical questions. I see that you now have some people 
helping you on your StackOverflow 

 
and I hope you find the solution to your issue as soon as possible. 

On Tuesday, August 20, 2019 at 5:50:05 PM UTC-4, Daniel Connelly wrote:
>
> I apologize if I'm asking a technical question and this isn't the place 
> for it (I have already posted to Stackoverflow, but response hasn't been 
> active). I have a flex app I have been tinkering with for some time written 
> in Go and React with two routes:
>
> Enter code here...
> func main() {
>   http.Handle("/", http.FileServer(http.Dir("./app/build")))
>   http.HandleFunc("/search", searchcontract.SearchContract)
>   http.ListenAndServe(":8080", nil)
> }
> The first handle starts the React App/Element up. 
> The second handleFunc queries a database and returns the results to the 
> react element.
> Behavior is correct on localhost:8080.
> What happens when I deploy the app is that the Go app never interacts with 
> the React element appropriately. React receives a status code of '0', which 
> I believe means that Go never sent any resposneto a requested query. I 
> believe this is true because I tested it locally: when I start the React 
> app up without the Go server, this is the status code React receives.
>
> Localhost works fine:
>
> [image: working.png]
>
>
> App Engine doesn't query correctly (Not in this picture: when I decide to 
> show the table, the status returned is 0):
>
> [image: notworking.png]
>
> The problem is not with my Mysql database. I know this because when I 
> route all requests to the /seach function i receive back this:
>
> [image: online.png]
>
> Any help is appreciated!
>

-- 
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/7aff0a2f-8b35-405b-8755-a843c32da54f%40googlegroups.com.


Re: [google-appengine] High latencies in google app engine in the same timeframe everyday

2019-08-20 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Luciano,

Thanks for opening this discussion thread, I ran some connection tests on 
both your appspot and custom domain. What interested me was the time before 
the request hit Google’s infrastructure. 

Both results were below or similar to a baseline established by a test 
application of mine deployed in the Us-East region. My conclusion here 
would be that there is no issue with the region itself but might be a 
non-optimal configuration of scaling.
My recommendation would be to make sure you follow the App Engine scablability 
best pratices  and 
maybe to bring this performance issue to StackOverflow 
 where 
experienced programmers are within reach and ready to help.

On Tuesday, August 20, 2019 at 10:24:09 AM UTC-4, Luciano César Natale 
wrote:
>
> But yes, I'm in Argentina and the service is hosted in Sao Paulo.
>
> On Tue, Aug 20, 2019 at 11:22 AM Luciano César Natale  
> wrote:
>
>> Thanks Maxi for your answer. I don't think it's the same issue, the high 
>> latency is not only found when using custom domains, also when using 
>> appspot domain too. The bug you refer and linked is only about custom 
>> domains I think, and the latency difference is of about one second, we're 
>> experiencing 20 to 30 seconds latencies!!!
>>
>> On Tue, Aug 20, 2019 at 3:43 AM Maximiliano Contartesi <
>> mcontart...@tecnogo.com> wrote:
>>
>>> This is the main thread:
>>>
>>> https://issuetracker.google.com/issues/64458939 
>>>  
>>> ---
>>>
>>> Maximiliano Contartesi
>>> Founder + IT Projects
>>>  
>>> [image: Logo]  
>>> T: + 54 11 5680-3380
>>> M: + 54 9 11 4039 1851
>>> mcontart...@tecnogo.com - www.tecnogo.com
>>> Dr. Luis Belaustegui 2557, Capital Federal, Argentina.
>>> [image: LinkedIn icon]   
>>>  
>>>
>>>
>>> On Tue, Aug 20, 2019 at 3:41 AM Maximiliano Contartesi <
>>> mcontart...@tecnogo.com> wrote:
>>>
 Luciano

 I'm in Argentina too. We have migrated all of our GCP services to 
 another service provider for the same reason.

 https://groups.google.com/forum/#!topic/google-appengine/sjp9LRzmPH0  
  (this is one from another thread)


 https://stackoverflow.com/questions/49419965/why-is-there-more-latency-when-accessing-an-app-engine-service-with-a-custom-dom?rq=1
   

 If your service destination is Argentina, GAE is not an option ;(

 ---

 Maximiliano Contartesi
 Founder + IT Projects
  
 [image: Logo]  
 T: + 54 11 5680-3380
 M: + 54 9 11 4039 1851
 mcontart...@tecnogo.com - www.tecnogo.com
 Dr. Luis Belaustegui 2557, Capital Federal, Argentina.
 [image: LinkedIn icon]   
  


 On Mon, Aug 19, 2019 at 8:38 PM Luciano César Natale <
 lucho...@gmail.com> wrote:

> Hi! I'm realtive new to this world of cloud computing, and I've 
> managed to set up a project that runs wordpress on GAE with the DB stored 
> in CloudSQL.
>
> Thing is that now that the project has gone live, it's experiencing 
> high latencies in specific timeframe on a daily basis.
> Here is a screenshot of what trace shows:
> As you can see, between 2PM and 2AM everyday (I'm preety sure that 
> it's my local time GMT-3 ART). I've alreayd tried having more resources 
> allocated for the App Engine Instances and the CloudSQL instance, and 
> that 
> did not solve the problem, things were exactly the same.
> How can this be handled?
> Thanks!
>
> [image: Screenshot from 2019-08-19 19-50-34.png]
>
> -- 
> 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/aa97b3eb-1f89-45b6-baaa-71f32ee270a9%40googlegroups.com
>  
> 
> .
>
 -- 
>>> 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/CAC0jyv_pfVQw-Bw-W1Jw9wa%3DuNRXcC4cmDTLNj9Gtb4jdFj0pg%40mail.gmail.com
>>>  
>>> 
>>> .
>>>
>>
>>
>> -- 
>> Luciano 

[google-appengine] Re: Source Code download from GAE Flex

2019-08-20 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Sai,

It used to be possible to download your source code with the appcfg.py 
tools but unfortunately this tool is now deprecated and it’s replacement, 
the Cloud SDK   does not support this 
feature.
There is a feature request for this, and you can follow their progress here 
, although there is no ETA for 
when it will be implemented.

On Monday, August 19, 2019 at 6:26:58 PM UTC-4, Sai M wrote:
>
> Hello,
>
> By accident i have lost the data on my personal laptop where i have kept 
> the Source code of the project i have deployed on Google App Flex.  
> Unfortunately i don't have the backup as it happened by accident when i was 
> trying to upgrade my OS.
>
> The Project ID is..."smartcc".
>
> Can you pls. help on instructions of how to down load the latest 
> application source code deployed on Google App Flex env please.
>
> Thanks a ton in advance.
>
> Best Regards
> Sai
>

-- 
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/e52822af-78fd-45dc-97d1-4a72915fe6ef%40googlegroups.com.


[google-appengine] Re: Steps for migrating datastore and cloudstorage entities to another project

2019-08-26 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Rob,

Firestore is considered the newest version of Cloud Datastore 
, 
there are multiple benefits 
 
that come with this update.

After doing a little bit of research on this I've found a very interesting 
article 
 
that describes multiple ways to migrate blobs to a GCS bucket in another 
project. I personally think that in your case the option #2 which consist 
of using the open source tools[4] that would store a Datastore mapping from 
the existing blob key to the GCS filename and then running a simple gsutils 
cp [4] command 
seems to be the easiest options

On Saturday, August 24, 2019 at 12:55:31 PM UTC-4, Rob Curtis wrote:
>
> Hi,
>
> I'd like to migrate existing data from one project to another.
> If found this detail here which outlines the steps to 
> https://cloud.google.com/datastore/docs/export-import-entities (however 
> this is to firestore in datastore mode, is that the standard now?)
>
> The issue I have is that the Google cloud storage records I have are 
> accessed via blob_keys in a lot of cases and unfortunately we didn't store 
> the filenames :(
> So when migrating, do the blob_keys still work (provided I don't delete 
> the GCS file associated with the blob_key on the old project?)
>
> Are there any other gotchas to consider?
>
> 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a3c2f22b-2d5c-4be9-949d-aacdd9a88229%40googlegroups.com.


[google-appengine] Re: AppEngine Dev, QA and production environments, how to manage them and and set it up?

2019-08-27 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Eduardo,

Thanks for opening this thread, there are multiple training courses 
available[1] to learn more about how to professionally develop, deploy and 
monitor applications on GCP.

This specific learning path[2] concentrates on the concepts of application 
development. I hope you find this interesting. Also you can consider 
passing one of our certifications[3] if you want to become officially GCP 
certified.

[1] https://cloud.google.com/training

[2] https://cloud.google.com/training/application-development
[3] https://cloud.google.com/training/#certification

On Monday, August 26, 2019 at 1:01:23 PM UTC-4, Eduardo Moreira wrote:
>
> Thank you Diogo
>
> That is a great place to get started but it does feel we need proper 
> training for this, do you know where we could get this?
>
> Thank you
>
> On Friday, 23 August 2019 04:47:38 UTC+1, Diogo Almeida wrote:
>>
>> As per the document [1], the different development environments should be 
>> managed by setting up a different project for each environment. That said, 
>> you would manage the different environments with separate repositories and 
>> could use Cloud Source Repository and Cloud Build to deploy the code to App 
>> Engine.
>>
>> I would recommend you explore the documentation of these two products:
>>
>> 1 - Cloud Source Repositories [2][3]: `Google Cloud Source Repositories 
>> provides Git version control to support collaborative development of an 
>> application or service, such as those that run on App Engine and Compute 
>> Engine`. You can automatically deploy an application stored in Cloud Source 
>> Repositories to App Engine when there is a new commit on your repository. 
>>
>> 2 - Cloud Build [4]: `Cloud Build can import source code from a variety 
>> of repositories or cloud storage spaces, execute a build to your 
>> specifications, and produce artifacts such as Docker containers or Java 
>> archives`.
>>
>> I also recommend you take a look at this Youtube video [5] where you will 
>> see a hands-on presentation on how to use both products.
>>
>> [1] 
>> https://cloud.google.com/appengine/docs/standard/go/creating-separate-dev-environments
>> [2] 
>> https://cloud.google.com/source-repositories/docs/quickstart-triggering-builds-with-source-repositories
>> [3] https://cloud.google.com/source-repositories/
>> [4] https://cloud.google.com/cloud-build/
>> [5] https://www.youtube.com/watch?v=yP9a5gDRUqY
>>
>>
>> On Thursday, August 22, 2019 at 8:03:33 PM UTC-4, Eduardo Moreira wrote:
>>>
>>> Hello Everyone
>>>
>>> We have a project that we would like to manage in the most professional 
>>> way, so we would like to have a DEV environment for developers to upload 
>>> the project and test in the AppEnginne environment, then we would like to 
>>> have a QA Environment, where we after the Devs are ok with the work, we 
>>> upload the project for customers and Selenium automated test to their part, 
>>> finally, when we are all happy, then we need to move the project into a 
>>> PRODUCTION environment which is the one where customer actually access the 
>>> final product.
>>>
>>> All we have found about this is the following:
>>>
>>> https://cloud.google.com/appengine/docs/standard/go/creating-separate-dev-environments
>>>
>>> But we have many questions, like what is the best way to setup this 
>>> environment, how to copy code from one environment to the other, for 
>>> example how do we move the code from DEV to QA. 
>>>
>>> Is there a course or a step by step video anyone can share with us? we 
>>> need some help with this.
>>>
>>> Thank you
>>>
>>

-- 
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/95afcdf9-0966-4a6e-932b-b32140b70db7%40googlegroups.com.


[google-appengine] Re: Does gae support boto3?

2019-08-23 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Ray,

I understand that you really need Boto3 to be supported by App Engine as of 
now it is now so I have notified our engineering team of this feature 
request[1] and they are now investigating it. There is currently no ETA for 
its implementation.

[1] https://issuetracker.google.com/issues/139956261


On Thursday, August 22, 2019 at 9:58:00 PM UTC-4, Ray Wong wrote:
>
> Thanks for your reply! In fact I need to use Mturk api which is included 
> in boto and boto3 in my project. However the Mturk api in boto is now 
> deprecated so that means I have to use boto3 continue my work.
>
> 在 2019年8月23日星期五 UTC+8上午3:31:34,Nicolas (Google Cloud Platform Support)写道:
>>
>> Hi Ray,
>>
>> Thank you for opening this thread, I’m not a Boto3 expert however from 
>> what I understand of the research that I made, I think you are right Boto3 
>> seems to be experiencing some issues with App Engine. 
>>
>> Also I found some unofficial resource that seems to imply that you could 
>> rollback and use Boto2.
>>
>>
>> On Thursday, August 22, 2019 at 9:09:00 AM UTC-4, Ray Wong wrote:
>>>
>>> Recently I migrated from boto to boto3 in my gae project. But when I run 
>>> my project(environment: python27), I get the error:
>>> def __init__(self, profile_name, load_config, popen=subprocess.Popen):
>>>
>>> AttributeError: 'module' object has no attribute 'Popen'
>>> I searched on Google and find some people say that boto3 doesn't support 
>>> gae sandbox. Now that my project has to use boto3, is there any solution to 
>>> run boto3 on gae? 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9f751cce-5ff3-4436-a378-c30cd500fb55%40googlegroups.com.


[google-appengine] Re: Does gae support boto3?

2019-08-22 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Ray,

Thank you for opening this thread, I’m not a Boto3 expert however from what 
I understand of the research that I made, I think you are right Boto3 seems 
to be experiencing some issues with App Engine. 

Also I found some unofficial resource that seems to imply that you could 
rollback and use Boto2.


On Thursday, August 22, 2019 at 9:09:00 AM UTC-4, Ray Wong wrote:
>
> Recently I migrated from boto to boto3 in my gae project. But when I run 
> my project(environment: python27), I get the error:
> def __init__(self, profile_name, load_config, popen=subprocess.Popen):
>
> AttributeError: 'module' object has no attribute 'Popen'
> I searched on Google and find some people say that boto3 doesn't support 
> gae sandbox. Now that my project has to use boto3, is there any solution to 
> run boto3 on gae? 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c01ad856-6717-4c80-87a2-e9a80c949e62%40googlegroups.com.


[google-appengine] Re: Prohibit source code downloading

2019-08-07 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi, 

In order to have an user being able to view applications versions and 
instances and also be able to monitor their performance without being able 
to view the source code you would need to give them one of the predefined 
roles 

 
except for App Engine Code Viewer.

However if your client already has the project owner role 

 
they will by default have the permissions to see and download the source 
code.


On Tuesday, August 6, 2019 at 12:27:59 PM UTC-4, Fruit Punch Samurai G 
wrote:
>
> Hello. I have ran into a problem and I really need help. Here's the 
> situation:
>
> We have a client who insists on using their own Google account for App 
> Engine. However, we don't want them to be able to see or download the 
> source code that we uploaded. We are using a flexible environment and are 
> using Golang. Is there any way to prevent them from download or viewing the 
> code even if they are the ones holding the Google account? Please help.
>

-- 
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/eb0fa1d6-c303-441a-b862-e00dd522feab%40googlegroups.com.


[google-appengine] Re: (gcloud.app.deploy) Error Response: [13] Error processing user code.

2019-08-05 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Thomas,
This discussion group is oriented more towards general opinions, trends, 
and issues of general nature touching App Engine. For technical 
implementation, such as migrating your website, you may be better served in 
dedicated forums such as Stack Overflow 
, where 
experienced programmers are within reach and ready to help.

On Monday, August 5, 2019 at 4:22:37 PM UTC-4, Thomas Jannaud wrote:
>
> Hi
> I am migrating my google app engine python website to gcloud.
> If it can help, I have migrated one small website (fully static) with 
> success. Now I am migrating a website that uses datastore.
>
> It works ok locally (including connecting to the datastore)
> The build succeeds but I get an error when it comes to deployment
>
> gcloud app deploy   --project myappid --trace-log --verbosity=debug gives:
>
> ...
> Updating service [default]...failed.  
> 
> DEBUG: (gcloud.app.deploy) Error Response: [13] Error processing user code.
> Traceback (most recent call last):
>   File "/usr/local/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", 
> line 983, in Execute
> resources = calliope_command.Run(cli=self, args=args)
>   File 
> "/usr/local/google-cloud-sdk/lib/googlecloudsdk/calliope/backend.py", line 
> 795, in Run
> resources = command_instance.Run(args)
>   File "/usr/local/google-cloud-sdk/lib/surface/app/deploy.py", line 90, 
> in Run
> parallel_build=False)
>   File 
> "/usr/local/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py",
>  
> line 641, in RunDeploy
> ignore_file=args.ignore_file)
>   File 
> "/usr/local/google-cloud-sdk/lib/googlecloudsdk/command_lib/app/deploy_util.py",
>  
> line 431, in Deploy
> extra_config_settings)
>   File 
> "/usr/local/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/appengine_api_client.py",
>  
> line 207, in DeployService
> poller=done_poller)
>   File 
> "/usr/local/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py",
>  
> line 313, in WaitForOperation
> sleep_ms=retry_interval)
>   File 
> "/usr/local/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", 
> line 264, in WaitFor
> sleep_ms, _StatusUpdate)
>   File 
> "/usr/local/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", 
> line 326, in PollUntilDone
> sleep_ms=sleep_ms)
>   File 
> "/usr/local/google-cloud-sdk/lib/googlecloudsdk/core/util/retry.py", line 
> 229, in RetryOnResult
> if not should_retry(result, state):
>   File 
> "/usr/local/google-cloud-sdk/lib/googlecloudsdk/api_lib/util/waiter.py", 
> line 320, in _IsNotDone
> return not poller.IsDone(operation)
>   File 
> "/usr/local/google-cloud-sdk/lib/googlecloudsdk/api_lib/app/operations_util.py",
>  
> line 182, in IsDone
> encoding.MessageToPyValue(operation.error)))
> OperationError: Error Response: [13] Error processing user code.
> ERROR: (gcloud.app.deploy) Error Response: [13] Error processing user code.
>
>  Note: I can send you privately the app id/other info
>
> requirements.txt file:
> Flask==1.1.1
> gunicorn==19.9.0
> google-api-python-client==1.7.10
> google-cloud-ndb==0.0.1
> google-cloud-storage==1.17.0
> jinja2==2.10.1
> PyYAML==5.1.1
> urlfetch==1.1.2
> grpcio-gcp==0.2.2
>
>
> app.yaml file:
> runtime: python37
> entrypoint: gunicorn -b :$PORT main:app
>
> handlers:
> - url: /static
>   static_dir: static
> - url: /robots.txt
>   static_files: robots.txt
>   upload: robots.txt
> - url: .*
>   script: auto
>
>
> Any idea?
> Note that I don't want to use flex (my website doesn't have many visits)
> Thanks in advance for looking into this!
>

-- 
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/3fd3f4b7-afff-4c38-8b16-8904ee53d78e%40googlegroups.com.


[google-appengine] Re: Can't Connect from GCP AppEngine to GCP Cloud SQL

2019-08-05 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Caglar,

As GCP Google Groups are more oriented towards general opinions, trends, 
and issues of general nature touching App Engine and Cloud SQL I would 
recommend bringing this issue to a website such as Stack Overflow 
, where 
experienced programmers are within reach and ready to help.


On Monday, August 5, 2019 at 4:22:37 PM UTC-4, Caglar Mehmet Metin wrote:
>
> Hello sorry for late reply.
>
> I tried with the recommended method. It now works (with g).  
> However HikariConfig does not work. It continuesly throws exception. It 
> only works when I connect normally (Using JDBC driver)
> Do you have any idea why? 
>
> DataSource pool = new HikariDataSource(config); //(Does not work)
> conn = DriverManager.getConnection(url); //works
>
> Both have the same configs and urls.
>
>
> Thanks and regards. 
>
> 29 Temmuz 2019 Pazartesi 18:40:59 UTC+2 tarihinde Julie (cloud platform 
> support) yazdı:
>>
>> This is the recommended method for connecting Cloud SQL with App Engine  
>> so if you 
>> are not connecting as detailed please specify your connection method. If 
>> you use 0.0.0.0/0 IP 
>>  
>> then the issue is unlikely due to configuration of the network as that IP 
>> should allow any application to connect (this includes unauthorized ones, 
>> which can cause a security issue). Please note that if you have sensitive 
>> or proprietary data in your database, you should not use this method to 
>> investigate connectivity issues. Please specify if any error messages 
>> result from your attempt to connect, specifically any Stack driver logs 
>> . Please remove any 
>> sensitive or personal information such as cookies, passwords, email 
>> addresses and credit card information before posting any 
>> attachments/information. 
>>
>>
>>
>>

-- 
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/6f67fe15-594f-4b98-bbd5-73e1a4d1cd38%40googlegroups.com.


[google-appengine] Re: Failed to load resource: the server responded with a status of 400 - Bad request

2019-08-06 Thread 'Nicolas (Google Cloud Platform Support)' via Google App Engine


Hi Rafael,

Thank you for opening this thread, I personally deployed and successfully 
served  an App Engine Flex custom runtime application following this 
documentation 
 
to the southamerica-east1 region.

I would assume that the issue may be in the way your application is 
handling requests that being said, the GCP Google Groups are more oriented 
towards general opinions, trends, and issues of general nature touching App 
Engine.
I would recommend bringing this issue to a website such as Stack Overflow 
, where 
experienced programmers are within reach and ready to help.

On Monday, August 5, 2019 at 11:58:38 PM UTC-4, Rafael Coimbra wrote:
>
> Hi,
>
>
> During the deployment process of my app no errors occurred, however when I 
> try to access it the server respond with status 400 - Bad request. My app 
> location is southamerica-east1 and it works in a flexible environment with 
> custom runtime.
>
> My guess: southamerica-east1 local does not support a flexible environment 
> with custom runtime. Is it right?
>
> What should I 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1f5774be-2a62-4334-b8ed-8c40c93507c6%40googlegroups.com.