[google-appengine] Shared memcache not working on Nodejs

2017-04-17 Thread Srikanth Kakani
Hi,

I am trying out Shared memcache for my project (low volume right now). I am 
not able to connect to it with the following error:

Error when trying to fetch from memcache Error: socket timed out waiting on 
response. at timeoutHandler 
(/app/node_modules/memjs/lib/memjs/server.js:206:18) at Socket. 
(/app/node_modules/memjs/lib/memjs/server.js:225:9) at Socket.g 
(events.js:292:16) at emitNone (events.js:91:20) at Socket.emit 
(events.js:185:7) at Socket._onTimeout (net.js:342:8) at ontimeout 
(timers.js:365:14) at tryOnTimeout (timers.js:237:5) at Timer.listOnTimeout 
(timers.js:207:5

 MemJS: Server  failed after (2) retries with error - 
socket timed out waiting on response.


Code I am connecting to memcached is from the documentation: 
https://cloud.google.com/appengine/docs/flexible/nodejs/using-redislabs-memcache


// Environment variables are defined in app.yaml.
let MEMCACHE_URL = process.env.MEMCACHE_URL || '127.0.0.1:11211';

if (process.env.USE_GAE_MEMCACHE) {
  MEMCACHE_URL = 
`${process.env.GAE_MEMCACHE_HOST}:${process.env.GAE_MEMCACHE_PORT}`;
}

const mc = memjs.Client.create(MEMCACHE_URL);


The memcache url I get is memcache:11211

Any help would be appreciated.

Thanks and Regards,
Srikanth

-- 
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/03ed9267-a924-4ebe-8ff9-0682609da341%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Exception after moving from master/slave to HRD

2015-07-16 Thread Srikanth Hugar
Hello,

  I have the appengine app and wanted to migrate to HRD. Migration is 
successful.
But when i try to use the API, its gives the error.

Please find the steps fallowed.

1. Downloaded the app from old app (appcfg.cmd -A oldapp -V 2 download_app 
PATH )
2. Uploaded app to new HRD app (appcfg.cmd update 
APP_DIRECTORYY_DOWNLOADED_FROM_PREVIOUS_REQUEST

But when i try to use the app, it gives me error:

java.lang.NoClassDefFoundError: 
com/google/appengine/api/images/ImagesServiceFactory


What could be the problem? Am i doing something wrong here?


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 post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/03ff9b1a-9f08-475d-bc48-cb28f0e59a3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Query Cursor

2013-11-07 Thread Srikanth Krishnamurthy
Vinny,

Thanks a lot for responding to my question and it was really helpful. I
appreciate it. Thanks once again. I was using JDO query cursors mentioned
in the app engine documentation and hence i had the problem however i have
not tried whether the same EXQ is being produced in the app enging
datastore queries. Kindly let me know if i can check the same condition
like i check for null and empty even for datastore queries too if that
happens for me once i try with it.

Thanks a lot for your support,
Srikanth


On Thu, Nov 7, 2013 at 11:18 AM, Vinny P vinny...@gmail.com wrote:

 On Wed, Nov 6, 2013 at 7:01 AM, srk srikanth.krishnamur...@a-cti.com
  wrote:

 I was working with query cursors in gae and found a weird cursor value
 named 'ExQ' retured by the query when there were no additional records. I
 am expecting a null or empty cursor when there are no records that is to be
 fetched from the datastore. can someone kindly help me to get rid of the 3
 letter String and obtain a null or empty string from the query. i am using
 jdo query cursors.



 Are you using any helper libraries to handle these JDO queries? If so,
 what happens if you use the low level Java datastore API to process cursor
 queries?

 Anyway - as you noted in your post - *ExQ* is a notice that there are
 no more entities to return. It means functionally the same thing as a null
 or empty cursor response. Presumably your code is already checking for a
 null or empty query string; you can check for this value as well.


 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.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/awGzxM58cRQ/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.


-- 
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] Query Cursor

2013-11-07 Thread Srikanth Krishnamurthy
Vinny,

Thanks a lot for the update. I will do that meanwhile Please check and let
me know if that happens for datastore queries for you after you try it. You
are great. Thanks once again.

Srikanth


On Fri, Nov 8, 2013 at 9:03 AM, Vinny P vinny...@gmail.com wrote:

 On Thu, Nov 7, 2013 at 9:52 AM, Srikanth Krishnamurthy 
 srikanth.krishnamur...@a-cti.com wrote:

 Let me know if i can check the same condition like i check for null and
 empty even for datastore queries too if that happens for me once i try with
 it.



 Yes, you can check for *ExQ* in the same manner as null or empty cursor
 strings.


 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.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/awGzxM58cRQ/unsubscribe
 .
 To unsubscribe from this group and all its topics, 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.


-- 
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.


[google-appengine] Re: Unable to use Google App Engine Remote API behind proxy

2013-04-24 Thread srikanth ande
Hi, 

I am getting the below error message when i am trying to get data from 
google datastore and i am behind corporate proxy. 

Error message :

Apr 24, 2013 6:58:03 PM 
com.google.appengine.repackaged.org.apache.commons.httpclient.HttpMethodDirector
 
executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing 
request: Connection timed out: connect
Apr 24, 2013 6:58:03 PM 
com.google.appengine.repackaged.org.apache.commons.httpclient.HttpMethodDirector
 
executeWithRetry
INFO: Retrying request


Please help me out from this issue, I want this issue be resolved. 


Thanks,
Srikanth

On Wednesday, 24 April 2013 00:59:35 UTC+5:30, srikanth ande wrote:

 Hi,

 I am trying to access the Google DataStore using remote API behind proxy. 
 But i am not able to work on that. It is giving an exception Connection 
 Refused. The same code is running fine when i am out of proxy. Could any 
 one please let me know how to use remote API behind proxy? I am very much 
 annoyed with this issue as it stopped all my work and i developed my entire 
 code, but now it is not working behind proxy. I developed my code in Java. 
 Please help me out from this 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 http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Unable to use Google App Engine Remote API behind proxy

2013-04-23 Thread srikanth ande
Hi,

I am trying to access the Google DataStore using remote API behind proxy. 
But i am not able to work on that. It is giving an exception Connection 
Refused. The same code is running fine when i am out of proxy. Could any 
one please let me know how to use remote API behind proxy? I am very much 
annoyed with this issue as it stopped all my work and i developed my entire 
code, but now it is not working behind proxy. I developed my code in Java. 
Please help me out from this 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 http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Having a problem accessing Remote API for Java via proxy

2013-04-17 Thread srikanth ande
Hi Moga,

Even i am facing the issue now. Did you get any solution for this issue?


On Wednesday, 21 November 2012 10:10:18 UTC+5:30, moga wrote:

 I am writing a program to access from a client environment to Remote API. 
 However, the remote access via proxy server is not working properly.
 Would you please see where the problem is?

 (reference)

 https://developers.google.com/appengine/docs/java/tools/remoteapi#Configuring_Remote_API_on_the_Client

 Below is the program.

System.setProperty(http.proxyHost, proxy.com);
System.setProperty(http.proxyPort, 8080);
System.setProperty(https.proxyHost, proxy.com);
System.setProperty(https.proxyPort, 8443);
RemoteApiOptions options = new RemoteApiOptions()
.server(your_app_id.appspot.com, 443)
.credentials(username, password);
RemoteApiInstaller installer = new RemoteApiInstaller();
installer.install(options);
installer.uninstall();

 It works fine when (1)accessing by Remote API(not via proxy server),
 (2)accessing via proxy server by URL Connection.  Thus, my guess is 
 the problem is the proxy server setting to Remote API.


-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] google app engine error

2012-09-08 Thread k srikanth
error getting saying I'm compiling with minor version, how can I avoid that

-- 
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/-/QcjTGZjLIPEJ.
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.



Re: [appengine-java] Re: Chat Time!

2011-11-13 Thread srikanth chakrala
hi,are you working on java

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



[appengine-java] Joins Concept in GQL Using Java

2011-11-13 Thread srikanth chakrala
Does any body know how to implement joins in GQL

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



[appengine-java] Java App CSV file generator

2010-12-06 Thread Srikanth PB
I was using the python bulk loader for java deployed app , the problem
i am facing is that am unable to upload the data due to csv format
issues , and also when i download the existing datastore into a csv
file i get junk data like
config name , app id and other things , although I am able to retrieve
the data It is very confusing to look my data in that generated file ,
I want the exact format of csv file , so that I can use the same to
upload data . I have around 30 mb of xls data which i can convert into
csv and upload . Please help thanks in advance

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



[appengine-java] Deploying Google App Engine application with my own domain

2010-05-10 Thread Srikanth Gade
Hi,

I have only bought a domain name.
I want to deploy App Engine application with that domain.
Do i need to buy with Google Apps account to deploy applications to my
domain?

Thanks  Regards,
Srikanth

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



[google-appengine] mapping www.mydomain.com to my-app-id.appspot.com

2009-07-27 Thread Srikanth

This must have been discussed number of times.. but honestly i did so
much googling around but it is impossible find a proper answer.

First i built the app using appengine. Then I went to Versions and
tried to Add domain, which led me to buy the domain using google apps.
Once I bought it, i'm lost totally. How do I map my appengine
application to www.mydomain.com. I'm not asking about naked domain.
that is the least of my problem.

I can see myapp.appspot.com as a service under google apps account.
But, how do I map it to www.mydomain.com?

Please advice.


- Srikanth

--~--~-~--~~~---~--~~
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: mapping www.mydomain.com to my-app-id.appspot.com

2009-07-27 Thread Srikanth

Thank you very much. It worked.

On Jul 27, 10:02 am, Nick Johnson (Google) nick.john...@google.com
wrote:
 Hi Srikanth,

 Follow the instructions 
 here:http://code.google.com/appengine/articles/domains.html

 When asked to specify a subdomain, enter 'www'.

 -Nick Johnson



 On Sun, Jul 26, 2009 at 7:07 AM, Srikanth sriky...@gmail.com wrote:

  This must have been discussed number of times.. but honestly i did so
  much googling around but it is impossible find a proper answer.

  First i built the app using appengine. Then I went to Versions and
  tried to Add domain, which led me to buy the domain using google apps.
  Once I bought it, i'm lost totally. How do I map my appengine
  application towww.mydomain.com. I'm not asking about naked domain.
  that is the least of my problem.

  I can see myapp.appspot.com as a service under google apps account.
  But, how do I map it towww.mydomain.com?

  Please advice.

  - Srikanth

 --
 Nick Johnson, Developer Programs Engineer, App Engine
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---