Here is a post from “StackOverflow” that has similar characteristics. The 
user configures SECURE_SSL_REDIRECT and his App Engine has presented 
similar issues. The answer suggests adding a secure parameter 
<https://stackoverflow.com/a/41582457/16938011> to the app.yaml file. Could 
you try this?

handlers:
- url: /*
  script: anyfile.py
  secure: always

On Tuesday, May 17, 2022 at 2:55:19 AM UTC-5 nikhilhem...@rakuten.com wrote:

> To update you I managed to get the root cause. Django settings.py has  
> SECURE_SSL_REDIRECT configuration. If I enable it(I must), I get above 
> issue,if I disable then the instance starts successfully. Do you have any 
> idea?
>
>
> On Saturday, May 14, 2022 at 8:12:47 AM UTC+9 Osvaldo Lopez Acuña wrote:
>
>> Were you able to change your App Engine settings the way Ernesto 
>> suggested?
>>
>> The issue ended on May 6, as you can see in the shared link, and App 
>> Engine was not affected.
>>
>>
>> On Thursday, May 12, 2022 at 10:46:30 PM UTC-5 nikhilhem...@rakuten.com 
>> wrote:
>>
>>> Any update on this?
>>>
>>>
>>> On Saturday, May 7, 2022 at 5:49:29 AM UTC+9 Ernesto Contreras Pinon 
>>> wrote:
>>>
>>>> Yes, using the app.yaml file, you can set the type of scaling that is 
>>>> used by your App Engine app. You can specifically see the reference 
>>>> <https://cloud.google.com/appengine/docs/standard/python3/config/appref#scaling_elements>
>>>>  
>>>> on how the scaling elements are to be syntactically added in your app.yaml 
>>>> file. Since this file contains the specifications for the deployment of 
>>>> your app, it would be the proper place to change the settings. 
>>>>
>>>> Have you recently encountered this issue? There is currently an 
>>>> existing incident 
>>>> <https://status.cloud.google.com/incidents/4Qvmd4q81VnA9RirCMqV> that 
>>>> is affecting multiple Google Cloud products which could be related to the 
>>>> errors you are seeing.
>>>> On Friday, May 6, 2022 at 2:36:23 AM UTC-5 nikhilhem...@rakuten.com 
>>>> wrote:
>>>>
>>>>> I was using autoscaling but it has 10 min request timeout,so I want to 
>>>>> change it to basic scaling.
>>>>> Does changing app.yaml will do the thing? or I need more settings.
>>>>> runtime: python39 service: dev-app instance_class: B1 basic_scaling: 
>>>>> max_instances: 10 idle_timeout: 10m
>>>>> I am getting error as
>>>>> The request failed because the instance could not start 
>>>>> successfullyProcess terminated because it failed to respond to the start 
>>>>> request with an HTTP status code of 200-299 or 404.
>>>>>
>>>>

-- 
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/828d6daa-8802-45a4-9682-286836af7a16n%40googlegroups.com.

Reply via email to