Re: [google-appengine] Re: Firebase Cloud functions express ip location

2019-05-28 Thread Prashanth Acharya
Cancel
On Tue, 28 May, 2019, 18:46 renaud hedde,  wrote:

> Ok,
>
> After read cloud function request['header']
>
> x-forwarded-for, fastly-client-ip display my ipAdress, good !
>
> I test my ip with https://ipinfo.io and my city display, good as well !
>
> However google cloud functions
>
> X-AppEngine-Country is still US, bad :(
>
>
> I don't understand why google don't use x-forwarded-for *and/or* not able
> to located my ip (maybe google IP database is not updated ?)
>
> best regards
>
> renaud
>
>
> Le mardi 28 mai 2019 05:20:36 UTC+2, gjs a écrit :
>>
>> Hi,
>>
>> Try examining request headers eg
>>
>> header X-AppEngine-Country = AU
>> header X-AppEngine-City = sydney
>>
>>
>> Regards
>>
>>
>> On Tuesday, May 28, 2019 at 3:00:30 AM UTC+10, renaud hedde wrote:
>>>
>>> Hi,
>>>
>>> I'm working on cloud function projet with nodejs express
>>>
>>> I'm trying to get the request user city location.
>>>
>>> My request coming from france but every test I get the google US
>>> "mountain view" location
>>>
>>> I'm trying 3 differents technique to get ip
>>>
>>>- req.connection.remoteAddress
>>>- x-appengine-user-ip
>>>- x-forwarded-for
>>>
>>> Also  I config express with* app.set('trust proxy', true);*
>>>
>>> But anycase I got google server IP instead request user ip ?
>>>
>>> many thanks
>>>
>>> renaud
>>>
>>> --
> 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/a4e3891f-0e01-447c-882f-f40df0b13f2c%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/CABSg%2B_7%3DXquRmASa29%2B9jygeR3%2BWF1GyPVWiEgN4Yz-vrUaQLg%40mail.gmail.com.


[google-appengine] IAM permission for cloudbuild from a different project

2018-10-11 Thread Prashanth Acharya
Hi,
   I have a source code repository in Project 'A'
   I want to use it in Project 'B's Cloud build trigger(cloudbuild.yaml in 
repo)
   Which user/role do i need to make this work?

-- 
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/d1e58e3c-6ef1-49ef-af55-7270097cf02c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Google App Engine is slow to deploy, hangs on "Updating service [someproject]..."

2018-10-08 Thread Prashanth Acharya
Hi Katayoon,
   The app tries to connect to redis on startup.
I realised that redis was in a different region hence unable to 
connect. 
Would that be the cause of long delays during deployment?


On Monday, October 8, 2018 at 11:47:30 PM UTC+5:30, Katayoon (Cloud 
Platform Support) wrote:
>
> Hi Prashanth,
>
> As DeWitt mentioned, having a delay around 6 minutes median (50th 
> percentile) for a new version of App Engine Flex. deployment is the 
> expected behavior since when you deploy your first application to the 
> flexible environment, your virtual machine (VM) and other infrastructure 
> are set up. 
>
> In your case, 45 minutes is too long and it seems something is 
> misconfigured. So, I recommend to double check if you deploy each service 
> with a separate app.yaml file 
> <https://cloud.google.com/appengine/docs/flexible/ruby/testing-and-deploying-your-app#deploying_multiple_services>
>  
> and if the issue persists, you may report the issue to the Issue Tracker 
> <https://cloud.google.com/support/docs/issue-trackers> and provide us 
> with the redacted output of the deploy command you are using (with the 
> --verbosity tag set to debug) along with the output of the “gcloud info 
> --anonymize” command so that we would be able investigate the root cause of 
> the issue.
>
>
>
>

-- 
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/f34023fe-7631-4b69-a983-f4f3cdad9c55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Google App Engine is slow to deploy, hangs on "Updating service [someproject]..."

2018-10-08 Thread Prashanth Acharya
Is there any updated. I have Rails flex instances timeout after 45mins( 2 
services).

On Tuesday, December 12, 2017 at 11:07:43 PM UTC+5:30, DeWitt Clinton wrote:
>
> Hi all,
>
> I’m on the App Engine team and I agree, flexible deployments are currently 
> too slow. The observations in this thread generally match our own: 
> Deploying a new version of an app takes around six minutes median (50th 
> percentile), with tail spikes several times that (99th percentile). 
> Language choice or app size isn’t a factor, as these setup costs are 
> independent of the runtime or code being deployed. 
>
> For many apps, where production versions are pushed via long-running, 
> asynchronous CI/CD pipelines, the exact timing may not matter so much. But 
> for everyone who depends on app deployments for development purposes, this 
> is too much.
>
> For those cases, we are testing an improved deployment flow that will let 
> you update an existing version in-place in around 150 seconds median. We 
> hope to release the fast in-place updates for everyone next month, but if 
> you’d like to help us test it out a little sooner please tell me your 
> project id here 
> 
>  
> and I’ll whitelist it.
>
> If you miss this signup, don’t worry, we plan to turn faster in-place 
> updates on for all projects by default in the new year.
>
> Thanks!
>
> -DeWitt
>
>
> On Tuesday, November 21, 2017 at 12:46:32 PM UTC-8, Gunar Cassiano Gessner 
> wrote:
>>
>> Speaking from experience here.
>> Just move on.
>> Google App Engine (esp. Flexible Engine) is not worthy of your time.
>>
>> Take care,
>> @gunar
>>
>> On Tue, Nov 21, 2017 at 1:24 AM, Vijay M  wrote:
>>
>>> I have been struggling with the same issue. I tried deploying a very 
>>> simple app and waited for several minutes before the process timed out. I 
>>> even ran into the same timeout issue with Google's own samples from  
>>>
>>> https://github.com/GoogleCloudPlatform/python-docs-samples/
>>> appengine/flexible/hello_world
>>>
>>> Coming from AWS, it has been very frustrating working with GCP. One more 
>>> day of this and I am going back to AWS. 
>>>
>>> On Thursday, September 29, 2016 at 12:48:26 PM UTC-7, Kevin Lau wrote:


 Is there a faster way to deploy an app? Google App Engine is slow to 
 deploy, hangs on "Updating service [someproject]..." I am using a flexible 
 environment with PHP.

>>> -- 
>>> 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/hZMEkmmObDU/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, 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/0c5f7fed-3551-4426-88e4-1383b4151084%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/a5aa631d-0c5f-43ce-ae71-54b3080c49dc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] When will we have Google App Engine for .Net

2013-09-11 Thread Prashanth Tondapu
Hi, I am a big fan of Google and Google services. I am a .net developer and 
have developed a website www.auditiononline.in. This is primarily based on 
 Youtube embed video content and is currently hosted on Windows azure. The 
database is pretty small as of now.. and the traffic is next to nil. and I 
am charged atleast 6$. One of my friend used Google App Engine for his site 
and he said this kind of charges appeared for him when he had almost 1000 
consistent Users.

Really would appreciate if google launches app engine for .Net as soon as 
possible.

Thanks,
Prashanth

-- 
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 http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Received SMS verification code, how do I enter it to verify my account?

2011-08-15 Thread Prashanth
If you have a verification code you can use the link below to verify your 
account (just replace  with the actual number you used to 
receive the verification code, and don't forgot the country code):

appengine.google.com/permissions/smsverify?phone_number=%2B

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/4drmVWltXe4J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Inequality Filters on a date and a number

2011-02-01 Thread Prashanth
Thanks Jeff and Wim for the responses.

I missed out giving the number of records in the datastore.
The datastore has ~1 million records and ever increasing.
The solution which we have now is, get all the records greater than
the input date [most restrictive] in a query and then loop thru the
records for records greater than x_items.
This solution hit performance badly. Hence looking for an alternative
solution.

Any suggestions please.
Thanks for reading this.

On Feb 1, 11:05 pm, Jeff Schwartz  wrote:
> If you intend to make multiple calls passing the cursor back and forth
> between client and server then that would work but if you intend to do it
> all in one request then I think the poster of the original question would
> need to define how much data they were talking about which brings me back to
> what I suggested earlier which is: if you are talking about merely trivial
> amounts of data then it would work but if he is talking about anything more
> than merely trivial amounts of data then it wont work and another approach
> would be needed.
>
> Jeff
>
>  I'd prefer a neater package: begin a task that kicks of multiple queries to
> retrieve all the results - the tasks can use a cursor. When the tasks have
> completed their work
>
> On Tue, Feb 1, 2011 at 12:28 PM, Wim den Ouden  wrote:
>
>
>
>
>
>
>
>
>
> > no, no, first the query on is item_names and more than x_items,
> > then a loop on the result from this query (for items in resultquery:)
> > if some_input_date > date: append to list
> > when ready show list
>
> > you can play with fetch(..) to get optimum speed and cpu usage.
> > ofcourse not a top solution, but it works till??
> > gr
> > wim
>
> > 2011/2/1 Jeff Schwartz :
> > > This would require 2 inequality filters so no luck.
>
> > > On Tue, Feb 1, 2011 at 7:17 AM, Prashanth 
> > wrote:
>
> > >> Hi,
>
> > >> Am trying to query my Google App Engine datastore [Python], which has
> > >> a item_name, manufacturing_date and number_of_items_shipped.
> > >> The scenario:
> > >> Get all the item_names which has been shipped more than x_items [user
> > >> input] and manufactured after some_input_date [user input].
> > >> Basically, kind of inventory check.
>
> > >> But due to restrictions on queries in GAE, am not able to do this.
>
> >http://code.google.com/appengine/docs/python/datastore/queries.html#R...
>
> > >> I tried searching on the internet for this issue. But, no luck till
> > >> now. Did you come across this issue, if so, were you able to resolve
> > >> this? Please let me know.
>
> > >> Also in Google I/O 2010, "Next Gen Queries" [http://www.youtube.com/
> > >> watch?v=ofhEyDBpngM#t=3m17s], Alfred Fuller mentioned that they are
> > >> going to remove this restriction soon. Its been more than 8 months,
> > >> but this restriction is in place even now. Makes life very difficult.
>
> > >> Appreciate if anyone can post an answer if they were able to
> > >> circumvent this restriciton.
> > >> Thanks a lot.
>
> > >> Regards,
> > >> Prashanth.
>
> > >> --
> > >> You received this message because you are subscribed to the Google
> > Groups
> > >> "Google App Engine" group.
> > >> To post to this group, send email to google-appengine@googlegroups.com.
> > >> To unsubscribe from this group, send email to
> > >> google-appengine+unsubscr...@googlegroups.com > >>  e...@googlegroups.com>
> > .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/google-appengine?hl=en.
>
> > > --
> > > Jeff Schwartz
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google App Engine" group.
> > > To post to this group, send email to google-appengine@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-appengine+unsubscr...@googlegroups.com > >  e...@googlegroups.com>
> > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine?hl=en.
>
> > --
> > gr
> > Wim den Ouden
> > Custom applications,https://e-comm.appspot.com/
> > Free open source E-commerce/E-bookkeeping/E-business framework (web)
> > apps,http://code.google.com/p/relat/
> > Gae developer tips,http://code.google.com/p/relat/wiki/gaetips
>
> > --
> > You recei

[google-appengine] Inequality Filters on a date and a number

2011-02-01 Thread Prashanth
Hi,

Am trying to query my Google App Engine datastore [Python], which has
a item_name, manufacturing_date and number_of_items_shipped.
The scenario:
Get all the item_names which has been shipped more than x_items [user
input] and manufactured after some_input_date [user input].
Basically, kind of inventory check.

But due to restrictions on queries in GAE, am not able to do this.
http://code.google.com/appengine/docs/python/datastore/queries.html#Restrictions_on_Queries

I tried searching on the internet for this issue. But, no luck till
now. Did you come across this issue, if so, were you able to resolve
this? Please let me know.

Also in Google I/O 2010, "Next Gen Queries" [http://www.youtube.com/
watch?v=ofhEyDBpngM#t=3m17s], Alfred Fuller mentioned that they are
going to remove this restriction soon. Its been more than 8 months,
but this restriction is in place even now. Makes life very difficult.

Appreciate if anyone can post an answer if they were able to
circumvent this restriciton.
Thanks a lot.

Regards,
Prashanth.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] website for testing

2009-05-13 Thread Prashanth Mylvarabatla
I would like to run some jmeter tests. Does anybody have a site that needs
to tested.

I need the index.html path
IP address of the server .

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] web app example not running

2009-04-09 Thread prashanth

I am trying to run the web app framework, the hello world program as
specified in the example but nothing shows up.

Here is the code for helloworld py

from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
class MainPage(webapp.RequestHandler):
def get(self):
self.response.headers['Content-Type'] = 'text/plain'
self.response.out.write('Hello, webapp World!')
application = webapp.WSGIApplication(
 [('/', MainPage)],debug=True)
def main():
run_wsgi_app(application)
if __name__ == "__main__":
main()

Here is the log when I start the server ..dev_appserver.py
helloworld

C:\Program Files\Google\google_appengine\google\appengine\tools
\appcfg.py:40: De
precationWarning: the sha module is deprecated; use the hashlib module
instead
  import sha
INFO 2009-04-08 17:14:29,585 appengine_rpc.py] Server:
appengine.google.com
INFO 2009-04-08 17:14:29,601 appcfg.py] Checking for updates to
the SDK.
WARNING  2009-04-08 17:14:30,740 datastore_file_stub.py] Could not
read datastor
e data from c:\users\geetha\appdata\local\temp\dev_appserver.datastore
WARNING  2009-04-08 17:14:30,740 datastore_file_stub.py] Could not
read datastor
e data from c:\users\geetha\appdata\local\temp
\dev_appserver.datastore.history
WARNING  2009-04-08 17:14:30,786 dev_appserver.py] Could not
initialize images A
PI; you are likely missing the Python "PIL" module. ImportError: No
module named
 _imaging
INFO 2009-04-08 17:14:30,802 dev_appserver_main.py] Running
application hell
oworld on port 8080: http://localhost:8080
INFO 2009-04-08 17:14:44,608 dev_appserver.py] "GET / HTTP/1.1"
200 -
INFO 2009-04-08 17:14:44,608 dev_appserver_index.py] Updating C:
\helloworld\
index.yaml


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: dev_appserver.py error

2009-04-09 Thread prashanth

OK THIS WORKS FOR ME NOW

On Apr 9, 4:10 pm, prashanth  wrote:
> I am using python3.0 and not 2.5 , just wanted to check if this is ok
>
> On Apr 8, 1:18 pm, prashanth  wrote:
>
>
>
> > I am trying to run the Helloworld program as a first program but keep
> > running into this error, Any ideas or suggestions.
>
> > I have gone throught the staeps as described for the helloworld
> > program
>
> > C:\Python30>dev_appserver.py helloworld
> > Traceback (most recent call last):
> >   File "C:\Program Files\Google\google_appengine\dev_appserver.py",
> > line 60, in
> > 
> >     run_file(__file__, globals())
> >   File "C:\Program Files\Google\google_appengine\dev_appserver.py",
> > line 57, in
> > run_file
> >     execfile(script_path, globals_)
> > NameError: global name 'execfile' is not defined- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] Re: dev_appserver.py error

2009-04-09 Thread prashanth

I am using python3.0 and not 2.5 , just wanted to check if this is ok

On Apr 8, 1:18 pm, prashanth  wrote:
> I am trying to run the Helloworld program as a first program but keep
> running into this error, Any ideas or suggestions.
>
> I have gone throught the staeps as described for the helloworld
> program
>
> C:\Python30>dev_appserver.py helloworld
> Traceback (most recent call last):
>   File "C:\Program Files\Google\google_appengine\dev_appserver.py",
> line 60, in
> 
>     run_file(__file__, globals())
>   File "C:\Program Files\Google\google_appengine\dev_appserver.py",
> line 57, in
> run_file
>     execfile(script_path, globals_)
> NameError: global name 'execfile' is not defined
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---



[google-appengine] dev_appserver.py error

2009-04-08 Thread prashanth

I am trying to run the Helloworld program as a first program but keep
running into this error, Any ideas or suggestions.

I have gone throught the staeps as described for the helloworld
program


C:\Python30>dev_appserver.py helloworld
Traceback (most recent call last):
  File "C:\Program Files\Google\google_appengine\dev_appserver.py",
line 60, in

run_file(__file__, globals())
  File "C:\Program Files\Google\google_appengine\dev_appserver.py",
line 57, in
run_file
execfile(script_path, globals_)
NameError: global name 'execfile' is not defined

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~--~~~~--~~--~--~---