[google-appengine] Re: App Engine Flexible -> Random 503 Errors

2018-04-12 Thread 'Digil(Google Cloud Platform Support)' via Google App Engine
As of now there isn't knows issue reported on the App Engine.Looks like it 
could just be a transient issue. Let us know, if it still persists.

-- 
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/28a1c7e2-f771-4252-aa0c-bc0aadfb44ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Editing Google Cloud Shell

2018-04-12 Thread Kathleen Juliff
How do I evoke these editors?

-- 
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/ab7e95fa-70ba-4ca2-8803-3f05632c5907%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] App Engine Flexible -> Random 503 Errors

2018-04-12 Thread Mike Hardy
Hi, we have a python app using App Engine Flexible, and for some reason, it 
just started throwing 503 errors and failing. 

There was no spike in traffic and this version had been deployed for the 
last 6 days with no issues. Basically, nothing changed. 

We tried to let the version self-heal, but it wasn't working. The version 
entered a loop where it would start and then shutdown continuously.

Finally, I gave up and deployed a fresh version, which works as expected.

Can someone help explain why this might have happened and how to prevent it 
in the future?

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/34fda84f-6391-4269-93fd-fc34f3044417%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Editing Google Cloud Shell

2018-04-12 Thread 'Kenworth (Google Cloud Platform)' via Google App Engine
Yes. Cloud Shell has built-in text editors 
 like Emacs, Vim and 
Nano. 

-- 
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/2fdfad8e-e8fd-4fd4-b82f-e7d5bc283dd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Editing Google Cloud Shell

2018-04-12 Thread Kathleen Juliff

Is it possible to edit existing files from within the shell if they do not 
reside on your local hard drive?

-- 
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/6ed1db4a-4870-4a89-91e1-6556e356c522%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Unable to deploy hello world example on Flexible Environment - global/networks/default was not found

2018-04-12 Thread 'George (Cloud Platform Support)' via Google App Engine
Hello Shashank, 

Which quick-start did you follow? There is one for each programming 
language. 

Is your local development setup complete? In particular, have you 
initialized your project with the gcloud init command? 

What is the output of the gcloud info command? 

Did you create a new network in the developers' console? Have you modified 
the firewall settings?  

-- 
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/18a94eb2-8538-42c7-b749-52e088239004%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: seems not working https://cloud.google.com/community/tutorials/run-laravel-on-appengine-flexible tutorials

2018-04-12 Thread Ravi Shanker
This is very common issue with app engine, i am continue facing this issue 
and did't get any solution till now some time it's working and some time 
not.


On Sunday, December 24, 2017 at 10:45:01 PM UTC+5:30, Ravi Shanker wrote:
>
>
> 
> Hello All,
>
> I followed  
> https://cloud.google.com/community/tutorials/run-laravel-on-appengine-flexible
>  
> tutorials but it''s giving me  error I am using laravel 5.5.27
>
> SQLSTATE[HY000] [2002] No such file or directory
>
> My app.yml code is
>
> runtime: php
> env: flex
>
>
> runtime_config:
>   document_root: public
>
>
> # Ensure we skip ".env", which is only for local development
> skip_files:
>   - .env
>
>
> env_variables:
>   
>   # Put production environment variables here.
>   
>   APP_LOG: errorlog
>   APP_KEY: base64:R3rZt4n3hxueTTwDP1Mbs6OX7m739IXF+XoElcCoTBo=
>   STORAGE_DIR: /tmp
>   CACHE_DRIVER: database
>   SESSION_DRIVER: database
>   DB_HOST: localhost
>   DB_DATABASE: laravel
>   DB_USERNAME: laravel
>   DB_PASSWORD: laravel
>   DB_SOCKET: "/cloudsql/phpsipl1:us-central1:phpsipl"
> beta_settings:
>   cloud_sql_instances: "phpsipl1:us-central1:phpsipl"
>
> Please see in attached screen shot what error I am getting.
>
>
> 
>
> Pleases help me 
>

-- 
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/80b84428-d175-487d-95c8-0797f62b3d6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: PHP app engine cannot connect to cloud sql

2018-04-12 Thread Ravi Shanker
I am also facing same issue in laravel with APP engine , Yes I have enabled 
API 

On Friday, June 2, 2017 at 11:12:20 AM UTC+5:30, tmatsuo wrote:
>
> Do you guys have sqladmin API enabled?
> You can check it at:
> https://console.cloud.google.com/apis/api/sqladmin.googleapis.com/overview
>
> On Sun, May 28, 2017 at 8:29 PM Subash PS  > wrote:
>
>> I amm also facing the same issue
>>
>> app.yaml
>>
>> env: flex
>> runtime: php
>> runtime_config:
>>   document_root: .
>> env_variables:
>>   # Replace project, instance, database, user and password with the 
>> values obtained
>>   # when configuring your Cloud SQL instance.
>>   MYSQL_DSN: mysql:unix_socket=/cloudsqlxxx;dbname=testdb
>>
>>   MYSQL_USER: root
>>   MYSQL_PASSWORD: xx
>>   MYSQL_DATABASE : testdb
>> w
>> beta_settings:
>>   cloud_sql_instances: "xx"
>>
>>
>> code sample
>>
>> $dsn = getenv('MYSQL_DSN');
>> $username = getenv('MYSQL_USER');
>> $password = getenv('MYSQL_PASSWORD');
>> $options = array(
>> PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8',
>> ); 
>> try{
>> $dbh = new PDO($dsn, $username, $password, $options);
>> echo "conneced";exit;
>> }catch(Exception $e) {
>> print $e->getMessage();exit;
>> }
>>
>> On Friday, 30 September 2016 03:41:22 UTC+5:30, Kevin Lau wrote:
>>>
>>>
>>> down votefavorite 
>>> 
>>>
>>> I am trying to connect my app engine PHP app to cloud sql via unix 
>>> socket (I assume that is correct so that I don't have to connect to the 
>>> ip). The connect via IP works but the unix socket does not. Any ideas? It's 
>>> also weird that when I ssh into the box, I don't see any /cloudsql/ 
>>> directory. I can create it by manually starting cloud_sql_proxy but that 
>>> doesn't persist as soon as I turn debug off.
>>>
>>>
>>> I'm using: $db = new pdo( 
>>> 'mysql:unix_socket=/cloudsql/testproject-xx:us-central1:library;dbname=books',
>>>  
>>> 'phpapp', // username 'somepw' // password );
>>>
>>> And get SQLSTATE[HY000] [2002] No such file or directory
>>>
>> -- 
>> 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/cd70cbcf-c973-4c32-b54d-06e00aabbf56%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/84ce1a07-4612-4f3f-9c85-17c97b03868a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.