[google-appengine] Re: Nginx config customization on App Engine Flex custom runtime

2021-05-11 Thread 'wokmou' via Google App Engine
Appengine flex by default also includes an nginx.conf file, which contains 
the basic nginx configuration information, as well was the index.html file, 
which serves as the root page for the nginx web server. This [1] will show 
you how to build Custom Runtimes in the App Engine Flexible Environment and 
Customize NGINX[2].

[1]https://cloud.google.com/appengine/docs/flexible/custom-runtimes/quickstart
[2]https://cloud.google.com/appengine/docs/flexible/php/runtime#customizing_nginx
On Monday, May 10, 2021 at 10:23:52 AM UTC-4 d...@ipsip.eu wrote:

> Hello everyone,
>
> Is it possible to customize the nginx.conf for app engine flex custom 
> runtime? I see that PHP runtime does support customize it through 
> nginx-app.conf but couldn't find one for the custom runtime.
>
> 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/ff7bdc44-9960-4ff8-b8aa-1df331ccb72en%40googlegroups.com.


Re: [google-appengine] Re: 00 Server Error after deploy endpoint and change so SQL tables names ,why?

2021-05-11 Thread Guy Dviri
The code is the same code , what I did is just move my SRC files without
the gradles build files ,from the app & the appengine to an old copy of the
project that I have..
then I  asked if I want to upgrade the JDK ,or keep the 11 version. I
choose to keep the 11 jdk version of the old project and deploy.
And just then It's works.

sorry I can reproduce the problem ,because I'm cant afford to trap myself
inside this nightmare again.

any I lost the original screenshot but  when I open the AS after
transporting the new files to the old project ,i've get this message from
this menu:

[image: image.png]

but it doesn't was that it was something similar  to that, asking me to
choose JDK. ( I can't find the exact menu after  approval. ,sorry )

thanks Guy.

By the way ,can you pls help enter my endpoint portal , I have all the
certification and still can't choose API ,why?




On Tue, May 11, 2021 at 12:39 PM 'Felipe Bergallo Corral' via Google App
Engine  wrote:

> Well, a good jumping off point for debugging an endpoint would be the
> endpoint logs, following the documentation associated with it
> .
> Following that, if the information there isn't very clear, then the issue
> might be in the backend, which in this case would be your SQL instance; if
> this SQL instance is a CloudSQL instance, then you merely need to follow
> the documentation associated with that
> . On the other hand, if
> your SQL instance is inside of a Compute Engine Instance or an App Engine
> Instance, then you might find something in the logs of those instances,
> however, I believe you'll have more luck accessing the logs inside of the
> SQL instance itself if that's the case.
> That being said any advice I give on the logs of a SQL instance can be
> muddy because I'm not sure what SQL instance you're using? CloudSQL offers
> MySQL, PostgreSQL and Microsoft SQL Server, so I am somewhat well versed in
> those three, however if you use a different solution then my attempts at
> helping will mostly be a best-effort on my part, because I can't guarantee
> that I'll be very knowledgable.
> That being said, it would be nice to have a minimum reproducible example
> of your code? Y'know, just the basics of how you attempt to access
> instance, and the query you're trying to perform. Obviously we don't need
> to know the keys or anything exact about it, it's best to avoid any
> personal or private information getting in there.
>
> On Tuesday, May 11, 2021 at 10:59:19 AM UTC+2 dvir...@gmail.com wrote:
>
>> ambiguous or not this was the only error I've got , so what can I do to
>> figure this out?
>> anyway solve it after almost 3 days,, the problem was probably using jdk
>> 16.1 instead of 11.
>> if the log can give me clues about it , that would save me some time ,and
>> maybe save time for others.
>> thanks.
>>
>> On Tue, May 11, 2021 at 11:27 AM 'Felipe Bergallo Corral' via Google App
>> Engine  wrote:
>>
>>> To be clear, would you kindly either elaborate on the changes you've
>>> performed that have lead you to this error? Or possibly look into the logs
>>> found within the Logs Explorer to see if there's a more specific error in
>>> there?
>>>
>>> On Tuesday, May 11, 2021 at 10:25:22 AM UTC+2 Felipe Bergallo Corral
>>> wrote:
>>>
 Pardon, but that's... A bit ambiguous. 500 server error is any error
 within the server itself, which can refer to either the endpoint server or
 the sql server, would you kindly elaborate?

 On Thursday, May 6, 2021 at 2:01:32 AM UTC+2 dvir...@gmail.com wrote:

>
> 
> 
> 500 Server Error
> 
> 
> Error: Server Error
> The server encountered an error and could not complete your
> request.Please try again in 30 seconds.
> 
> 
>
> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Google App Engine" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/google-appengine/B73PhqjzURI/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to
>>> google-appengi...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/google-appengine/7e5bb483-668c-42bc-a37c-ff431f5147b6n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/B73PhqjzURI/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> google-appengine+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> 

Re: [google-appengine] Re: 00 Server Error after deploy endpoint and change so SQL tables names ,why?

2021-05-11 Thread 'Felipe Bergallo Corral' via Google App Engine
Well, a good jumping off point for debugging an endpoint would be the 
endpoint logs, following the documentation associated with it 
.
Following that, if the information there isn't very clear, then the issue 
might be in the backend, which in this case would be your SQL instance; if 
this SQL instance is a CloudSQL instance, then you merely need to follow 
the documentation associated with that 
. On the other hand, if 
your SQL instance is inside of a Compute Engine Instance or an App Engine 
Instance, then you might find something in the logs of those instances, 
however, I believe you'll have more luck accessing the logs inside of the 
SQL instance itself if that's the case.
That being said any advice I give on the logs of a SQL instance can be 
muddy because I'm not sure what SQL instance you're using? CloudSQL offers 
MySQL, PostgreSQL and Microsoft SQL Server, so I am somewhat well versed in 
those three, however if you use a different solution then my attempts at 
helping will mostly be a best-effort on my part, because I can't guarantee 
that I'll be very knowledgable.
That being said, it would be nice to have a minimum reproducible example of 
your code? Y'know, just the basics of how you attempt to access instance, 
and the query you're trying to perform. Obviously we don't need to know the 
keys or anything exact about it, it's best to avoid any personal or private 
information getting in there.

On Tuesday, May 11, 2021 at 10:59:19 AM UTC+2 dvir...@gmail.com wrote:

> ambiguous or not this was the only error I've got , so what can I do to 
> figure this out?
> anyway solve it after almost 3 days,, the problem was probably using jdk 
> 16.1 instead of 11.
> if the log can give me clues about it , that would save me some time ,and 
> maybe save time for others.
> thanks.
>
> On Tue, May 11, 2021 at 11:27 AM 'Felipe Bergallo Corral' via Google App 
> Engine  wrote:
>
>> To be clear, would you kindly either elaborate on the changes you've 
>> performed that have lead you to this error? Or possibly look into the logs 
>> found within the Logs Explorer to see if there's a more specific error in 
>> there?
>>
>> On Tuesday, May 11, 2021 at 10:25:22 AM UTC+2 Felipe Bergallo Corral 
>> wrote:
>>
>>> Pardon, but that's... A bit ambiguous. 500 server error is any error 
>>> within the server itself, which can refer to either the endpoint server or 
>>> the sql server, would you kindly elaborate?
>>>
>>> On Thursday, May 6, 2021 at 2:01:32 AM UTC+2 dvir...@gmail.com wrote:
>>>

 
 
 500 Server Error
 
 
 Error: Server Error
 The server encountered an error and could not complete your 
 request.Please try again in 30 seconds.
 
 

 -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Google App Engine" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/google-appengine/B73PhqjzURI/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> google-appengi...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/7e5bb483-668c-42bc-a37c-ff431f5147b6n%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/7012dd71-5075-4f9b-8a3b-2ab77ac54646n%40googlegroups.com.


Re: [google-appengine] Re: 00 Server Error after deploy endpoint and change so SQL tables names ,why?

2021-05-11 Thread Guy Dviri
ambiguous or not this was the only error I've got , so what can I do to
figure this out?
anyway solve it after almost 3 days,, the problem was probably using jdk
16.1 instead of 11.
if the log can give me clues about it , that would save me some time ,and
maybe save time for others.
thanks.

On Tue, May 11, 2021 at 11:27 AM 'Felipe Bergallo Corral' via Google App
Engine  wrote:

> To be clear, would you kindly either elaborate on the changes you've
> performed that have lead you to this error? Or possibly look into the logs
> found within the Logs Explorer to see if there's a more specific error in
> there?
>
> On Tuesday, May 11, 2021 at 10:25:22 AM UTC+2 Felipe Bergallo Corral wrote:
>
>> Pardon, but that's... A bit ambiguous. 500 server error is any error
>> within the server itself, which can refer to either the endpoint server or
>> the sql server, would you kindly elaborate?
>>
>> On Thursday, May 6, 2021 at 2:01:32 AM UTC+2 dvir...@gmail.com wrote:
>>
>>>
>>> 
>>> 
>>> 500 Server Error
>>> 
>>> 
>>> Error: Server Error
>>> The server encountered an error and could not complete your
>>> request.Please try again in 30 seconds.
>>> 
>>> 
>>>
>>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-appengine/B73PhqjzURI/unsubscribe
> .
> To unsubscribe from this group and all its topics, 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/7e5bb483-668c-42bc-a37c-ff431f5147b6n%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/CAMk5Y2dx7npsg-_sm1e3cxJGCT%2BuA2sYZQ8%2B9GCdCbfO8dwtEg%40mail.gmail.com.


[google-appengine] Re: 00 Server Error after deploy endpoint and change so SQL tables names ,why?

2021-05-11 Thread 'Felipe Bergallo Corral' via Google App Engine
To be clear, would you kindly either elaborate on the changes you've 
performed that have lead you to this error? Or possibly look into the logs 
found within the Logs Explorer to see if there's a more specific error in 
there?

On Tuesday, May 11, 2021 at 10:25:22 AM UTC+2 Felipe Bergallo Corral wrote:

> Pardon, but that's... A bit ambiguous. 500 server error is any error 
> within the server itself, which can refer to either the endpoint server or 
> the sql server, would you kindly elaborate?
>
> On Thursday, May 6, 2021 at 2:01:32 AM UTC+2 dvir...@gmail.com wrote:
>
>>
>> 
>> 
>> 500 Server Error
>> 
>> 
>> Error: Server Error
>> The server encountered an error and could not complete your 
>> request.Please try again in 30 seconds.
>> 
>> 
>>
>>

-- 
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/7e5bb483-668c-42bc-a37c-ff431f5147b6n%40googlegroups.com.


[google-appengine] Re: 00 Server Error after deploy endpoint and change so SQL tables names ,why?

2021-05-11 Thread 'Felipe Bergallo Corral' via Google App Engine
Pardon, but that's... A bit ambiguous. 500 server error is any error within 
the server itself, which can refer to either the endpoint server or the sql 
server, would you kindly elaborate?

On Thursday, May 6, 2021 at 2:01:32 AM UTC+2 dvir...@gmail.com wrote:

>
> 
> 
> 500 Server Error
> 
> 
> Error: Server Error
> The server encountered an error and could not complete your 
> request.Please try again in 30 seconds.
> 
> 
>
>

-- 
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/8ae3bddb-f343-49d5-bc07-72e10415c9e2n%40googlegroups.com.


[google-appengine] Re: Looking for App Engine Expert

2021-05-11 Thread Vitaly Bogomolov
Hi.

You can use 'X-Appengine-Inbound-Appid' http header for solving a problem 
"allow only local traffic to app engine services".

According documentation 


"Requests coming from other App Engine applications will include a header 
identifying the app making the request, if the requesting app is using the 
URL Fetch Service:

X-Appengine-Inbound-Appid"

WBR, Vitaly.

-- 
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/b35735ac-e9c4-457b-aad3-44e368f9817bn%40googlegroups.com.